Class SortButton
A custom button control that represents and toggles a sorting direction.
Inheritance
System.Object
SortButton
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class SortButton : Button
Constructors
SortButton()
Initializes a new instance of the SortButton class.
Declaration
public SortButton()
Fields
SortButtonStateProperty
Identifies the SortButtonState dependency property.
Declaration
public static readonly DependencyProperty SortButtonStateProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
Properties
SortButtonState
Gets or sets the current sorting direction state of the button.
Declaration
public SortingDirection SortButtonState { get; set; }
Property Value
| Type |
|---|
| SortingDirection |
Methods
OnApplyTemplate()
Invoked whenever application code or internal processes call ApplyTemplate.
Declaration
public override void OnApplyTemplate()
OnClick()
Handles the click event for the SortButton.
Declaration
protected override void OnClick()