menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Swimlane - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Swimlane

    Inheritance
    System.Object
    Node
    Swimlane
    Implements
    System.IDisposable
    ISwimlane
    INode
    IGroupable
    IDiagramElement
    IID
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    Node.AnnotationConstraints
    Node.AnnotationConstraintsProperty
    Node.Annotations
    Node.AnnotationsProperty
    Node.ArrangeOverride(Size)
    Node.BoundingRectangle
    Node.Bounds
    Node.BoundsProperty
    Node.ConnectorPadding
    Node.ConnectorPaddingProperty
    Node.Constraints
    Node.ConstraintsProperty
    Node.Flip
    Node.FlipMode
    Node.FlipModeProperty
    Node.FlipProperty
    Node.GetElementRect(FrameworkElement)
    Node.GetLayoutClip(Size)
    Node.HitPadding
    Node.HitPaddingProperty
    Node.ID
    Node.IDisposable.Dispose()
    Node.IDProperty
    Node.Info
    Node.IsConnecting
    Node.IsExpanded
    Node.IsExpandedProperty
    Node.IsSelected
    Node.IsSelectedProperty
    Node.Key
    Node.KeyProperty
    Node.LaneOffsetX
    Node.LaneOffsetXProperty
    Node.LaneOffsetY
    Node.LaneOffsetYProperty
    Node.MeasureOverride(Size)
    Node.Menu
    Node.MenuProperty
    Node.OffsetX
    Node.OffsetXProperty
    Node.OffsetY
    Node.OffsetYProperty
    Node.OnPropertyChanged(String)
    Node.OnSnap(List<SnapParameter>, Boolean)
    Node.ParentGroup
    Node.ParentGroupProperty
    Node.Pivot
    Node.PivotProperty
    Node.Ports
    Node.PortsProperty
    Node.PortVisibility
    Node.PortVisibilityProperty
    Node.PropertyChanged
    Node.RotateAngle
    Node.RotateAngleProperty
    Node.SearchTags
    Node.SearchTagsProperty
    Node.Shape
    Node.ShapeProperty
    Node.ShapeStyle
    Node.ShapeStyleProperty
    Node.ShowContextMenu(FrameworkElement, MouseButtonEventArgs)
    Node.SnapToObject
    Node.SnapToObjectProperty
    Node.ThemeStyleId
    Node.ThemeStyleIdProperty
    Node.UnitHeight
    Node.UnitHeightProperty
    Node.UnitWidth
    Node.UnitWidthProperty
    Node.ZIndex
    Node.ZIndexProperty
    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.WPF.dll
    Syntax
    public class Swimlane : Node, ISharedData, IDisposable, ISwimlane, INode, IGroupable, ISwimlaneView, INodeView, IView, IDiagramElement, IID, INotifyPropertyChanged

    Constructors

    Swimlane()

    Creates a new instance of Swimlane class.

    Declaration
    public Swimlane()

    Fields

    ChildrenSpacingProperty

    Using a DependencyProperty as the backing store for Orientation. This enables animation, styling, binding, etc...

    Declaration
    public static DependencyProperty ChildrenSpacingProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    HeaderProperty

    Using a DependencyProperty as the backing store for Header. This enables animation, styling, binding, etc...

    Declaration
    public static DependencyProperty HeaderProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    LanesProperty

    Using a DependencyProperty as the backing store for Lanes. This enables animation, styling, binding, etc...

    Declaration
    public static DependencyProperty LanesProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    OrientationProperty

    Using a DependencyProperty as the backing store for Orientation. This enables animation, styling, binding, etc...

    Declaration
    public static DependencyProperty OrientationProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    PhasesProperty

    Using a DependencyProperty as the backing store for Phases. This enables animation, styling, binding, etc...

    Declaration
    public static DependencyProperty PhasesProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    Properties

    ChildrenSpacing

    Gets or sets the spacing value between the lane/phase header and its children.

    Declaration
    public Thickness ChildrenSpacing { get; set; }
    Property Value
    Type
    System.Windows.Thickness

    Header

    Gets or sets a header of the Swimlane.

    Declaration
    public object Header { get; set; }
    Property Value
    Type
    System.Object
    Remarks

    Header defines the title of the Swimlane.

    Lanes

    Gets or sets a collection of objects where each object represents a ILane.

    Declaration
    public object Lanes { get; set; }
    Property Value
    Type
    System.Object
    Remarks

    A lane is a functional unit or a responsible department of a business process that helps to map a process within the functional unit or in between other functional units.

    Orientation

    Gets or sets the orientation of the Swimlane. Either Horizontal or Vertical.

    Declaration
    public Orientation Orientation { get; set; }
    Property Value
    Type
    System.Windows.Controls.Orientation
    Remarks

    The default orientation is Horizontal.

    Phases

    Gets or sets a collection of objects where each object represents a IPhase.

    Declaration
    public object Phases { get; set; }
    Property Value
    Type
    System.Object
    Remarks

    A phase is the subprocess which will split each lane as horizontally or vertically based on the Orientation.

    Methods

    OnApplyTemplate()

    Method to apply template values for Swimlane class.

    Declaration
    public override void OnApplyTemplate()
    Overrides
    Node.OnApplyTemplate()

    OnCreateAutomationPeer()

    Declaration
    protected override AutomationPeer OnCreateAutomationPeer()
    Returns
    Type
    System.Windows.Automation.Peers.AutomationPeer
    Overrides
    Node.OnCreateAutomationPeer()

    Explicit Interface Implementations

    INode.get_ContentTemplate()

    Declaration
    DataTemplate INode.get_ContentTemplate()
    Returns
    Type
    System.Windows.DataTemplate

    INode.get_MaxHeight()

    Declaration
    double INode.get_MaxHeight()
    Returns
    Type
    System.Double

    INode.get_MaxWidth()

    Declaration
    double INode.get_MaxWidth()
    Returns
    Type
    System.Double

    INode.get_MinHeight()

    Declaration
    double INode.get_MinHeight()
    Returns
    Type
    System.Double

    INode.get_MinWidth()

    Declaration
    double INode.get_MinWidth()
    Returns
    Type
    System.Double

    INode.set_ContentTemplate(DataTemplate)

    Declaration
    void INode.set_ContentTemplate(DataTemplate value)
    Parameters
    Type Name Description
    System.Windows.DataTemplate value

    INode.set_MaxHeight(Double)

    Declaration
    void INode.set_MaxHeight(double value)
    Parameters
    Type Name Description
    System.Double value

    INode.set_MaxWidth(Double)

    Declaration
    void INode.set_MaxWidth(double value)
    Parameters
    Type Name Description
    System.Double value

    INode.set_MinHeight(Double)

    Declaration
    void INode.set_MinHeight(double value)
    Parameters
    Type Name Description
    System.Double value

    INode.set_MinWidth(Double)

    Declaration
    void INode.set_MinWidth(double value)
    Parameters
    Type Name Description
    System.Double value

    Implements

    System.IDisposable
    ISwimlane
    INode
    IGroupable
    IDiagramElement
    IID
    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved