Class TreeViewColumnHeader
Represents the class for TreeView Column header
Inheritance
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class TreeViewColumnHeader : ButtonBase
Constructors
TreeViewColumnHeader()
Initializes a new instance of the TreeViewColumnHeader class.
Declaration
public TreeViewColumnHeader()
Fields
ColumnProperty
Represents the Column Dependency Property
Declaration
public static readonly DependencyProperty ColumnProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IsPressedHeaderProperty
Represents the IsPressedHeader Dependency Property
Declaration
public static readonly DependencyProperty IsPressedHeaderProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
RoleProperty
Represents the Role Dependency Property
Declaration
public static readonly DependencyProperty RoleProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
Column
Gets the column.
Declaration
public TreeViewColumn Column { get; }
Property Value
Type | Description |
---|---|
TreeViewColumn | The column. |
IsPressedHeader
Gets or sets a value indicating whether this instance is pressed header.
Declaration
public bool IsPressedHeader { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if this instance is pressed header; otherwise, false. |
Role
Gets the role.
Declaration
public TreeViewColumnHeaderRole Role { get; }
Property Value
Type | Description |
---|---|
TreeViewColumnHeaderRole | The role of header. |
SortDirection
Gets or sets a value indicating sort direction of the corresponding column.
Declaration
public SortDirection SortDirection { get; set; }
Property Value
Type | Description |
---|---|
SortDirection | Specifies the direction of a sort operation. The default value is None. |
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
OnLostKeyboardFocus(KeyboardFocusChangedEventArgs)
Called when an element loses keyboard focus.
Declaration
protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.KeyboardFocusChangedEventArgs | e | The event data for the System.Windows.IInputElement.LostKeyboardFocus event. |
OnMouseEnter(MouseEventArgs)
Provides class handling for the System.Windows.Controls.Primitives.ButtonBase.ClickMode routed event that occurs when the mouse enters this control.
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseEventArgs | e | The event data for the System.Windows.Input.Mouse.MouseEnter event. |
OnMouseLeave(MouseEventArgs)
Provides class handling for the System.Windows.UIElement.MouseLeave routed event that occurs when the mouse leaves an element.
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseEventArgs | e | The event data for the System.Windows.Input.Mouse.MouseLeave event. |
OnMouseLeftButtonDown(MouseButtonEventArgs)
Provides class handling for the System.Windows.UIElement.MouseLeftButtonDown routed event that occurs when the left mouse button is pressed while the mouse pointer is over this control.
Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e | The event data. |
OnMouseLeftButtonUp(MouseButtonEventArgs)
Provides class handling for the System.Windows.UIElement.MouseLeftButtonUp routed event that occurs when the left mouse button is released while the mouse pointer is over this control.
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e | The event data. |
OnMouseMove(MouseEventArgs)
Provides class handling for the System.Windows.UIElement.MouseMove routed event that occurs when the mouse pointer moves while over this element.
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseEventArgs | e | The event data. |
OnRenderSizeChanged(SizeChangedInfo)
Called when the rendered size of a control changes.
Declaration
protected override void OnRenderSizeChanged(SizeChangedInfo sizeInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.SizeChangedInfo | sizeInfo | Specifies the size changes. |