ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid Namespace / C1DataGridFilterHelper Class / GetPropertyValue<T> Method
The object to which the property path will be applied.
The property path.

In This Topic
    GetPropertyValue<T> Method
    In This Topic
    Gets the value of a property from the name of the property for a specified object.
    Syntax
    'Declaration
     
    
    Public Shared Function GetPropertyValue(Of T)( _
       ByVal source As Object, _
       ByVal propertyPath As String _
    ) As T
    public static T GetPropertyValue<T>( 
       object source,
       string propertyPath
    )

    Parameters

    source
    The object to which the property path will be applied.
    propertyPath
    The property path.

    Type Parameters

    T

    Return Value

    The resulting object after applying the property path in the specified object.
    Remarks
    It supports needed and indexed property paths.
    See Also