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

In This Topic
    ChildrenFlowDirection Property (AutoDistributionGrid)
    In This Topic
    Gets or sets a value that determines a flow direction of child elements in the AutoDistributionGrid. The default value is System.Windows.Controls.Orientation.Horizontal. This is a dependency property.
    Syntax
    'Declaration
     
    
    Public Property ChildrenFlowDirection As Orientation
    public Orientation ChildrenFlowDirection {get; set;}
    Remarks

    If AutoDistributionGrid.ChildrenFlowDirection is set to System.Windows.Controls.Orientation.Horizontal, child elements are distributed row by row, that is a first grid row is filled first (in the left to right direction), then the second row, and so on.

    If AutoDistributionGrid.ChildrenFlowDirection is set to System.Windows.Controls.Orientation.Vertical, child elements are distributed column by column, that is a first grid column is filled first (in the top to bottom direction), then the second column, and so on.

    See Also