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

In This Topic
    GetProperty(String) Method
    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 StyledPropertyCollection.StyledProperty.
    See Also