[]
Visual column header
[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
| Name | Description |
|---|---|
| GridColumnHeaderCell() | Initializes a new instance of the GridColumnHeaderCell class. |
| 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. |
| Name | Description |
|---|---|
| Dispose(bool) | |
| OnApplyTemplate() | |
| OnFontChanged() | |
| OnMouseEnter(MouseEventArgs) | |
| OnMouseLeave(MouseEventArgs) | |
| OnOutlineTapped(GridOutlineEventArgs) | Raises the OutlineTapped event. |
| Name | Description |
|---|---|
| IsOptionsDropDownOpenChanged | Called when the options drop-down is opened or closed. |
| OutlineTapped | Occurs when any of the outlines is tapped. |