[]
        
(Showing Draft Content)

C1.WPF.Grid.GridColumnHeaderCell

GridColumnHeaderCell Class

Visual column header

Inheritance
GridColumnHeaderCell
Implements
IDependencyObject
Namespace: C1.WPF.Grid
Assembly: C1.WPF.Grid.dll
Syntax
[StyleTypedProperty(Property = "PopupStyle", StyleTargetType = typeof(C1PopupBorder))]
[StyleTypedProperty(Property = "TitleStyle", StyleTargetType = typeof(TextBlock))]
[TemplatePart(Name = "Root", Type = typeof(GridColumnHeaderPanel))]
[TemplatePart(Name = "TitleLabel", Type = typeof(TextBlock))]
[TemplatePart(Name = "SortButton", Type = typeof(C1ToggleButton))]
[TemplatePart(Name = "OutlinesPanel", Type = typeof(StackPanel))]
[TemplatePart(Name = "OptionsDropDown", Type = typeof(C1DropDownButton))]
public class GridColumnHeaderCell : C1View, IDependencyObject

Constructors

Name Description
GridColumnHeaderCell()

Initializes a new instance of the GridColumnHeaderCell class.

Fields

Name Description
IsOptionsDropDownOpenProperty

Identifies the IsOptionsDropDownOpen dependency property.

MaxOutlineProperty

Identifies the MaxOutline dependency property.

OptionsDropDownContentProperty

Identifies the OptionsDropDownContent dependency property.

OptionsIconTemplateProperty

Identifies the OptionsIconTemplate dependency property.

OptionsMenuVisibilityProperty

Identifies the OptionsMenuVisibility dependency property.

OutlineBorderColorProperty

Identifies the OutlineBorderColor dependency property.

OutlineBorderWidthProperty

Identifies the OutlineBorderWidth dependency property.

OutlineColorProperty

Identifies the OutlineColor dependency property.

PopupStyleProperty

Identifies the PopupStyle dependency property.

ShowSortProperty

Identifies the ShowSort dependency property.

SortAscendingIconTemplateProperty

Identifies the SortAscendingIconTemplate dependency property.

SortDescendingIconTemplateProperty

Identifies the SortDescendingIconTemplate dependency property.

SortIconPositionProperty

Identifies the SortIconPosition dependency property.

SortIndeterminateIconTemplateProperty

Identifies the SortIndeterminateIconTemplate dependency property.

SortStateProperty

Identifies the SortState dependency property.

TitleAlignmentProperty

Identifies the TitleAlignment dependency property.

TitlePaddingProperty

Identifies the TitlePadding dependency property.

TitleProperty

Identifies the Title dependency property.

TitleStyleProperty

Identifies the TitleStyle dependency property.

WordWrapProperty

Identifies the WordWrap dependency property.

Properties

Name Description
IsOptionsDropDownOpen

Gets or sets whether the options drop-down is opened.

MaxOutline

Gets or sets the number of outlines.

OptionsDropDownContent

Gets or sets the content of the options drop-down.

OptionsIconTemplate

Gets or sets the icon template of the options drop-down.

OptionsMenuVisibility

Gets or sets the visibility of the options drop-down.

OutlineBorderColor

Gets or sets the color of the outline border.

OutlineBorderWidth

Gets or sets the width of the outline border.

OutlineColor

Gets or sets the color of the outline.

PopupStyle

Gets or sets the Style applied to the menu.

ShowSort

Gets or sets whether the grid should display sort indicators in the column headers.

SortAscendingIconTemplate

Gets or sets the sort ascending icon template.

SortDescendingIconTemplate

Gets or sets the sort descending icon template.

SortIconPosition

Gets or sets the sort icon position.

SortIndeterminateIconTemplate

Gets or sets the sort indeterminate icon template.

SortState

Gets or sets the sort state.

Title

Gets or sets the title of the column.

TitleAlignment

Gets or sets the alignment of the title inside the cell.

TitlePadding

Gets or sets the padding of the title of the column.

TitleStyle

Gets or sets the title style.

WordWrap

Gets or sets the line break mode of the title inside the cell.

Methods

Name Description
Dispose(bool)
OnApplyTemplate()
OnFontChanged()
OnMouseEnter(MouseEventArgs)
OnMouseLeave(MouseEventArgs)
OnOutlineTapped(GridOutlineEventArgs)

Raises the OutlineTapped event.

Events

Name Description
IsOptionsDropDownOpenChanged

Called when the options drop-down is opened or closed.

OutlineTapped

Occurs when any of the outlines is tapped.