Class LaneViewModel
Represents 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.
Inheritance
System.Object
LaneViewModel
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.UWP.dll
Syntax
public class LaneViewModel : SwimlaneChildViewModel, ILane, ISwimlaneChild, IGroupable, IDiagramElement, IID, INotifyPropertyChanged
Examples
<syncfusion:SfDiagram x:Name="diagram" >
<syncfusion:SfDiagram.Swimlanes>
<!--Initialize the SwimlaneCollection-->
<syncfusion:SwimlaneCollection>
<!--Initialize the Swimlane-->
<syncfusion:SwimlaneViewModel OffsetX = "300" OffsetY="150" UnitHeight="120" UnitWidth="450">
<!--Create a header for Swimlane-->
<syncfusion:SwimlaneViewModel.Header>
<syncfusion:SwimlaneHeader UnitHeight = "32" >
<syncfusion:SwimlaneHeader.Annotation>
<syncfusion:AnnotationEditorViewModel Content="SALES PROCESS FLOW CHART">
</syncfusion:AnnotationEditorViewModel>
</syncfusion:SwimlaneHeader.Annotation>
</syncfusion:SwimlaneHeader>
</syncfusion:SwimlaneViewModel.Header>
<syncfusion:SwimlaneViewModel.Lanes>
<syncfusion:LaneCollection>
<!--Initialize the Lane-->
<syncfusion:LaneViewModel UnitHeight = "100">
</syncfusion:LaneViewModel>
</syncfusion:LaneCollection>
</syncfusion:SwimlaneViewModel.Lanes>
</syncfusion:SwimlaneViewModel>
</syncfusion:SwimlaneCollection>
</syncfusion:SfDiagram.Swimlanes>
</syncfusion:SfDiagram>
Constructors
LaneViewModel()
Creates new instance of LaneViewModel class.
Declaration
public LaneViewModel()
Properties
Children
Gets or sets a collection of objects where each object represents a INode.
Declaration
public object Children { get; set; }
Property Value
Type |
---|
System.Object |
Header
Gets or sets a header of the Lane.
Declaration
public object Header { get; set; }
Property Value
Type |
---|
System.Object |
Remarks
Header defines the title of the Lane.
Orientation
Gets or sets the orientation of the Lane. This is applicable only if we add the element into stencil.
Declaration
public Orientation Orientation { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Controls.Orientation |
Implements
System.ComponentModel.INotifyPropertyChanged