Class SegmentDecorator
Represents the decorative element has been added for connectors to indicate the flow of a connection over another connector or segment.
Inheritance
Inherited Members
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class SegmentDecorator : ISegmentDecorator, INotifyPropertyChanged
Constructors
SegmentDecorator()
Declaration
public SegmentDecorator()
Properties
Displacement
Gets or sets the absolute position of the segment decorator.
Declaration
public double Displacement { get; set; }
Property Value
| Type |
|---|
| System.Double |
Length
Gets or sets the position of the segmentdecorator over the connector.
Declaration
public double Length { get; set; }
Property Value
| Type |
|---|
| System.Double |
Margin
Gets or sets the outer margin of an element.
Declaration
public Thickness Margin { get; set; }
Property Value
| Type |
|---|
| System.Windows.Thickness |
Pivot
Gets or sets the decorator should be align based on pivot point.
Declaration
public Point Pivot { get; set; }
Property Value
| Type |
|---|
| System.Windows.Point |
RelativeMode
Gets or sets whether the decorator should be relative to connector or each segment.
Declaration
public SegmentDecoratorRelativeMode RelativeMode { get; set; }
Property Value
| Type |
|---|
| SegmentDecoratorRelativeMode |
Shape
Gets or sets the shape of the segmentdecorator
Declaration
public object Shape { get; set; }
Property Value
| Type |
|---|
| System.Object |
Methods
OnPropertyChanged(String)
Invoked whenever the effective value of any dependency property on this FrameworkElement has been updated. The specific dependency property that changed is reported in the arguments parameter. Overrides OnPropertyChanged(name).
Declaration
protected virtual void OnPropertyChanged(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name |
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
| Type |
|---|
| System.ComponentModel.PropertyChangedEventHandler |