Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.PropertyGrid Namespace / PropertyItemCollection Class / SortBy Method
A name representing the sorting scheme.
A ListSortDirection representing the direction to use.


In This Topic
    SortBy Method
    In This Topic
    Sort the PropertyItem instances using the passed name and sort direction.
    Syntax
    'Declaration
     
    Public Sub SortBy( _
       ByVal name As String, _
       ByVal sortDirection As ListSortDirection _
    ) 
    'Usage
     
    Dim instance As PropertyItemCollection
    Dim name As String
    Dim sortDirection As ListSortDirection
     
    instance.SortBy(name, sortDirection)
    public void SortBy( 
       string name,
       ListSortDirection sortDirection
    )

    Parameters

    name
    A name representing the sorting scheme.
    sortDirection
    A ListSortDirection representing the direction to use.
    Requirements

    Target Platforms: Windows 11, Windows 10, 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