Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / StyleInfo Class / IsPropertySet Method
SheetStyleProperty class property for which to check setting
Example


In This Topic
    IsPropertySet Method (StyleInfo)
    In This Topic
    Gets whether the specified style property is set.
    Syntax
    'Declaration
     
    
    Public Overridable Function IsPropertySet( _
       ByVal prop As SheetStyleProperty _
    ) As Boolean
    'Usage
     
    
    Dim instance As StyleInfo
    Dim prop As SheetStyleProperty
    Dim value As Boolean
     
    value = instance.IsPropertySet(prop)
    public virtual bool IsPropertySet( 
       SheetStyleProperty prop
    )

    Parameters

    prop
    SheetStyleProperty class property for which to check setting

    Return Value

    Boolean: true if property is set; false otherwise
    Example
    This example creates three objects: two StyleInfo objects and a SheetStyleProperty. The ForeColor and Font properties of the first StyleInfo object are set, and the BackColor of the second. The second object is then merged with the first. Then a boolean value returns whether the BackColor property has, in fact, been set after the merge.
    See Also