Class ConnectorBase
Represents a base class for Connector and DockPort.
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.UWP.dll
Syntax
public abstract class ConnectorBase : ContentControl, IConnectorBase, INotifyPropertyChanged
Constructors
ConnectorBase()
Initializes a new instance of the ConnectorBase class.
Declaration
protected ConnectorBase()
Fields
ConnectorGeometryStyleProperty
Using a DependencyProperty as the backing store for ConnectorGeometryStyle. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty ConnectorGeometryStyleProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
GeometryProperty
Using a DependencyProperty as the backing store for Geometry. This enables animation, styling, binding, etc.
Declaration
public static DependencyProperty GeometryProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
HitPaddingProperty
Using a DependencyProperty as the backing store for HitPadding. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty HitPaddingProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
KeyProperty
Using a DependencyProperty as the backing store for Key. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty KeyProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
PortsProperty
Using a DependencyProperty as the backing store for Ports. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty PortsProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
SegmentsProperty
Using a DependencyProperty as the backing store for Segments. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty SegmentsProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
SourcePointProperty
Using a DependencyProperty as the backing store for SourcePoint. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty SourcePointProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
TargetPointProperty
Using a DependencyProperty as the backing store for TargetPoint. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty TargetPointProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
TransparentGeometryProperty
Using a DependencyProperty as the backing store for TransparentGeometry. This enables animation, styling, binding, etc.
Declaration
public static DependencyProperty TransparentGeometryProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
ConnectorGeometryStyle
Gets or sets the style of the connector.
Declaration
public Style ConnectorGeometryStyle { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Style |
Geometry
Gets the Geometry that describes the shape of connector
Declaration
public PathGeometry Geometry { get; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.PathGeometry |
HitPadding
Gets or sets the range of the connector selection.
Declaration
public double HitPadding { get; set; }
Property Value
Type |
---|
System.Double |
Key
Gets or sets the key of the Connector or DockPort.
Declaration
public object Key { get; set; }
Property Value
Type |
---|
System.Object |
Ports
Gets or sets a collection of objects where each object represents a IPort.
Declaration
public object Ports { get; set; }
Property Value
Type |
---|
System.Object |
Segments
Gets or sets a collection of objects where each object represents a segment.
Declaration
public object Segments { get; set; }
Property Value
Type |
---|
System.Object |
SourcePoint
Gets or sets the start point of the Connector or DockPort.
Declaration
public Point SourcePoint { get; set; }
Property Value
Type |
---|
Windows.Foundation.Point |
TargetPoint
Gets or sets the end point of the Connector or DockPort.
Declaration
public Point TargetPoint { get; set; }
Property Value
Type |
---|
Windows.Foundation.Point |
Methods
ArrangeOverride(Size)
To arrange the ConnectorBase elements into given size.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | finalSize | Gets size. |
Returns
Type | Description |
---|---|
Windows.Foundation.Size | Returns size as empty. |
MeasureOverride(Size)
To measure the ConnectorBase elements into given size.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | availableSize | Gets size. |
Returns
Type | Description |
---|---|
Windows.Foundation.Size | Returns size as empty. |
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 property)
Parameters
Type | Name | Description |
---|---|---|
System.String | property |
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |