Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartItem Class / GetPropertyValue Method
The property whose value to retrieve.
The value returned in the case where key is not explicitly defined.


In This Topic
    GetPropertyValue Method (SmartItem)
    In This Topic
    Retrieves the value of the specified property.
    Syntax
    'Declaration
     
    Protected Function GetPropertyValue( _
       ByVal key As Object, _
       ByVal defaultValue As Object _
    ) As Object
    'Usage
     
    Dim instance As SmartItem
    Dim key As Object
    Dim defaultValue As Object
    Dim value As Object
     
    value = instance.GetPropertyValue(key, defaultValue)
    protected object GetPropertyValue( 
       object key,
       object defaultValue
    )

    Parameters

    key
    The property whose value to retrieve.
    defaultValue
    The value returned in the case where key is not explicitly defined.

    Return Value

    An object representing the value of the property. In the case where key is not explicitly defined, defaultValue will be returned.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also