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
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class StraightSegment : Object, ILineSegment, IConnectorSegment, INotifyPropertyChanged
Constructors
StraightSegment()
Declaration
public StraightSegment()
Properties
BezierSmoothness
Gets or sets a BezierSmoothness of the straightsegment.
Declaration
public BezierSmoothness BezierSmoothness { get; set; }
Property Value
Type |
---|
BezierSmoothness |
Constraints
Gets or sets a SegmentConstraints to add or remove behaviors for straightsegment.
Declaration
public SegmentConstraints Constraints { get; set; }
Property Value
Type |
---|
SegmentConstraints |
Point
Gets or sets a points 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