Class
DragRelationSlotContainer

Class representing the container drawing the relation item.

Definition

Namespace:Telerik.Windows.Controls.GanttView

Assembly:Telerik.Windows.Controls.GanttView.dll

Syntax:

cs-api-definition
public class DragRelationSlotContainer : Control, IDataContainer

Inheritance: objectDragRelationSlotContainer

Implements: IDataContainer

Constructors

DragRelationSlotContainer()

Initializes a new instance of the DragRelationSlotContainer class.

Declaration

cs-api-definition
public DragRelationSlotContainer()

Fields

ArrowThicknessProperty

Identifies the ArrowThickness dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ArrowThicknessProperty

Field Value

DependencyProperty

MinEdgeLengthProperty

Identifies the MinEdgeLength dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinEdgeLengthProperty

Field Value

DependencyProperty

Properties

ArrowThickness

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

Declaration

cs-api-definition
public double ArrowThickness { get; set; }

Property Value

double

DataItem

Gets or sets the data item.

Declaration

cs-api-definition
public object DataItem { get; set; }

Property Value

object

The data item.

Implements IDataContainer.DataItem

MinEdgeLength

Gets or sets the MinEdgeLength.

Declaration

cs-api-definition
public double MinEdgeLength { get; set; }

Property Value

double

Methods

GetVisualsMargin(bool, bool, bool)

Declaration

cs-api-definition
protected virtual Thickness GetVisualsMargin(bool isTimeReversed, bool isArrowReversed, bool isSameSide)

Parameters

isTimeReversed

bool

isArrowReversed

bool

isSameSide

bool

Returns

Thickness

MeasureOverride(Size)

Declaration

cs-api-definition
protected override Size MeasureOverride(Size availableSize)

Parameters

availableSize

Size

Returns

Size

OnApplyTemplate()

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

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnInitialized(EventArgs)

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

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

ResetTheme()

Resets the theme.

Declaration

cs-api-definition
public void ResetTheme()