Class GridResizeToFitOptions
Specifies options for a ResizeColumnsToFit or ResizeRowsToFit method call.
The options can be combined.
Inheritance
System.Object
GridResizeToFitOptions
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public sealed class GridResizeToFitOptions : Enum
Fields
IncludeCellsWithinCoveredRange
ResizeCoveredCells mode only resizes the last row or column of a covered range. Use this option to also resize the columns or rows before the last one.
Declaration
public const GridResizeToFitOptions IncludeCellsWithinCoveredRange
Field Value
Type |
---|
GridResizeToFitOptions |
IncludeHeaders
Include also row or column header for resizing the cells.
Declaration
public const GridResizeToFitOptions IncludeHeaders
Field Value
Type |
---|
GridResizeToFitOptions |
IncludeHiddenCells
Include hidden rows in row or column resizing behavior
Declaration
public const GridResizeToFitOptions IncludeHiddenCells
Field Value
Type |
---|
GridResizeToFitOptions |
None
Uses default behavior for resizing cells to fit contents. Ignores covered cells, does shrink size, does not include headers.
Declaration
public const GridResizeToFitOptions None
Field Value
Type |
---|
GridResizeToFitOptions |
NoShrinkSize
Do not shrink size of cells.
Declaration
public const GridResizeToFitOptions NoShrinkSize
Field Value
Type |
---|
GridResizeToFitOptions |
ResizeCoveredCells
Include covered cells for resizing cells. When using this mode, only the last row or column of a covered range is resized.
Declaration
public const GridResizeToFitOptions ResizeCoveredCells
Field Value
Type |
---|
GridResizeToFitOptions |