WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridDataHeaderCellModel - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridDataHeaderCellModel

    Inheritance
    System.Object
    NonFinalizeDisposable
    Disposable
    GridCellModelBase
    GridCellModel<GridDataHeaderCellRenderer>
    GridDataHeaderCellModel
    Implements
    System.IDisposable
    Inherited Members
    GridCellModel<GridDataHeaderCellRenderer>.CreateRenderer()
    GridCellModelBase.OnCreated()
    GridCellModelBase.GetFormattedText(GridStyleInfo, Object, Int32)
    GridCellModelBase.ApplyFormattedText(GridStyleInfo, String, Int32)
    GridCellModelBase.GetText(GridStyleInfo, Object)
    GridCellModelBase.ApplyText(GridStyleInfo, String)
    GridCellModelBase.GetPropertyDescriptor(GridStyleInfo)
    GridCellModelBase.GetTypeConverter(GridStyleInfo)
    GridCellModelBase.RaiseCurrentCellContentChanged()
    GridCellModelBase.Clone()
    GridCellModelBase.AddBorderMargins(Size, Thickness)
    GridCellModelBase.RemoveBorderMargins(Size, Thickness)
    GridCellModelBase.OnQueryPrefferedClientSize(Int32, Int32, GridStyleInfo, GridQueryBounds)
    GridCellModelBase.GetCellSize(Int32, Int32)
    GridCellModelBase.GetCellClientSize(Int32, Int32, GridStyleInfo)
    GridCellModelBase.GridModel
    GridCellModelBase.ActiveRenderer
    GridCellModelBase.MeasureEmptyCellString
    NonFinalizeDisposable.Dispose()
    NonFinalizeDisposable.Dispose(Boolean)
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public class GridDataHeaderCellModel : GridCellModel<GridDataHeaderCellRenderer>, IDisposable

    Constructors

    GridDataHeaderCellModel()

    Declaration
    public GridDataHeaderCellModel()

    Properties

    CanShowColumnOptionsButton

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

    CanShowFilterButton

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

    Methods

    CalculatePreferredCellSize(Int32, Int32, GridStyleInfo, GridQueryBounds)

    Declaration
    public override Size CalculatePreferredCellSize(int rowIndex, int colIndex, GridStyleInfo style, GridQueryBounds queryBounds)
    Parameters
    Type Name Description
    System.Int32 rowIndex
    System.Int32 colIndex
    GridStyleInfo style
    GridQueryBounds queryBounds
    Returns
    Type Description
    System.Windows.Size
    Overrides
    GridCellModelBase.CalculatePreferredCellSize(Int32, Int32, GridStyleInfo, GridQueryBounds)

    GetFilterChoices(Int32)

    Gets the filter choices by iterating the cell values as in Excel document. This can be further modified as per custom implementation.

    Declaration
    public virtual IEnumerable<object> GetFilterChoices(int colIdx)
    Parameters
    Type Name Description
    System.Int32 colIdx
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<System.Object>

    Implements

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