IsEmpty Property (StyleInfo)
Gets whether there are no style settings set.
'Declaration
Public Overridable ReadOnly Property IsEmpty As Boolean
'Usage
Dim instance As StyleInfo
Dim value As Boolean
value = instance.IsEmpty
public virtual bool IsEmpty {get;}
Property Value
Boolean:
true if there are no style settings;
false otherwise
This example creates a StyleInfo object and adjusts the alignment of the text in the first cell. Whether the object is empty is returned to a list box, along with its Parent NamedStyle, if it has one.