Class GridViewHeaderCell
This is User Interface(UI) element that is a part from row header and represents a column header. Dragging the GridViewHeaderCell is the key action to group the RadGridView and reorder the columns, resizing the width of the element is a UI way to resize a column.
Inherited Members
Namespace: Telerik.Windows.Controls.GridView
Assembly: Telerik.Windows.Controls.GridView.dll
Syntax
public class GridViewHeaderCell : GridViewCellBase, INotifyPropertyChanged, IProvideGridViewColumn, IInputElement
Constructors
GridViewHeaderCell()
Fields
ColumnsReorderingEvent
Identifies the ColumnsReorderingEvent routed event.
Declaration
public static readonly RoutedEvent ColumnsReorderingEvent
Field Value
RoutedEvent
|
DropIndicatorBrushProperty
Identifies the DropIndicatorBrush dependency property.
Declaration
public static readonly DependencyProperty DropIndicatorBrushProperty
Field Value
System.Windows.DependencyProperty
|
DropIndicatorThicknessProperty
Identifies the DropIndicatorThickness dependency property.
Declaration
public static readonly DependencyProperty DropIndicatorThicknessProperty
Field Value
System.Windows.DependencyProperty
|
FieldFilterControlVisibilityProperty
Identifies the FieldFilterControlVisibility dependency property.
Declaration
public static readonly DependencyProperty FieldFilterControlVisibilityProperty
Field Value
System.Windows.DependencyProperty
|
FilteringUIVisibilityProperty
Identifies the FilteringUIVisibility dependency property.
Declaration
public static readonly DependencyProperty FilteringUIVisibilityProperty
Field Value
System.Windows.DependencyProperty
|
PreviewColumnsReorderingEvent
Identifies the PreviewColumnsReorderingEvent routed event.
Declaration
public static readonly RoutedEvent PreviewColumnsReorderingEvent
Field Value
RoutedEvent
|
SortingIndexProperty
Identifies the SortingIndex dependency property.
Declaration
public static readonly DependencyProperty SortingIndexProperty
Field Value
System.Windows.DependencyProperty
|
SortingStateProperty
Identifies the SortingState dependency property.
Declaration
public static readonly DependencyProperty SortingStateProperty
Field Value
System.Windows.DependencyProperty
|
TextAlignmentProperty
Gets or sets a value that indicates the horizontal alignment of text content Affects all the header cell in the column.
Declaration
public static readonly DependencyProperty TextAlignmentProperty
Field Value
System.Windows.DependencyProperty
|
TextDecorationsProperty
Identifies the TextDecorations dependency property.
Declaration
public static readonly DependencyProperty TextDecorationsProperty
Field Value
System.Windows.DependencyProperty
|
TextTrimmingProperty
Identifies the TextTrimming property.
Declaration
public static readonly DependencyProperty TextTrimmingProperty
Field Value
System.Windows.DependencyProperty
The identifier for the TextTrimming property. |
TextWrappingProperty
Identifies the TextWrapping property.
Declaration
public static readonly DependencyProperty TextWrappingProperty
Field Value
System.Windows.DependencyProperty
|
Properties
DropIndicatorBrush
Controls the value of the DropIndicatorBrush property.
Declaration
public SolidColorBrush DropIndicatorBrush { get; set; }
Property Value
System.Windows.Media.SolidColorBrush
|
DropIndicatorThickness
Controls the value of the DropIndicatorThickness property.
Declaration
public double DropIndicatorThickness { get; set; }
Property Value
System.Double
|
FieldFilterControlVisibility
Gets or sets a value indicating whether the custom filter row element is displayed.
Declaration
public Visibility FieldFilterControlVisibility { get; set; }
Property Value
System.Windows.Visibility
|
FilteringControl
Gets or sets the control used for filtering.
Declaration
public IFilteringControl FilteringControl { get; }
Property Value
IFilteringControl
|
FilteringUIVisibility
Gets or sets a value indicating whether the filtering funnel is displayed.
Declaration
public Visibility FilteringUIVisibility { get; set; }
Property Value
System.Windows.Visibility
|
SortingIndex
Gets the sorting index of the column when there is multiple column sorting.
Declaration
public int SortingIndex { get; set; }
Property Value
System.Int32
The sorting index of the column when there is multiple column sorting. |
SortingState
Gets or sets a Column sorting state depending on executed sorted command, it can take 3 possible values: Ascending, Descending and None.
Declaration
public SortingState SortingState { get; set; }
Property Value
SortingState
|
TextAlignment
Gets or sets a value that indicates the horizontal alignment of text content for the header cell. This is a dependency property.
Declaration
public TextAlignment TextAlignment { get; set; }
Property Value
System.Windows.TextAlignment
TextAlignment that will be used to align the text in the header cell. The default value is System.Windows.TextAlignment.Left |
TextDecorations
Gets or sets the text decoration. Affects the header cell element. This is a dependency property.
Declaration
public TextDecorationCollection TextDecorations { get; set; }
Property Value
System.Windows.TextDecorationCollection
|
TextTrimming
Gets or sets TextTrimming that will be used to trim the text in the header cell. This is a dependency property.
Declaration
public TextTrimming TextTrimming { get; set; }
Property Value
System.Windows.TextTrimming
TextTrimming that will be used to trim the text in the header cell element. The default value is System.Windows.TextTrimming.None |
TextWrapping
Gets or sets TextWrapping that will be used to wrap the text in this header cell. This is a dependency property.
Declaration
public TextWrapping TextWrapping { get; set; }
Property Value
System.Windows.TextWrapping
TextWrapping that will be used to wrap the text in the header cell. The default value is System.Windows.TextWrapping.NoWrap |
Methods
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
OnColumnChanged(GridViewColumn, GridViewColumn)
Called due to the cell's column definition changing. Not called due to changes within the current column definition.
Declaration
protected override void OnColumnChanged(GridViewColumn oldColumn, GridViewColumn newColumn)
Parameters
GridViewColumn
oldColumn
The old column definition. |
GridViewColumn
newColumn
The new column definition. |
Overrides
Remarks
Coerces ContentTemplate and ContentTemplateSelector.
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
|
OnMouseLeftButtonDown(MouseButtonEventArgs)
Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
System.Windows.Input.MouseButtonEventArgs
e
|
Overrides
OnMouseLeftButtonUp(MouseButtonEventArgs)
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
System.Windows.Input.MouseButtonEventArgs
e
|