menu

WinUI

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SortButton - WinUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SortButton

    Represents a class that maintains the common functionalities of SortButton.

    Inheritance
    System.Object
    SortButton
    Namespace: Syncfusion.UI.Xaml.Grids
    Assembly: Syncfusion.Grid.WinUI.dll
    Syntax
    public class SortButton : Button

    Constructors

    SortButton()

    Initializes a new instance of SortButton class.

    Declaration
    public SortButton()

    Fields

    IconProperty

    Identifies the Syncfusion.UI.Xaml.Grid.SortButton.Icon dependency property.

    Declaration
    public static readonly DependencyProperty IconProperty
    Field Value
    Type
    Microsoft.UI.Xaml.DependencyProperty

    IsSortedProperty

    Dependency registration for IsSorted.

    Declaration
    public static readonly DependencyProperty IsSortedProperty
    Field Value
    Type
    Microsoft.UI.Xaml.DependencyProperty

    Properties

    Icon

    Gets or sets the UIElement of the SortButton.

    Declaration
    public UIElement Icon { get; set; }
    Property Value
    Type Description
    Microsoft.UI.Xaml.UIElement

    The Microsoft.UI.Xaml.UIElement of the SortButton.

    IsSorted

    Gets or sets a value indicating whether is it sorted or not.

    Declaration
    public bool IsSorted { get; set; }
    Property Value
    Type
    System.Boolean

    Methods

    OnApplyTemplate()

    Builds the visual tree for the SortButton when a new template is applied.

    Declaration
    protected override void OnApplyTemplate()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved