Export (0) Print
Expand All

CompositeDesignerTheme.ConnectorStartCap Property

Gets or sets a value that determines the shape that appears at the beginning of a connector.

Namespace:  System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public virtual LineAnchor ConnectorStartCap { get; set; }

Property Value

Type: System.Workflow.ComponentModel.Design.LineAnchor
A LineAnchor enumeration value that defines the shape that appears at the beginning of the connector. The default value is None.

The following example shows how to create a custom CompositeDesignerTheme by deriving from the CompositeDesignerTheme class and setting the appropriate properties for the new theme.

public class ParallelIfTheme : CompositeDesignerTheme
    public ParallelIfTheme(WorkflowTheme theme)
        : base(theme)
        this.ShowDropShadow = true;
        this.ConnectorStartCap = LineAnchor.None;
        this.ConnectorEndCap = LineAnchor.None;
        this.BorderStyle = DashStyle.Dash;
        this.WatermarkImagePath = @"parallelIfWatermark.png";
        this.WatermarkAlignment = DesignerContentAlignment.Fill;

To use the theme on a CompositeActivityDesigner, apply the ActivityDesignerThemeAttribute to the CompositeActivityDesigner class.

public class ParallelIfDesigner : ParallelActivityDesigner

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

© 2014 Microsoft