Allows the forcing of the AutoDistributionGrid to generate cells of the specified width, where a number of columns will be automatically adjusted so as to fully fit a maximum number of cells in a current grid width. The default value is NaN. This is a dependency property.

Namespace:  C1.WPF.C1Schedule
Assembly:  C1.WPF.C1Schedule (in C1.WPF.C1Schedule.dll)

Syntax

C#
public double FitCellsOfWidth { get; set; }
Visual Basic (Declaration)
Public Property FitCellsOfWidth As Double
	Get
	Set

Remarks

Setting FitCellsOfWidth to non Double.NaN value directs grid to automatically create as many columns of the width specified as the property value that can fully fit in the grid's width (but at least one). When grid width is being changed the number of columns is adjusted automatically.

This is a dependency property.

See Also