TreeView for WinForms | ComponentOne
C1.Win.C1Themes 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.C1Themes.StyledPropertyCollection.StyledProperty.
    Remarks
    Ideally this should never happen. The property can be initialized here and return its new value.
    See Also