[]
        
(Showing Draft Content)

C1.WPF.OrgChart.C1OrgChart

C1OrgChart Class

Control that displays Organizational Charts.

Namespace: C1.WPF.OrgChart
Assembly: C1.WPF.OrgChart.4.6.2.dll
Syntax
[TemplatePart(Name = "_gRoot", Type = typeof(Grid))]
public class C1OrgChart : ItemsControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IContainItemStorage
Remarks

To use this control, set the following main properties:

ItemsSource : a hierarchical list of items to be shown on the chart.

ItemTemplate : template used to convert the items into visuals.

ChildItemsPath : property that contains the child items.

Constructors

Name Description
C1OrgChart()

Initializes a new instance of a C1OrgChart.

Fields

Name Description
ChildItemsPathProperty

Identifies the ChildItemsPath dependency property.

ChildSpacingProperty

Identifies the ChildSpacing dependency property.

ConnectorDashArrayProperty

Identifies the ConnectorDashArray dependency property.

ConnectorDashCapProperty

Identifies the ConnectorDashCap dependency property.

ConnectorDashOffsetProperty

Identifies the ConnectorDashOffset dependency property.

ConnectorEndLineCapProperty

Identifies the ConnectorEndLineCap dependency property.

ConnectorStartLineCapProperty

Identifies the ConnectorStartLineCap dependency property.

ConnectorStrokeProperty

Identifies the ConnectorStroke dependency property.

ConnectorThicknessProperty

Identifies the ConnectorThickness dependency property.

HeaderProperty

Identifies the Header dependency property.

IsCollapsedProperty

Identifies the IsCollapsed dependency property.

OrientationProperty

Identifies the Orientation dependency property.

Properties

Name Description
ChildItemsPath

Gets or sets the name of the property that contains the collection of child objects.

ChildNodes

Gets a list of C1OrgChart objects that represent the child nodes under this C1OrgChart.

ChildSpacing

Gets or sets the spacing between items, in pixels.

ConnectorDashArray

Gets or sets the collection of values that define the pattern of dashes and gaps used to paint the connecting lines.

ConnectorDashCap

Gets or sets a PenLineCap that specifies how to paint the ends of dashes in the connecting lines.

ConnectorDashOffset

Gets or sets the distance within the dash pattern where a dash begins.

ConnectorEndLineCap

Gets or sets a PenLineCap that specifies how to paint the end of the connecting lines.

ConnectorStartLineCap

Gets or sets a PenLineCap that specifies how to paint the start of the connecting lines.

ConnectorStroke

Gets or sets the brush used to paint the connecting lines.

ConnectorThickness

Gets or sets the thickness of the connecting lines.

Header

Gets or sets the parent item for this C1OrgChart.

IsCollapsed

Gets or sets a value that determines whether the node is currently displaying its children.

Orientation

Gets or sets the direction in which child elements are laid out within the control.

Methods

Name Description
ArrangeOverride(Size)
OnApplyTemplate()

Get element references from control template.

OnItemsChanged(NotifyCollectionChangedEventArgs)