[]
Represents an individual GcListBox column header.
[TemplateVisualState(Name = "Normal", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Pressed", GroupName = "CommonStates")]
[TemplateVisualState(Name = "MouseOver", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Unsorted", GroupName = "SortStates")]
[TemplateVisualState(Name = "SortAscending", GroupName = "SortStates")]
[TemplateVisualState(Name = "SortDescending", GroupName = "SortStates")]
public class ListHeader : ContentControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild
<TemplateVisualState(Name:="Normal", GroupName:="CommonStates")>
<TemplateVisualState(Name:="Pressed", GroupName:="CommonStates")>
<TemplateVisualState(Name:="MouseOver", GroupName:="CommonStates")>
<TemplateVisualState(Name:="Unsorted", GroupName:="SortStates")>
<TemplateVisualState(Name:="SortAscending", GroupName:="SortStates")>
<TemplateVisualState(Name:="SortDescending", GroupName:="SortStates")>
Public Class ListHeader
Inherits ContentControl
Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild
This class can be accessed or used in XAML only through GcListBox styles and templates.
Specifying content for a GcListBox in XAML styles is uncommon, but it is possible. Typically, content is defined by the data associated with a GcListBox, and is thus left unset in styles.
| Name | Description |
|---|---|
| ListHeader() | Initializes a new instance of the ListHeader class. |
| Name | Description |
|---|---|
| SeparatorBrushProperty | Identifies the SeparatorBrush DependencyProperty. |
| ShowSeparatorProperty | Identifies the ShowSeparator DependencyProperty. |
| Name | Description |
|---|---|
| SeparatorBrush | Gets or sets the Brush used to paint the column header separator lines. This is a dependency property. |
| ShowSeparator | Gets or sets a value indicating whether the column header separator lines are visible. This is a dependency property. |
| Name | Description |
|---|---|
| OnApplyTemplate() | When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate(). |
| OnContentChanged(object, object) | Called when the value of the Content property changes. |
| OnLostMouseCapture(MouseEventArgs) | Called before the LostMouseCapture event occurs to provide handling for the event in a derived class without attaching a delegate. |
| OnMouseEnter(MouseEventArgs) | Called before the MouseEnter event occurs. |
| OnMouseLeave(MouseEventArgs) | Called before the MouseLeave event occurs. |
| OnMouseLeftButtonDown(MouseButtonEventArgs) | Called before the MouseLeftButtonDown event occurs. |
| OnMouseLeftButtonUp(MouseButtonEventArgs) | Called before the MouseLeftButtonUp event occurs. |
| OnMouseMove(MouseEventArgs) | Called before the MouseMove event occurs. |