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

In This Topic
    OnGetUninitializedProperty Method (BaseStyle)
    In This Topic
    Called when trying to get an initialized property value.
    Syntax
    'Declaration
     
    
    Protected Overrides Function OnGetUninitializedProperty( _
       ByVal name As String _
    ) As Object
    protected override 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 C1.Win.Themes.StyledPropertyCollection.StyledProperty.
    Remarks
    Ideally this should never happen. The property can be initialized here and return its new value.
    See Also