menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridDataHeaderCellControl - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridDataHeaderCellControl

    GridDataHeaderCellControl displays the header content for GridDataControl.

    Inheritance
    System.Object
    GridDataHeaderCellControl
    Implements
    System.IDisposable
    Namespace: Syncfusion.Windows.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public class GridDataHeaderCellControl : Control, IDisposable
    Remarks

    It has Dependency properties that is used in a customized ControlTemplate for showing the default values.

    Constructors

    GridDataHeaderCellControl()

    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

    ColumnOptionsButtonBackgroundProperty

    Declaration
    public static readonly DependencyProperty ColumnOptionsButtonBackgroundProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ColumnOptionsButtonBorderBrushProperty

    Declaration
    public static readonly DependencyProperty ColumnOptionsButtonBorderBrushProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ColumnOptionsButtonVisibilityProperty

    Declaration
    public static readonly DependencyProperty ColumnOptionsButtonVisibilityProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ColumnOptionsCloseButtonBrushProperty

    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

    ContentDataTemplateProperty

    Declaration
    public static readonly DependencyProperty ContentDataTemplateProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ExcelLikeFilterAdvVisibilityProperty

    Declaration
    public static readonly DependencyProperty ExcelLikeFilterAdvVisibilityProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ExcelLikeFilterPaneVisibilityProperty

    Declaration
    public static readonly DependencyProperty ExcelLikeFilterPaneVisibilityProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    FilterAppliedInnerBrushProperty

    Declaration
    public static readonly DependencyProperty FilterAppliedInnerBrushProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    FilterButtonVisibilityProperty

    DependencyProperty for FilterButtonVisibility.

    Declaration
    public static readonly DependencyProperty FilterButtonVisibilityProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    FilterHoverInnerBrushProperty

    Declaration
    public static readonly DependencyProperty FilterHoverInnerBrushProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    FilterHoverOuterBrushProperty

    Declaration
    public static readonly DependencyProperty FilterHoverOuterBrushProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    FilterInnerBrushProperty

    Declaration
    public static readonly DependencyProperty FilterInnerBrushProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    FilterOuterBrushProperty

    Declaration
    public static readonly DependencyProperty FilterOuterBrushProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    FilterWrapperProperty

    Declaration
    public static readonly DependencyProperty FilterWrapperProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    HeaderInnerBorderBrushProperty

    Declaration
    public static readonly DependencyProperty HeaderInnerBorderBrushProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    HeaderInnerBorderThicknessProperty

    Declaration
    public static readonly DependencyProperty HeaderInnerBorderThicknessProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    HeaderOptionsBorderBrushProperty

    Declaration
    public static readonly DependencyProperty HeaderOptionsBorderBrushProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    HeaderOptionsCheckedBackgroundProperty

    Declaration
    public static readonly DependencyProperty HeaderOptionsCheckedBackgroundProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    HeaderOptionsHoverBackgroundProperty

    Declaration
    public static readonly DependencyProperty HeaderOptionsHoverBackgroundProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    HoverBackgroundProperty

    Declaration
    public static readonly DependencyProperty HoverBackgroundProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    HoverForegroundProperty

    Declaration
    public static readonly DependencyProperty HoverForegroundProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    IsAdvanceFilteringProperty

    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

    IsDropDownOpenProperty

    Declaration
    public static readonly DependencyProperty IsDropDownOpenProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    IsFilterAppliedProperty

    Declaration
    public static readonly DependencyProperty IsFilterAppliedProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    IsReadOnlyProperty

    Declaration
    public static readonly DependencyProperty IsReadOnlyProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ItemsSourceProperty

    Dependency property Registration for ItemsSource

    Declaration
    public static readonly DependencyProperty ItemsSourceProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    MaximumWidth

    Declaration
    public const double MaximumWidth = 25
    Field Value
    Type
    System.Double

    MinimumWidth

    Declaration
    public const double MinimumWidth = 25
    Field Value
    Type
    System.Double

    SortBrushProperty

    Declaration
    public static readonly DependencyProperty SortBrushProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    SortDirectionProperty

    Declaration
    public static readonly DependencyProperty SortDirectionProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    SortPathProperty

    Declaration
    public static readonly DependencyProperty SortPathProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    SortStringProperty

    Declaration
    public static readonly DependencyProperty SortStringProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    SortVisibilityProperty

    Declaration
    public static readonly DependencyProperty SortVisibilityProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    StaysOpenOnEditProperty

    Declaration
    public static readonly DependencyProperty StaysOpenOnEditProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    TemplateCheckedListBox

    Declaration
    public const string TemplateCheckedListBox = "PART_CheckedListBox"
    Field Value
    Type
    System.String

    TemplateContentPresenter

    Declaration
    public const string TemplateContentPresenter = "PART_ContentPresenter"
    Field Value
    Type
    System.String

    TemplatePopup

    Declaration
    public const string TemplatePopup = "PART_Popup"
    Field Value
    Type
    System.String

    TemplatePopupBorder

    Declaration
    public const string TemplatePopupBorder = "PART_DropDownBorder"
    Field Value
    Type
    System.String

    TemplateSortBorder

    Declaration
    public const string TemplateSortBorder = "PART_SortBorder"
    Field Value
    Type
    System.String

    TextProperty

    Declaration
    public static readonly DependencyProperty TextProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    Properties

    AdvancedFilteringPane

    Declaration
    public IGridDataFilterAction AdvancedFilteringPane { get; }
    Property Value
    Type
    IGridDataFilterAction

    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

    ColumnOptionsButtonBackground

    Declaration
    public Brush ColumnOptionsButtonBackground { get; set; }
    Property Value
    Type
    System.Windows.Media.Brush

    ColumnOptionsButtonBorderBrush

    Declaration
    public Brush ColumnOptionsButtonBorderBrush { get; set; }
    Property Value
    Type
    System.Windows.Media.Brush

    ColumnOptionsButtonVisibility

    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.

    ColumnOptionsCloseButtonBrush

    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

    ContentDataTemplate

    Gets or sets the custom data template.

    Declaration
    public DataTemplate ContentDataTemplate { get; set; }
    Property Value
    Type Description
    System.Windows.DataTemplate

    The custom data template.

    ExcelLikeFilterAdvVisibility

    Declaration
    public bool ExcelLikeFilterAdvVisibility { get; set; }
    Property Value
    Type
    System.Boolean

    ExcelLikeFilterPaneVisibility

    Declaration
    public Visibility ExcelLikeFilterPaneVisibility { get; set; }
    Property Value
    Type
    System.Windows.Visibility

    FilterAppliedInnerBrush

    Gets / Sets the FilterAppliedInnerBrush.

    Declaration
    public Brush FilterAppliedInnerBrush { get; set; }
    Property Value
    Type
    System.Windows.Media.Brush

    FilterButtonVisibility

    Declaration
    public Visibility FilterButtonVisibility { get; set; }
    Property Value
    Type
    System.Windows.Visibility

    FilterHoverInnerBrush

    Declaration
    public Brush FilterHoverInnerBrush { get; set; }
    Property Value
    Type
    System.Windows.Media.Brush

    FilterHoverOuterBrush

    Declaration
    public Brush FilterHoverOuterBrush { get; set; }
    Property Value
    Type
    System.Windows.Media.Brush

    FilterInnerBrush

    Declaration
    public Brush FilterInnerBrush { get; set; }
    Property Value
    Type
    System.Windows.Media.Brush

    FilterOuterBrush

    Declaration
    public Brush FilterOuterBrush { get; set; }
    Property Value
    Type
    System.Windows.Media.Brush

    FilterWrapper

    Declaration
    public GridDataFilterWrapper FilterWrapper { get; set; }
    Property Value
    Type
    GridDataFilterWrapper

    HeaderInnerBorderBrush

    Declaration
    public Brush HeaderInnerBorderBrush { get; set; }
    Property Value
    Type
    System.Windows.Media.Brush

    HeaderInnerBorderThickness

    Declaration
    public Thickness HeaderInnerBorderThickness { get; set; }
    Property Value
    Type
    System.Windows.Thickness

    HeaderOptionsBorderBrush

    Declaration
    public Brush HeaderOptionsBorderBrush { get; set; }
    Property Value
    Type
    System.Windows.Media.Brush

    HeaderOptionsCheckedBackground

    Declaration
    public Brush HeaderOptionsCheckedBackground { get; set; }
    Property Value
    Type
    System.Windows.Media.Brush

    HeaderOptionsHoverBackground

    Declaration
    public Brush HeaderOptionsHoverBackground { get; set; }
    Property Value
    Type
    System.Windows.Media.Brush

    HoverBackground

    Declaration
    public Brush HoverBackground { get; set; }
    Property Value
    Type
    System.Windows.Media.Brush

    HoverForeground

    Declaration
    public Brush HoverForeground { get; set; }
    Property Value
    Type
    System.Windows.Media.Brush

    IsAdvanceFiltering

    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.

    Remarks

    The Popup host has a GridDataCheckedListBoxControl associated with the Child.

    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.

    IsDropDownOpen

    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.

    Remarks

    The Popup host has a GridDataCheckedListBoxControl associated with the Child.

    IsFilterApplied

    Gets / Sets the IsFilterApplied property.

    Declaration
    public bool IsFilterApplied { get; set; }
    Property Value
    Type
    System.Boolean

    IsInSuspend

    Declaration
    public bool IsInSuspend { get; }
    Property Value
    Type
    System.Boolean

    IsKeyFocusedForAdvancedFilterTextBox

    Declaration
    protected bool IsKeyFocusedForAdvancedFilterTextBox { get; }
    Property Value
    Type
    System.Boolean

    IsMouseOverColumnOptionsPopup

    Declaration
    protected bool IsMouseOverColumnOptionsPopup { get; }
    Property Value
    Type
    System.Boolean

    IsMouseOverInnerTextBlock

    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.

    IsMouseOverPopupHost

    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.

    IsReadOnly

    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.

    ItemsSource

    Gets or sets the items source.

    Declaration
    public object ItemsSource { get; set; }
    Property Value
    Type Description
    System.Object

    The items source.

    LegacyEnabled

    Declaration
    public bool LegacyEnabled { get; set; }
    Property Value
    Type
    System.Boolean

    PART_ColumnOptionsPopupHost

    Declaration
    public Popup PART_ColumnOptionsPopupHost { get; }
    Property Value
    Type
    System.Windows.Controls.Primitives.Popup

    PART_ContentPresenter

    Declaration
    public ContentPresenter PART_ContentPresenter { get; }
    Property Value
    Type
    System.Windows.Controls.ContentPresenter

    PART_DropDownBorder

    Declaration
    public Border PART_DropDownBorder { get; }
    Property Value
    Type
    System.Windows.Controls.Border

    PART_FilterPopupHost

    Declaration
    public GridDataExcelLikeFilterPane PART_FilterPopupHost { get; }
    Property Value
    Type
    GridDataExcelLikeFilterPane

    PART_PopupHost

    Declaration
    public Popup PART_PopupHost { get; }
    Property Value
    Type
    System.Windows.Controls.Primitives.Popup

    RenderStyle

    Declaration
    public GridRenderStyleInfo RenderStyle { get; }
    Property Value
    Type
    GridRenderStyleInfo

    SortBrush

    Gets or sets the brush value for the Sort Icon.

    Declaration
    public Brush SortBrush { get; set; }
    Property Value
    Type
    System.Windows.Media.Brush

    SortDirection

    Gets or sets the Sort Direction for this instance.

    Declaration
    public ListSortDirection SortDirection { get; set; }
    Property Value
    Type
    System.ComponentModel.ListSortDirection

    SortPath

    Declaration
    public Geometry SortPath { get; set; }
    Property Value
    Type
    System.Windows.Media.Geometry

    SortString

    Declaration
    public string SortString { get; }
    Property Value
    Type
    System.String

    SortStringWidth

    Declaration
    public static double SortStringWidth { get; set; }
    Property Value
    Type
    System.Double

    SortVisibility

    Gets or sets whether if the Sort Icon has to be shown.

    Declaration
    public Visibility SortVisibility { get; set; }
    Property Value
    Type
    System.Windows.Visibility

    StaysOpenOnEdit

    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.

    Text

    Gets or sets the text.

    Declaration
    public string Text { get; set; }
    Property Value
    Type Description
    System.String

    The text.

    ToggleButton

    Declaration
    public GridDataFilterToggleButton ToggleButton { get; }
    Property Value
    Type
    GridDataFilterToggleButton

    VisibleColumn

    Gets or sets the visible column to which this instance belongs.

    Declaration
    public GridDataVisibleColumn VisibleColumn { get; }
    Property Value
    Type
    GridDataVisibleColumn

    Methods

    ClearCurrentColumnFilter()

    Clears the current column filter.

    Declaration
    protected void ClearCurrentColumnFilter()

    CloseColumnOptionsDropDown()

    Declaration
    public virtual void CloseColumnOptionsDropDown()

    CloseFilterDropDown()

    Closes this instance.

    Declaration
    public virtual void CloseFilterDropDown()

    Dispose()

    Declaration
    public void Dispose()

    GetDateTimePatternString(GridDateTimeEditStyleInfo, DateTimePattern, CultureInfo)

    Gets the date time pattern string.

    Declaration
    public object GetDateTimePatternString(GridDateTimeEditStyleInfo dateTimeEdit, DateTimePattern dateTimePattern, CultureInfo culture)
    Parameters
    Type Name Description
    GridDateTimeEditStyleInfo dateTimeEdit

    The date time edit.

    DateTimePattern dateTimePattern

    The date time pattern.

    System.Globalization.CultureInfo culture

    The culture.

    Returns
    Type
    System.Object

    LoadAdvancedFilteringMode(Border)

    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

    MergeMetroBrush(ResourceDictionary, DependencyObject)

    Declaration
    public static void MergeMetroBrush(ResourceDictionary metroskindictionary, DependencyObject obj)
    Parameters
    Type Name Description
    System.Windows.ResourceDictionary metroskindictionary
    System.Windows.DependencyObject obj

    NavigateNextLine()

    Declaration
    protected virtual void NavigateNextLine()

    NavigatePreviousLine()

    Declaration
    protected virtual void NavigatePreviousLine()

    OnApplyTemplate()

    Declaration
    public override void OnApplyTemplate()

    OnLostFocus(RoutedEventArgs)

    Declaration
    protected override void OnLostFocus(RoutedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.RoutedEventArgs e

    OnLostKeyboardFocus(KeyboardFocusChangedEventArgs)

    Declaration
    protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.KeyboardFocusChangedEventArgs e

    OnLostMouseCapture(MouseEventArgs)

    Declaration
    protected override void OnLostMouseCapture(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseEventArgs e

    OnMouseDown(MouseButtonEventArgs)

    Declaration
    protected override void OnMouseDown(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseButtonEventArgs e

    OnMouseLeave(MouseEventArgs)

    Declaration
    protected override void OnMouseLeave(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseEventArgs e

    OnMouseLeftButtonUp(MouseButtonEventArgs)

    Declaration
    protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseButtonEventArgs e

    OnMouseMove(MouseEventArgs)

    Declaration
    protected override void OnMouseMove(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseEventArgs e

    OnMouseWheel(MouseWheelEventArgs)

    Declaration
    protected override void OnMouseWheel(MouseWheelEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseWheelEventArgs e

    OnPreviewMouseDown(MouseButtonEventArgs)

    Declaration
    protected override void OnPreviewMouseDown(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseButtonEventArgs e

    RefreshFilteringMode(GridStyleInfo)

    Declaration
    public void RefreshFilteringMode(GridStyleInfo style)
    Parameters
    Type Name Description
    GridStyleInfo style

    ShowPopup()

    Shows the popup host.

    Declaration
    protected void ShowPopup()

    Events

    IsColumnOptionsChanged

    Declaration
    public event EventHandler IsColumnOptionsChanged
    Event Type
    Type
    System.EventHandler

    IsDropDownOpenChanged

    Occurs when IsDropDownOpen property is changed.

    Declaration
    public event EventHandler IsDropDownOpenChanged
    Event Type
    Type
    System.EventHandler

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved