GridDataHeaderCellControl displays the header content for GridDataControl.
Inheritance
System.Object
GridDataHeaderCellControl
Implements
System.IDisposable
Assembly: Syncfusion.Grid.Wpf.dll
public class GridDataHeaderCellControl : Control, IDisposable
Constructors
Declaration
public GridDataHeaderCellControl()
Fields
ColumnOptionPaneStyleProperty
Declaration
public static readonly DependencyProperty ColumnOptionPaneStyleProperty
Field Value
Type |
System.Windows.DependencyProperty |
ColumnOptionsBackgroundProperty
Declaration
public static readonly DependencyProperty ColumnOptionsBackgroundProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty ColumnOptionsButtonBackgroundProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty ColumnOptionsButtonBorderBrushProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty ColumnOptionsButtonVisibilityProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty ColumnOptionsCloseButtonBrushProperty
Field Value
Type |
System.Windows.DependencyProperty |
ColumnOptionsForegroundProperty
Declaration
public static readonly DependencyProperty ColumnOptionsForegroundProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty ContentDataTemplateProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty ExcelLikeFilterAdvVisibilityProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty ExcelLikeFilterPaneVisibilityProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty FilterAppliedInnerBrushProperty
Field Value
Type |
System.Windows.DependencyProperty |
DependencyProperty for FilterButtonVisibility.
Declaration
public static readonly DependencyProperty FilterButtonVisibilityProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty FilterHoverInnerBrushProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty FilterHoverOuterBrushProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty FilterInnerBrushProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty FilterOuterBrushProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty FilterWrapperProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty HeaderInnerBorderBrushProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty HeaderInnerBorderThicknessProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty HeaderOptionsBorderBrushProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty HeaderOptionsCheckedBackgroundProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty HeaderOptionsHoverBackgroundProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty HoverBackgroundProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty HoverForegroundProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty IsAdvanceFilteringProperty
Field Value
Type |
System.Windows.DependencyProperty |
IsColumnOptionsDropDownOpenProperty
Dependency Property for IsColumnOptionsDropDownOpen.
Declaration
public static readonly DependencyProperty IsColumnOptionsDropDownOpenProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty IsDropDownOpenProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty IsFilterAppliedProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty IsReadOnlyProperty
Field Value
Type |
System.Windows.DependencyProperty |
Dependency property Registration for ItemsSource
Declaration
public static readonly DependencyProperty ItemsSourceProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public const double MaximumWidth = 25
Field Value
Declaration
public const double MinimumWidth = 25
Field Value
Declaration
public static readonly DependencyProperty SortBrushProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty SortDirectionProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty SortPathProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty SortStringProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty SortVisibilityProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty StaysOpenOnEditProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public const string TemplateCheckedListBox = "PART_CheckedListBox"
Field Value
Declaration
public const string TemplateContentPresenter = "PART_ContentPresenter"
Field Value
Declaration
public const string TemplatePopup = "PART_Popup"
Field Value
Declaration
public const string TemplatePopupBorder = "PART_DropDownBorder"
Field Value
Declaration
public const string TemplateSortBorder = "PART_SortBorder"
Field Value
Declaration
public static readonly DependencyProperty TextProperty
Field Value
Type |
System.Windows.DependencyProperty |
Properties
Declaration
public IGridDataFilterAction AdvancedFilteringPane { get; }
Property Value
ColumnOptionPaneStyle
Declaration
public Style ColumnOptionPaneStyle { get; set; }
Property Value
Type |
System.Windows.Style |
ColumnOptionsBackground
Declaration
public Brush ColumnOptionsBackground { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
Declaration
public Brush ColumnOptionsButtonBackground { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
Declaration
public Brush ColumnOptionsButtonBorderBrush { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
Gets or sets a value indicating whether the Column Options Button has to be shown.
Declaration
public Visibility ColumnOptionsButtonVisibility { get; set; }
Property Value
Type |
Description |
System.Windows.Visibility |
True if this instance ; otherwise, false.
|
Declaration
public Brush ColumnOptionsCloseButtonBrush { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
ColumnOptionsForeground
Declaration
public Brush ColumnOptionsForeground { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
Gets or sets the custom data template.
Declaration
public DataTemplate ContentDataTemplate { get; set; }
Property Value
Type |
Description |
System.Windows.DataTemplate |
The custom data template.
|
Declaration
public bool ExcelLikeFilterAdvVisibility { get; set; }
Property Value
Declaration
public Visibility ExcelLikeFilterPaneVisibility { get; set; }
Property Value
Type |
System.Windows.Visibility |
Gets / Sets the FilterAppliedInnerBrush.
Declaration
public Brush FilterAppliedInnerBrush { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
Declaration
public Visibility FilterButtonVisibility { get; set; }
Property Value
Type |
System.Windows.Visibility |
Declaration
public Brush FilterHoverInnerBrush { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
Declaration
public Brush FilterHoverOuterBrush { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
Declaration
public Brush FilterInnerBrush { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
Declaration
public Brush FilterOuterBrush { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
Declaration
public GridDataFilterWrapper FilterWrapper { get; set; }
Property Value
Declaration
public Brush HeaderInnerBorderBrush { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
Declaration
public Thickness HeaderInnerBorderThickness { get; set; }
Property Value
Type |
System.Windows.Thickness |
Declaration
public Brush HeaderOptionsBorderBrush { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
Declaration
public Brush HeaderOptionsCheckedBackground { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
Declaration
public Brush HeaderOptionsHoverBackground { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
Declaration
public Brush HoverBackground { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
Declaration
public Brush HoverForeground { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
Gets or sets a value indicating if the Filter Popup has to
be shown.
Declaration
public bool IsAdvanceFiltering { get; set; }
Property Value
Type |
Description |
System.Boolean |
True if this instance ; otherwise, false.
|
IsColumnOptionsDropDownOpen
Gets or sets a value indicating if the Column Options Popup has to be shown.
Declaration
public bool IsColumnOptionsDropDownOpen { get; set; }
Property Value
Type |
Description |
System.Boolean |
True if this instance ; otherwise, false.
|
Gets or sets a value indicating if the Filter Popup has to
be shown.
Declaration
public bool IsDropDownOpen { get; set; }
Property Value
Type |
Description |
System.Boolean |
True if this instance ; otherwise, false.
|
Gets / Sets the IsFilterApplied property.
Declaration
public bool IsFilterApplied { get; set; }
Property Value
Declaration
public bool IsInSuspend { get; }
Property Value
Declaration
protected bool IsKeyFocusedForAdvancedFilterTextBox { get; }
Property Value
IsMouseOverColumnOptionsPopup
Declaration
protected bool IsMouseOverColumnOptionsPopup { get; }
Property Value
Gets or sets a value indicating whether this instance is mouse over inner text box.
Declaration
protected bool IsMouseOverInnerTextBlock { get; }
Property Value
Type |
Description |
System.Boolean |
true if this instance is mouse over inner text box; otherwise, false .
|
Gets or sets a value indicating whether this instance is mouse over popup host.
Declaration
protected bool IsMouseOverPopupHost { get; }
Property Value
Type |
Description |
System.Boolean |
true if this instance is mouse over popup host; otherwise, false .
|
Gets or sets a value indicating whether this instance is read only.
Declaration
public bool IsReadOnly { get; set; }
Property Value
Type |
Description |
System.Boolean |
True if this instance ; otherwise, false.
|
Gets or sets the items source.
Declaration
public object ItemsSource { get; set; }
Property Value
Type |
Description |
System.Object |
The items source.
|
Declaration
public bool LegacyEnabled { get; set; }
Property Value
PART_ColumnOptionsPopupHost
Declaration
public Popup PART_ColumnOptionsPopupHost { get; }
Property Value
Type |
System.Windows.Controls.Primitives.Popup |
Declaration
public ContentPresenter PART_ContentPresenter { get; }
Property Value
Type |
System.Windows.Controls.ContentPresenter |
Declaration
public Border PART_DropDownBorder { get; }
Property Value
Type |
System.Windows.Controls.Border |
Declaration
public GridDataExcelLikeFilterPane PART_FilterPopupHost { get; }
Property Value
Declaration
public Popup PART_PopupHost { get; }
Property Value
Type |
System.Windows.Controls.Primitives.Popup |
Declaration
public GridRenderStyleInfo RenderStyle { get; }
Property Value
Gets or sets the brush value for the Sort Icon.
Declaration
public Brush SortBrush { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
Gets or sets the Sort Direction for this instance.
Declaration
public ListSortDirection SortDirection { get; set; }
Property Value
Type |
System.ComponentModel.ListSortDirection |
Declaration
public Geometry SortPath { get; set; }
Property Value
Type |
System.Windows.Media.Geometry |
Declaration
public string SortString { get; }
Property Value
Declaration
public static double SortStringWidth { get; set; }
Property Value
Gets or sets whether if the Sort Icon has to be shown.
Declaration
public Visibility SortVisibility { get; set; }
Property Value
Type |
System.Windows.Visibility |
Gets or sets a value indicating whether the PopupHost stays open during edit.
Declaration
public bool StaysOpenOnEdit { get; set; }
Property Value
Type |
Description |
System.Boolean |
True if ; otherwise, false.
|
Declaration
public string Text { get; set; }
Property Value
Type |
Description |
System.String |
The text.
|
Declaration
public GridDataFilterToggleButton ToggleButton { get; }
Property Value
VisibleColumn
Gets or sets the visible column to which this instance belongs.
Declaration
public GridDataVisibleColumn VisibleColumn { get; }
Property Value
Methods
ClearCurrentColumnFilter()
Clears the current column filter.
Declaration
protected void ClearCurrentColumnFilter()
CloseColumnOptionsDropDown()
Declaration
public virtual void CloseColumnOptionsDropDown()
Declaration
public virtual void CloseFilterDropDown()
Declaration
Gets the date time pattern string.
Declaration
public object GetDateTimePatternString(GridDateTimeEditStyleInfo dateTimeEdit, DateTimePattern dateTimePattern, CultureInfo culture)
Parameters
Returns
Declaration
protected virtual void LoadAdvancedFilteringMode(Border filterParentBorder)
Parameters
Type |
Name |
Description |
System.Windows.Controls.Border |
filterParentBorder |
|
LoadColumnOptions(Popup)
Declaration
protected virtual void LoadColumnOptions(Popup columnOptionsPopupHost)
Parameters
Type |
Name |
Description |
System.Windows.Controls.Primitives.Popup |
columnOptionsPopupHost |
|
Declaration
public static void MergeMetroBrush(ResourceDictionary metroskindictionary, DependencyObject obj)
Parameters
Type |
Name |
Description |
System.Windows.ResourceDictionary |
metroskindictionary |
|
System.Windows.DependencyObject |
obj |
|
Declaration
protected virtual void NavigateNextLine()
Declaration
protected virtual void NavigatePreviousLine()
Declaration
public override void OnApplyTemplate()
Declaration
protected override void OnLostFocus(RoutedEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.RoutedEventArgs |
e |
|
Declaration
protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.KeyboardFocusChangedEventArgs |
e |
|
Declaration
protected override void OnLostMouseCapture(MouseEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.MouseEventArgs |
e |
|
Declaration
protected override void OnMouseDown(MouseButtonEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.MouseButtonEventArgs |
e |
|
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.MouseEventArgs |
e |
|
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.MouseButtonEventArgs |
e |
|
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.MouseEventArgs |
e |
|
Declaration
protected override void OnMouseWheel(MouseWheelEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.MouseWheelEventArgs |
e |
|
Declaration
protected override void OnPreviewMouseDown(MouseButtonEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.MouseButtonEventArgs |
e |
|
Declaration
public void RefreshFilteringMode(GridStyleInfo style)
Parameters
Declaration
protected void ShowPopup()
Events
IsColumnOptionsChanged
Declaration
public event EventHandler IsColumnOptionsChanged
Event Type
Occurs when IsDropDownOpen property is changed.
Declaration
public event EventHandler IsDropDownOpenChanged
Event Type
Implements
System.IDisposable