Class ConnectorBase
Represents a base class for Connector and DockPort.
Inheritance
System.Object
ConnectorBase
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public abstract class ConnectorBase : ContentControl, INotifyPropertyChanged, IConnectorBase
Constructors
ConnectorBase()
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 |
Description |
System.Windows.DependencyProperty |
|
GeometryProperty
Declaration
public static DependencyProperty GeometryProperty
Field Value
Type |
Description |
System.Windows.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 |
Description |
System.Windows.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 |
Description |
System.Windows.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 |
Description |
System.Windows.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 |
Description |
System.Windows.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 |
Description |
System.Windows.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 |
Description |
System.Windows.DependencyProperty |
|
TransparentGeometryProperty
Declaration
public static DependencyProperty TransparentGeometryProperty
Field Value
Type |
Description |
System.Windows.DependencyProperty |
|
Properties
ConnectorGeometryStyle
Gets or sets the style of the connector.
Declaration
public Style ConnectorGeometryStyle { get; set; }
Property Value
Type |
Description |
System.Windows.Style |
|
Geometry
Gets the Geometry that describes the shape of connector
Declaration
public PathGeometry Geometry { get; }
Property Value
Type |
Description |
System.Windows.Media.PathGeometry |
|
HitPadding
Gets or sets the range of the connector selection.
Declaration
public double HitPadding { get; set; }
Property Value
Type |
Description |
System.Double |
|
Key
Gets or sets the key of the Connector or DockPort.
Declaration
public object Key { get; set; }
Property Value
Type |
Description |
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 |
Description |
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 |
Description |
System.Object |
|
SourcePoint
Gets or sets the start point of the Connector or DockPort.
Declaration
public Point SourcePoint { get; set; }
Property Value
Type |
Description |
System.Windows.Point |
|
TargetPoint
Gets or sets the end point of the Connector or DockPort.
Declaration
public Point TargetPoint { get; set; }
Property Value
Type |
Description |
System.Windows.Point |
|
Methods
ArrangeOverride(Size)
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type |
Name |
Description |
System.Windows.Size |
finalSize |
|
Returns
Type |
Description |
System.Windows.Size |
|
MeasureOverride(Size)
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type |
Name |
Description |
System.Windows.Size |
availableSize |
|
Returns
Type |
Description |
System.Windows.Size |
|
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
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 |
Description |
System.ComponentModel.PropertyChangedEventHandler |
|
Implements
System.ComponentModel.INotifyPropertyChanged