Class Lane
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class Lane : Control, ILaneView, IView, ISharedData, IDisposable, ILane, ISwimlaneChild, IGroupable, IDiagramElement, IID, INotifyPropertyChanged
Constructors
Lane()
Creaets a new instance of Lane class.
Declaration
public Lane()
Fields
ChildrenProperty
Using a DependencyProperty as the backing store for Children. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty ChildrenProperty
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 |
IDProperty
Using a DependencyProperty as the backing store for ID. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty IDProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IsSelectedProperty
Using a DependencyProperty as the backing store for IsSelected. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty IsSelectedProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
KeyProperty
Using a DependencyProperty as the backing store for Key. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty KeyProperty
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 |
SearchTagsProperty
Identifies the SearchTags dependency property.
Declaration
public static DependencyProperty SearchTagsProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ShapeStyleProperty
Using a DependencyProperty as the backing store for Style. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty ShapeStyleProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
UnitHeightProperty
Using a DependencyProperty as the backing store for UnitHeight. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty UnitHeightProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
UnitWidthProperty
Using a DependencyProperty as the backing store for UnitWidth. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty UnitWidthProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ZIndexProperty
Using a DependencyProperty as the backing store for ZIndex. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty ZIndexProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
BoundingRectangle
Gets or sets the bounding rectangle of the AnnotationEditor.
Declaration
public Rect BoundingRectangle { get; }
Property Value
Type |
---|
System.Windows.Rect |
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.
ID
Gets or sets the id of the lane.
Declaration
public object ID { get; set; }
Property Value
Type |
---|
System.Object |
Info
Gets or sets info value of Lane class.
Declaration
public object Info { get; set; }
Property Value
Type |
---|
System.Object |
IsSelected
Gets or sets a value indicates whether the lane is selected. The default value is set to false.
Declaration
public bool IsSelected { get; set; }
Property Value
Type |
---|
System.Boolean |
Key
Gets or sets the key of the lane.
Declaration
public object Key { get; set; }
Property Value
Type |
---|
System.Object |
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 |
---|
System.Windows.Controls.Orientation |
SearchTags
Gets or sets the search tags of the Lane in the Syncfusion.UI.Xaml.Diagram.Stencil.
Declaration
public IEnumerable<string> SearchTags { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | The list of search tags that are used when you search for the symbol in the Syncfusion.UI.Xaml.Diagram.Stencil. The default is null. |
ShapeStyle
Gets or sets the shapestyle of the lane.
Declaration
public Style ShapeStyle { get; set; }
Property Value
Type |
---|
System.Windows.Style |
UnitHeight
Gets or sets the height of the lane.
Declaration
public double UnitHeight { get; set; }
Property Value
Type |
---|
System.Double |
UnitWidth
Gets or sets the width of the lane.
Declaration
public double UnitWidth { get; set; }
Property Value
Type |
---|
System.Double |
ZIndex
Gets or sets the z-index of the lane.
Declaration
public int ZIndex { get; set; }
Property Value
Type |
---|
System.Int32 |
Methods
ArrangeOverride(Size)
Method to arrange Lane class elements to given size.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | finalSize | Size to arrange elements. |
Returns
Type | Description |
---|---|
System.Windows.Size | Return size. |
MeasureOverride(Size)
Method to measure size of Lane class elements.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | availableSize | Size to be measure. |
Returns
Type | Description |
---|---|
System.Windows.Size | Return measured size. |
OnApplyTemplate()
Method to apply template values to Lane class.
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
Type |
---|
System.Windows.Automation.Peers.AutomationPeer |
OnPropertyChanged(String)
Method for property values are changed for Lane class.
Declaration
protected virtual void OnPropertyChanged(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Property name. |
Events
PropertyChanged
Event to notify when property values are changed for Lane class.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |