Class QuadraticCurveSegment
Represents a quadraticcurvesegment to drawn between two points.
Inheritance
System.Object
QuadraticCurveSegment
Namespace: Syncfusion.UI.Xaml.Diagram.Serializer
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class QuadraticCurveSegment : Object, IQuadraticCurveSegment, IConnectorSegment, INotifyPropertyChanged
Constructors
QuadraticCurveSegment()
Declaration
public QuadraticCurveSegment()
Properties
Attributes
Gets or sets the attributes values of QuadraticCurveSegment class.
Declaration
public Dictionary<string, object> Attributes { get; set; }
Property Value
Type |
---|
System.Collections.Generic.Dictionary<System.String, System.Object> |
BezierSmoothness
Gets or sets BezierSmoothness of the QuadraticCurveSegment.
Declaration
public BezierSmoothness BezierSmoothness { get; set; }
Property Value
Type |
---|
BezierSmoothness |
Constraints
Gets or sets SegmentConstraints of the QuadraticCurveSegment to add or remove additional behaviors.
Declaration
public SegmentConstraints Constraints { get; set; }
Property Value
Type |
---|
SegmentConstraints |
Editable
Gets or sets Editable
Declaration
public Editable Editable { get; set; }
Property Value
Type |
---|
Editable |
Point1
Gets or sets a source control point of quadratic curve segment.
Declaration
public Nullable<Point> Point1 { get; set; }
Property Value
Type |
---|
System.Nullable<System.Windows.Point> |
Point2
Gets or sets a target control point of quadratic curve segment.
Declaration
public Nullable<Point> Point2 { 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