Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / StyleInfo Class / IsEmpty Property
Example


In This Topic
    IsEmpty Property (StyleInfo)
    In This Topic
    Gets whether there are no style settings set.
    Syntax
    '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
    Remarks
    This property is available at run time only.
    Example
    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.
    See Also