Class StraightSegment
Represent a straightsegment is a part of a line that is bounded by two distinct end points, and contains every point on the line between its endpoints.
Inheritance
System.Object
StraightSegment
Namespace: Syncfusion.UI.Xaml.Diagram.Serializer
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class StraightSegment : Object, ILineSegment, IConnectorSegment, INotifyPropertyChanged
Constructors
StraightSegment()
Declaration
public StraightSegment()
Properties
Attributes
Gets or sets the attributes value of StraightSegment class.
Declaration
public Dictionary<string, object> Attributes { get; set; }
Property Value
Type |
---|
System.Collections.Generic.Dictionary<System.String, System.Object> |
BezierSmoothness
Gets or sets Smoothness of the StraightSegment
Declaration
public BezierSmoothness BezierSmoothness { get; set; }
Property Value
Type |
---|
BezierSmoothness |
Constraints
Gets or sets Constraints of the StraightSegment
Declaration
public SegmentConstraints Constraints { get; set; }
Property Value
Type |
---|
SegmentConstraints |
Point
Gets or sets Point of the StraightSegment
Declaration
public Nullable<Point> Point { get; set; }
Property Value
Type |
---|
System.Nullable<System.Windows.Point> |
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
System.ComponentModel.INotifyPropertyChanged