Class DragRelationSlotContainer
Class representing the container drawing the relation item.
Inheritance
Namespace: Telerik.Windows.Controls.GanttView
Assembly: Telerik.Windows.Controls.GanttView.dll
Syntax
public class DragRelationSlotContainer : Control, IDataContainer, IThemable
Constructors
DragRelationSlotContainer()
Initializes a new instance of the DragRelationSlotContainer class.
Declaration
public DragRelationSlotContainer()
Fields
ArrowThicknessProperty
Identifies the ArrowThickness dependency property.
Declaration
public static readonly DependencyProperty ArrowThicknessProperty
Field Value
System.Windows.DependencyProperty
|
MinEdgeLengthProperty
Identifies the MinEdgeLength dependency property.
Declaration
public static readonly DependencyProperty MinEdgeLengthProperty
Field Value
System.Windows.DependencyProperty
|
Properties
ArrowThickness
Gets or sets the ArrowThickness that defines the thickness of the DragRelationSlotContainer.
Declaration
public double ArrowThickness { get; set; }
Property Value
System.Double
|
DataItem
Gets or sets the data item.
Declaration
public object DataItem { get; set; }
Property Value
System.Object
The data item. |
Implements
MinEdgeLength
Gets or sets the MinEdgeLength.
Declaration
public double MinEdgeLength { get; set; }
Property Value
System.Double
|
Methods
GetVisualsMargin(Boolean, Boolean, Boolean)
Declaration
protected virtual Thickness GetVisualsMargin(bool isTimeReversed, bool isArrowReversed, bool isSameSide)
Parameters
System.Boolean
isTimeReversed
|
System.Boolean
isArrowReversed
|
System.Boolean
isSameSide
|
Returns
System.Windows.Thickness
|
MeasureOverride(Size)
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
System.Windows.Size
availableSize
|
Returns
System.Windows.Size
|
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate().
Declaration
public override void OnApplyTemplate()
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |
ResetTheme()
Resets the theme.
Declaration
public void ResetTheme()