Gauges for WinForms | ComponentOne
C1.Win.C1Gauge.4.5.2 Assembly / C1.Win.C1Gauge Namespace / StyledPropertyCollection Class / GetProperty Method
Styled property name.

In This Topic
    GetProperty Method (StyledPropertyCollection)
    In This Topic
    Gets value of the specified styled property.
    Syntax
    'Declaration
     
    Public Function GetProperty( _
       Optional ByVal name As System.String _
    ) As System.Object
    public System.object GetProperty( 
       System.string name
    )

    Parameters

    name
    Styled property name.

    Return Value

    Styled property value.
    Exceptions
    ExceptionDescription
    The exception that is thrown when the key specified for accessing an element in a collection does not match any key in the collection.
    The exception that is thrown when trying to use uninitialized C1.Win.C1Gauge.StyledPropertyCollection.StyledProperty.
    See Also