Class GridColumnAutoSizer
Inheritance
System.Object
GridColumnAutoSizer
Implements
System.IDisposable
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridColumnAutoSizer : Object, IDisposable
Constructors
GridColumnAutoSizer(GridModel)
Declaration
public GridColumnAutoSizer(GridModel model)
Parameters
Fields
CanRoundCalculation
Set true to round the column value with 2 decimals while performing ResizeColumnsToFit.
Declaration
public static bool CanRoundCalculation
Field Value
frameWorkElement
Declaration
protected FrameworkElement frameWorkElement
Field Value
Type |
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
Model
Declaration
public GridModel Model { get; }
Property Value
Methods
ApplySizes()
Apply Sizes as per the user request
Declaration
ApplySizes(GridRangeInfo)
Declaration
protected virtual void ApplySizes(GridRangeInfo range)
Parameters
ApplyStarSizer(Int32)
Declaration
protected virtual void ApplyStarSizer(int group)
Parameters
Type |
Name |
Description |
System.Int32 |
group |
|
Dispose()
IDisposable interace implementation
Declaration
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool dispose)
Parameters
Type |
Name |
Description |
System.Boolean |
dispose |
|
Implements
System.IDisposable