[]
        
(Showing Draft Content)

C1.WPF.Schedule.DistributionInfo

DistributionInfo Class

Describes a non-default placement for a child element of the AutoDistributionGrid.

Inheritance
DistributionInfo
Namespace: C1.WPF.Schedule
Assembly: C1.WPF.Schedule.4.6.2.dll
Syntax
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.

Constructors

Name Description
DistributionInfo()

Properties

Name Description
Column

Gets or sets a column number where the element described by the DistributionInfo will be placed.

ColumnSpan

Gets or sets a number of columns spanned by a child element. The default value is 1.

ElementIndex

Gets or sets an index of a child element in the child elements collection of the AutoDistributionGrid grid whose distribution info is defined by this object.

Propagate

Gets or sets a value that defines a number of child elements whose placement is described by the DistributionInfo. The default value is 0, which means no propagation.

Row

Gets or sets a row number where the element described by the DistributionInfo will be placed.

RowSpan

Gets or sets a number of rows spanned by a child element. The default value is 1.