ComponentOne Scheduler for WPF and Silverlight
FitCellsOfWidth Property

C1.WPF.Schedule Namespace > AutoDistributionGrid Class : FitCellsOfWidth Property
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 System.Double.NaN. This is a dependency property.
Syntax
'Declaration
 
Public Property FitCellsOfWidth As System.Double
public System.double FitCellsOfWidth {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.

See Also

Reference

AutoDistributionGrid Class
AutoDistributionGrid Members