TreeView for WinForms | ComponentOne
C1.Win.Themes Namespace / StyledPropertyCollection Class / OnGetUninitializedProperty Method
Property name.

In This Topic
    OnGetUninitializedProperty Method (StyledPropertyCollection)
    In This Topic
    Called when trying to get an initialized property value.
    Syntax
    'Declaration
     
    
    Protected Overridable Function OnGetUninitializedProperty( _
       ByVal name As String _
    ) As Object
    protected virtual object OnGetUninitializedProperty( 
       string name
    )

    Parameters

    name
    Property name.

    Return Value

    Returns new value.
    Exceptions
    ExceptionDescription
    The exception that is thrown when trying to use uninitialized StyledPropertyCollection.StyledProperty.
    Remarks
    Ideally this should never happen. The property can be initialized here and return its new value.
    See Also