TreeView for WinForms | ComponentOne
C1.Win.Themes Namespace / StyledPropertyCollection Class / GetProperty Method
Styled property name.

In This Topic
    GetProperty Method (StyledPropertyCollection)
    In This Topic
    Gets value of the specified styled property.
    Syntax
    'Declaration
     
    
    Public Function GetProperty( _
       Optional ByVal name As String _
    ) As Object
    public object GetProperty( 
       string name
    )

    Parameters

    name
    Styled property name.

    Return Value

    Styled property value.
    Exceptions
    ExceptionDescription
    The exception that is thrown when the key specified for accessing an element in a collection does not match any key in the collection.
    The exception that is thrown when trying to use uninitialized C1.Win.Themes.StyledPropertyCollection.StyledProperty.
    See Also