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

Compass

Class

Drop indicator that appears in the middle of a drop target.

Definition

Namespace:Telerik.Windows.Controls.Docking

Assembly:Telerik.Windows.Controls.Docking.dll

Syntax:

C#
public class Compass : DockDecoration

Inheritance: objectDockDecorationCompass

Derived Classes: RootCompass

Constructors

Initializes a new instance of the Compass class.

C#
public Compass()

Fields

DockPositionProperty

DependencyProperty

Identifies the DockPosition dependency property.

C#
public static readonly DependencyProperty DockPositionProperty

Identifies the IsBottomIndicatorVisible dependency property.

C#
public static readonly DependencyProperty IsBottomIndicatorVisibleProperty

Identifies the IsCenterIndicatorVisible dependency property.

C#
public static readonly DependencyProperty IsCenterIndicatorVisibleProperty

Identifies the IsLeftIndicatorVisible dependency property.

C#
public static readonly DependencyProperty IsLeftIndicatorVisibleProperty

Identifies the IsRightIndicatorVisible dependency property.

C#
public static readonly DependencyProperty IsRightIndicatorVisibleProperty

Identifies the IsTopIndicatorVisible dependency property.

C#
public static readonly DependencyProperty IsTopIndicatorVisibleProperty

Properties

Gets the highlight indicator in the compass.

C#
public DockPosition? DockPosition { get; }

Gets or sets value indicating is the Bottom indicator visible or not.

C#
public bool IsBottomIndicatorVisible { get; set; }

Gets or sets value indicating is the Center indicator visible or not.

C#
public bool IsCenterIndicatorVisible { get; set; }

Gets or sets value indicating is the left indicator visible or not.

C#
public bool IsLeftIndicatorVisible { get; set; }

Gets or sets value indicating is the Right indicator visible or not.

C#
public bool IsRightIndicatorVisible { get; set; }

Gets or sets value indicating is the Top indicator visible or not.

C#
public bool IsTopIndicatorVisible { get; set; }

Methods

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call .

C#
public override void OnApplyTemplate()

Overrides: DockDecoration.OnApplyTemplate()

Raises the event and sets from the active theme.

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

The RoutedEventArgs that contains the event data.