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

In This Topic
    RowCount Property (AutoDistributionGrid)
    In This Topic
    Gets or sets a value that determines a number of rows in the AutoDistributionGrid. This is a dependency property.
    Syntax
    'Declaration
     
    
    Public Property RowCount As Integer
    public int RowCount {get; set;}
    Remarks
    Use this property to specify a number of grid rows numerically.

    This property value is being kept in sync with a number of items in the System.Windows.Controls.Grid.RowDefinitions collection.

    If a number of items in the System.Windows.Controls.Grid.RowDefinitions collection has been changed then the value of the RowCount property is updated automatically.

    If a value of the RowCount property is changed directly, then items will be added or removed to/from the end of System.Windows.Controls.Grid.RowDefinitions collection until its number becomes equal to the new RowCount value.

    See Also