New to Telerik UI for WPFStart a free 30-day trial

Class representing the container drawing the relation item.

Definition

Namespace:Telerik.Windows.Controls.GanttView

Assembly:Telerik.Windows.Controls.GanttView.dll

Syntax:

C#
public class DragRelationSlotContainer : Control, IDataContainer

Inheritance: objectDragRelationSlotContainer

Implements: IDataContainer

Constructors

Initializes a new instance of the DragRelationSlotContainer class.

C#
public DragRelationSlotContainer()

Fields

ArrowThicknessProperty

DependencyProperty

Identifies the ArrowThickness dependency property.

C#
public static readonly DependencyProperty ArrowThicknessProperty

MinEdgeLengthProperty

DependencyProperty

Identifies the MinEdgeLength dependency property.

C#
public static readonly DependencyProperty MinEdgeLengthProperty

Properties

Gets or sets the ArrowThickness that defines the thickness of the DragRelationSlotContainer.

C#
public double ArrowThickness { get; set; }

Gets or sets the data item.

C#
public object DataItem { get; set; }
Property Value:

The data item.

Implements: IDataContainer.DataItem

Gets or sets the MinEdgeLength.

C#
public double MinEdgeLength { get; set; }

Methods

C#
protected virtual Thickness GetVisualsMargin(bool isTimeReversed, bool isArrowReversed, bool isSameSide)
Parameters:isTimeReversedboolisArrowReversedboolisSameSideboolReturns:

Thickness

C#
protected override Size MeasureOverride(Size availableSize)
Parameters:availableSizeSizeReturns:

Size

When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate().

C#
public override void OnApplyTemplate()

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Resets the theme.

C#
public void ResetTheme()