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