Describes a non-default placement for a child element of the
AutoDistributionGrid.
Namespace:
C1.WPF.C1ScheduleAssembly: C1.WPF.C1Schedule (in C1.WPF.C1Schedule.dll)
Syntax
C# |
---|
public class DistributionInfo |
Visual Basic (Declaration) |
---|
Public Class DistributionInfo |
Remarks
Use instances of the DistributionInfo class as items of the
ChildrenDistributionInfo collection
to change a default placement of a certain child element.
Each DistributionInfo object of the collection instructs the grid that
a child object at index ElementIndex should be (optionally)
placed to a cell with Row and Column
indexes and also has RowSpan and ColumnSpan spans.
If the position is redefined for a certain element in such a way, then the next element
will be placed in a cell next to this element according to the
ChildrenFlowDirection specified.
If a span is defined and the span direction conforms to the Orientation specified in the
ChildrenFlowDirection property, then the next element
will skip over the span. Each DistributionInfo item's info can be
propagated to a number (fixed or infinite) of next elements, which is specified in
the Propagate property.