Scheduler for WPF | ComponentOne
C1.WPF.Schedule Namespace / AutoDistributionGrid Class / FitCellsOfHeight Property

In This Topic
    FitCellsOfHeight Property (AutoDistributionGrid)
    In This Topic
    Allows the forcing of the AutoDistributionGrid to generate cells of the specified height, where a number of rows will be automatically adjusted so as to fully fit a maximum number of cells in a current grid height. The default value is System.Double.NaN. This is a dependency property.
    Syntax
    'Declaration
     
    
    Public Property FitCellsOfHeight As Double
    public double FitCellsOfHeight {get; set;}
    Remarks

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

    See Also