'Declaration
Public Property ChildrenFlowDirection As Orientation
public Orientation ChildrenFlowDirection {get; set;}
'Declaration
Public Property ChildrenFlowDirection As Orientation
public Orientation ChildrenFlowDirection {get; set;}
If 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 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.