WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SegmentDecorator - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SegmentDecorator

    Represents the decorative element has been added for connectors to indicate the flow of a connection over another connector or segment.

    Inheritance
    System.Object
    SegmentDecorator
    Implements
    ISegmentDecorator
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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 Description
    System.Double

    Length

    Gets or sets the position of the segmentdecorator over the connector.

    Declaration
    public double Length { get; set; }
    Property Value
    Type Description
    System.Double

    Margin

    Gets or sets the outer margin of an element.

    Declaration
    public Thickness Margin { get; set; }
    Property Value
    Type Description
    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 Description
    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 Description
    SegmentDecoratorRelativeMode

    Shape

    Gets or sets the shape of the segmentdecorator

    Declaration
    public object Shape { get; set; }
    Property Value
    Type Description
    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 Description
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    ISegmentDecorator
    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved