menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SegmentDecorator - UWP 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
    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.UWP.dll
    Syntax
    public class SegmentDecorator : Object, 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
    Windows.UI.Xaml.Thickness

    Pivot

    Gets or sets the decorator should be align based on pivot point.

    Declaration
    public Point Pivot { get; set; }
    Property Value
    Type
    Windows.Foundation.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

    Implements

    ISegmentDecorator
    System.ComponentModel.INotifyPropertyChanged

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved