Version

HasStyle Property (Resource)

Indicates whether a Style object has been created.
Syntax
'Declaration
 
Public ReadOnly Property HasStyle As Boolean
public bool HasStyle {get;}

Property Value

Returns true when the Style object for the Style property has been created.
Remarks

Use this property to determine if an Style object has been created. Style objects in general are not created until the properties associated with them are accessed.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also