WPF

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

    Show / Hide Table of Contents

    Class GridColumnAutoSizer

    Inheritance
    System.Object
    GridColumnAutoSizer
    GridDataControlColumnSizer
    Implements
    System.IDisposable
    Inherited Members
    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 GridColumnAutoSizer : IDisposable

    Constructors

    GridColumnAutoSizer(GridModel)

    Constructor

    Declaration
    public GridColumnAutoSizer(GridModel model)
    Parameters
    Type Name Description
    GridModel model

    Fields

    CanRoundCalculation

    Set true to round the column value with 2 decimals while performing ResizeColumnsToFit.

    Declaration
    public static bool CanRoundCalculation
    Field Value
    Type Description
    System.Boolean

    frameWorkElement

    Declaration
    protected FrameworkElement frameWorkElement
    Field Value
    Type Description
    System.Windows.FrameworkElement

    Properties

    AllowAutoCalculateSize

    Gets or sets a value indicating whether Allow the Grid to calculate the size from the Available parent space.

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

    true grid wait for the availabel size form the parent; otherwise, false set calculated size for grid.

    ListenToSizeChanged

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

    Model

    Declaration
    public GridModel Model { get; }
    Property Value
    Type Description
    GridModel

    Methods

    ApplySizes()

    Apply Sizes as per the user request

    Declaration
    public void ApplySizes()

    ApplySizes(GridRangeInfo)

    Declaration
    protected virtual void ApplySizes(GridRangeInfo range)
    Parameters
    Type Name Description
    GridRangeInfo range

    ApplyStarSizer(Int32)

    Declaration
    protected virtual void ApplyStarSizer(int group)
    Parameters
    Type Name Description
    System.Int32 group

    Dispose()

    IDisposable interace implementation

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Declaration
    protected virtual void Dispose(bool dispose)
    Parameters
    Type Name Description
    System.Boolean dispose

    Implements

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