WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridDataSortColumn - WPF API Reference | Syncfusion GridDataControl. ">

    Show / Hide Table of Contents

    Class GridDataSortColumn

    Provides the data for Sorting columns in GridDataControl.

    Inheritance
    System.Object
    GridDataSortColumn
    Namespace: Syncfusion.Windows.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public class GridDataSortColumn : DependencyObject

    Constructors

    GridDataSortColumn()

    Initializes a new instance of the GridDataSortColumn class.

    Declaration
    public GridDataSortColumn()

    Fields

    ColumnNameProperty

    DependencyProperty for ColumnName property.

    Declaration
    public static readonly DependencyProperty ColumnNameProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    CustomComparerProperty

    Declaration
    public static readonly DependencyProperty CustomComparerProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    SortDirectionProperty

    DependencyProperty for SortDirection property.

    Declaration
    public static readonly DependencyProperty SortDirectionProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Properties

    ColumnName

    Gets or sets the name of the column.

    Declaration
    public string ColumnName { get; set; }
    Property Value
    Type Description
    System.String

    The name of the column.

    CustomComparer

    Gets / sets the custom comparer.

    Declaration
    public IComparer<object> CustomComparer { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IComparer<System.Object>

    SortDirection

    Gets or sets the sort direction.

    Declaration
    public ListSortDirection SortDirection { get; set; }
    Property Value
    Type Description
    System.ComponentModel.ListSortDirection

    The direction.

    Methods

    InitializeFrom(GridDataSortColumn)

    Initializes from another instance of GridDataSortColumn.

    Declaration
    public void InitializeFrom(GridDataSortColumn other)
    Parameters
    Type Name Description
    GridDataSortColumn other

    The other.

    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved