[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.ListHeader

ListHeader Class

Represents an individual GcListBox column header.

Namespace: GrapeCity.Wpf.SpreadSheet.CellType.Editors
Assembly: GrapeCity.Wpf.SpreadSheet.CellType.dll
Syntax
[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
Remarks

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.

Constructors

Name Description
ListHeader()

Initializes a new instance of the ListHeader class.

Fields

Name Description
SeparatorBrushProperty

Identifies the SeparatorBrush DependencyProperty.

ShowSeparatorProperty

Identifies the ShowSeparator DependencyProperty.

Properties

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.

Methods

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.