Class
RadDocking

Represents a docking control that provides a flexible layout system for managing panes, tool windows, and document hosts.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Docking.dll

Syntax:

cs-api-definition
[SuppressMessage("Microsoft.Maintainability", "CA1506:AvoidExcessiveClassCoupling")]
[TelerikToolboxCategory("Containers")]
public class RadDocking : ItemsControl, INotifyLayoutChange

Inheritance: objectRadDocking

Implements: INotifyLayoutChange

Constructors

RadDocking()

Initializes a new instance of the RadDocking class.

Declaration

cs-api-definition
public RadDocking()

Fields

ActivePaneChangedEvent

Identifies the ActivePaneChanged routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent ActivePaneChangedEvent

Field Value

RoutedEvent

ActivePaneProperty

Identifies ActivePane dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ActivePaneProperty

Field Value

DependencyProperty

AllowDragReorderProperty

Identifies the AllowDragReorder Property.

Declaration

cs-api-definition
public static readonly DependencyProperty AllowDragReorderProperty

Field Value

DependencyProperty

CanAutoHideAreaExceedScreenProperty

Identifies the CanAutoHideAreaExceedScreen dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CanAutoHideAreaExceedScreenProperty

Field Value

DependencyProperty

CloseButtonPositionProperty

Identifies the CloseButtonPosition Property.

Declaration

cs-api-definition
public static readonly DependencyProperty CloseButtonPositionProperty

Field Value

DependencyProperty

CloseEvent

Identifies the Close routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent CloseEvent

Field Value

RoutedEvent

CompassStyleProperty

Identifies the CompassStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CompassStyleProperty

Field Value

DependencyProperty

ConstraintAutoHideAreaProperty

Identifies the ConstraintAutoHideArea Property.

Declaration

cs-api-definition
public static readonly DependencyProperty ConstraintAutoHideAreaProperty

Field Value

DependencyProperty

CurrentSaveLoadLayoutHelperProperty

Identifies the CurrentSaveLoadLayoutHelper dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CurrentSaveLoadLayoutHelperProperty

Field Value

DependencyProperty

DockStateProperty

Identifies the DocumentsProperty dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DockStateProperty

Field Value

DependencyProperty

DockingPanesFactoryProperty

Identifies the DockingPanesFactory dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DockingPanesFactoryProperty

Field Value

DependencyProperty

DocumentHostProperty

Identifies the DocumentHost dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DocumentHostProperty

Field Value

DependencyProperty

DragDropModeProperty

Identifies the DragDropMode Property.

Declaration

cs-api-definition
public static readonly DependencyProperty DragDropModeProperty

Field Value

DependencyProperty

ExcludedFromLayoutSaveProperty

Identifies the ExcludedFromLayoutSave dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ExcludedFromLayoutSaveProperty

Field Value

DependencyProperty

FloatingLocationProperty

Identifies the DocumentsProperty dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FloatingLocationProperty

Field Value

DependencyProperty

FloatingSizeProperty

Identifies the FloatingSize dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FloatingSizeProperty

Field Value

DependencyProperty

FloatingWindowStateProperty

Identifies the FloatingWindowState dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FloatingWindowStateProperty

Field Value

DependencyProperty

FlyoutBehaviorProperty

Identifies the FlyoutBehavior Property.

Declaration

cs-api-definition
public static readonly DependencyProperty FlyoutBehaviorProperty

Field Value

DependencyProperty

FlyoutMinLengthProperty

Identifies the FlyoutMinSize Property.

Declaration

cs-api-definition
public static readonly DependencyProperty FlyoutMinLengthProperty

Field Value

DependencyProperty

GeneratedItemsFactoryProperty

Identifies the GeneratedItemsFactory dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty GeneratedItemsFactoryProperty

Field Value

DependencyProperty

HasDocumentHostProperty

Identifies the HasDocumentHost dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HasDocumentHostProperty

Field Value

DependencyProperty

IsAutoGeneratedProperty

Identifies the IsAutoGenerated Property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsAutoGeneratedProperty

Field Value

DependencyProperty

IsRestrictedProperty

Identifies the IsRestricted dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsRestrictedProperty

Field Value

DependencyProperty

IsRestrictedWhenMaximizedProperty

Identifies the IsRestrictedWhenMaximized Property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsRestrictedWhenMaximizedProperty

Field Value

DependencyProperty

NavigatorProperty

Identifies the Navigator dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty NavigatorProperty

Field Value

DependencyProperty

PaneActivationModeProperty

Identifies the PaneActivationMode Property.

Declaration

cs-api-definition
public static readonly DependencyProperty PaneActivationModeProperty

Field Value

DependencyProperty

PanesSourceProperty

Identifies the PanesSource dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PanesSourceProperty

Field Value

DependencyProperty

PinEvent

Identifies the Pin routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent PinEvent

Field Value

RoutedEvent

PreviewCloseEvent

Identifies the PreviewClose routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent PreviewCloseEvent

Field Value

RoutedEvent

PreviewPinEvent

Identifies the PreviewPin routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent PreviewPinEvent

Field Value

RoutedEvent

PreviewShowEvent

Identifies the PreviewShow routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent PreviewShowEvent

Field Value

RoutedEvent

PreviewUnpinEvent

Identifies the PreviewUnpin routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent PreviewUnpinEvent

Field Value

RoutedEvent

RestrictedAreaMarginProperty

Identifies the RestrictedAreaMargin Property.

Declaration

cs-api-definition
public static readonly DependencyProperty RestrictedAreaMarginProperty

Field Value

DependencyProperty

RetainPaneSizeModeProperty

Identifies the RetainPaneSizeMode Property.

Declaration

cs-api-definition
public static readonly DependencyProperty RetainPaneSizeModeProperty

Field Value

DependencyProperty

RootCompassStyleProperty

Identifies the RootCompassStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RootCompassStyleProperty

Field Value

DependencyProperty

SerializationTagProperty

Identifies the SerializationTag dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SerializationTagProperty

Field Value

DependencyProperty

ShowEvent

Identifies the Show routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent ShowEvent

Field Value

RoutedEvent

ShowResizePreviewProperty

Identifies ShowResizePreview dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ShowResizePreviewProperty

Field Value

DependencyProperty

UnpinEvent

Identifies the Unpin routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent UnpinEvent

Field Value

RoutedEvent

UseNativeInitialToolWindowDragProperty

Identifies the UseNativeInitialToolWindowDrag dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty UseNativeInitialToolWindowDragProperty

Field Value

DependencyProperty

VisualCueStyleProperty

Identifies the VisualCueStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty VisualCueStyleProperty

Field Value

DependencyProperty

Properties

ActivePane

Gets or sets the active pane.

Declaration

cs-api-definition
public RadPane ActivePane { get; set; }

Property Value

RadPane

AllowDragReorder

Gets or sets a value indicating whether reordering of RadPanes is allowed.

Declaration

cs-api-definition
public bool AllowDragReorder { get; set; }

Property Value

bool

AllowUnsafeMode

Gets or sets whether unsafe mode is allowed. Don't set this property to true if you are not sure you need to do this.

Declaration

cs-api-definition
public bool AllowUnsafeMode { get; set; }

Property Value

bool

CanAutoHideAreaExceedScreen

Gets or sets a value indicating whether the panes in the AutoHideArea could go outside of the screen. The default value is False - the unpinned panes respect the boundaries of the screen.

Declaration

cs-api-definition
public bool CanAutoHideAreaExceedScreen { get; set; }

Property Value

bool

CloseButtonPosition

Gets or sets the position of the CloseButton.

Declaration

cs-api-definition
public CloseButtonPosition CloseButtonPosition { get; set; }

Property Value

CloseButtonPosition

CompassStyle

Gets or sets the style for the Compass control.

Declaration

cs-api-definition
public Style CompassStyle { get; set; }

Property Value

Style

ConstraintAutoHideArea

Gets or sets a value indicating whether the RadDocking control should constraint its AutoHideArea to its size or not.

Declaration

cs-api-definition
public bool ConstraintAutoHideArea { get; set; }

Property Value

bool

CurrentSaveLoadLayoutHelper

Gets or sets the current save load layout helper.

Declaration

cs-api-definition
public SaveLoadLayoutHelper CurrentSaveLoadLayoutHelper { get; set; }

Property Value

SaveLoadLayoutHelper

The current save load layout helper.

DockingPanesFactory

Gets or sets the current factory for generating items in MVVM scenarios.

Declaration

cs-api-definition
public DockingPanesFactory DockingPanesFactory { get; set; }

Property Value

DockingPanesFactory

The current factory for generating items.

DocumentHost

Gets the content of the document host.

Declaration

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

Property Value

object

The content of the document host.

DragDropMode

Gets or sets the drag drop mode of the RadDocking control.

Declaration

cs-api-definition
public DockingDragDropMode DragDropMode { get; set; }

Property Value

DockingDragDropMode

FlyoutBehavior

Gets or sets the behavior of the flyout of the AutoHideArea.

Declaration

cs-api-definition
public IFlyoutBehavior FlyoutBehavior { get; set; }

Property Value

IFlyoutBehavior

Remarks

This property could be set to either one of the existing implementations of the IFlyoutBehavior interface (HoverFlyoutBehavior, ClickFlyoutBehavior) or to a custom implementation.

FlyoutMinLength

Gets or sets the minimum size of the flyout element of the auto-hide area. The size determines the minimum width or height depending on the auto-hide area position - left/right or top/bottom.

Declaration

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

Property Value

double

GeneratedItemsFactory

Gets or sets the current factory for generating items.

Declaration

cs-api-definition
public IGeneratedItemsFactory GeneratedItemsFactory { get; set; }

Property Value

IGeneratedItemsFactory

The current factory for generating items.

HasDocumentHost

Gets or sets a value indicating whether the RadDocking control has DocumentHost area or not.

Declaration

cs-api-definition
public bool HasDocumentHost { get; set; }

Property Value

bool

IsLayoutChanging

Gets a value indicating whether this instance is layout changing.

Declaration

cs-api-definition
public bool IsLayoutChanging { get; }

Property Value

bool

True if this instance is layout changing; otherwise, false.

Implements INotifyLayoutChange.IsLayoutChanging

IsRestricted

Gets or sets a value indicating whether the ToolWindows of the Docking control are restricted to the Restricted area of the control.

Declaration

cs-api-definition
public bool IsRestricted { get; set; }

Property Value

bool

True if ToolWindows of the Docking control are restricted; otherwise, false.

Remarks

Restricts the ToolWindows of the Docking control to its Restricted area and does not allow dragging out of it. The Restricted area is calculated using the RestrictedAreaMargin property and the application area (the containing window in desktop application and the browser's content in XBAP).

IsRestrictedWhenMaximized

Gets or sets whether the ToolWindow will maximize to the full screen size or to the set restricted area margin.

Declaration

cs-api-definition
public bool IsRestrictedWhenMaximized { get; set; }

Property Value

bool

LogicalChildren

Gets an enumerator for the logical child objects of the System.Windows.Controls.ItemsControl object.

Declaration

cs-api-definition
protected override IEnumerator LogicalChildren { get; }

Property Value

IEnumerator

Navigator

Gets or sets the PaneNavigator instance used in the docking control.

Declaration

cs-api-definition
public DockingNavigator Navigator { get; set; }

Property Value

DockingNavigator

PaneActivationMode

Gets or sets a value indicating which pane should be activated when the active pane is closed.

Declaration

cs-api-definition
public ActivationMode PaneActivationMode { get; set; }

Property Value

ActivationMode

Panes

Gets the list of panes.

Declaration

cs-api-definition
public IEnumerable<RadPane> Panes { get; }

Property Value

IEnumerable<RadPane>

The panes.

PanesSource

Gets or sets a collection used to generate the content of the RadDocking control.

Declaration

cs-api-definition
public IEnumerable PanesSource { get; set; }

Property Value

IEnumerable

The collection used to generate the content of the RadDocking control.

RestrictedAreaMargin

Gets or sets a value indicating the margin of the Restricted area from the application area when the IsRestricted property is set to true.

Declaration

cs-api-definition
public Thickness RestrictedAreaMargin { get; set; }

Property Value

Thickness

Remarks

The value of this property is used for calculating the Restricted area of the Docking used to restrict the ToolWindows of the Docking control when the IsRestricted property is set to true. The value of this property describes the margins of the Restricted area from the application area (the containing window in desktop application and the browser's content in XBAP).

RetainPaneSizeMode

Gets or sets a value indicating whether the pane size should be retained.

Declaration

cs-api-definition
public RetainSizeMode RetainPaneSizeMode { get; set; }

Property Value

RetainSizeMode

RootCompassStyle

Gets or sets the style for the root Compass control.

Declaration

cs-api-definition
public Style RootCompassStyle { get; set; }

Property Value

Style

ShowResizePreview

Gets or sets a value indicating whether a preview visual is shown while resizing.

Declaration

cs-api-definition
public bool ShowResizePreview { get; set; }

Property Value

bool

SplitContainers

Gets the list of all split containers.

Declaration

cs-api-definition
public IEnumerable<RadSplitContainer> SplitContainers { get; }

Property Value

IEnumerable<RadSplitContainer>

The split containers in the docking.

SplitItems

Gets the list of RadPaneGroup and RadSplitContainer objects.

Declaration

cs-api-definition
public IEnumerable<ISplitItem> SplitItems { get; }

Property Value

IEnumerable<ISplitItem>

The panes.

UseNativeInitialToolWindowDrag

Gets or sets a value indicating whether the native WPF Window drag should be used when undocking Pane or PaneGroup.

Declaration

cs-api-definition
public bool UseNativeInitialToolWindowDrag { get; set; }

Property Value

bool

VisualCueStyle

Gets or sets the style of the element that will be used as snapping visual cue.

Declaration

cs-api-definition
public Style VisualCueStyle { get; set; }

Property Value

Style

Methods

AttachDefaultSaveLoadLayoutHelper()

Attaches the default SaveLoadLayoutHelper.

Declaration

cs-api-definition
public void AttachDefaultSaveLoadLayoutHelper()

DetachCurrentSaveLoadLayoutHelper()

Detaches the current save load layout helper.

Declaration

cs-api-definition
public void DetachCurrentSaveLoadLayoutHelper()

GetDockState(DependencyObject)

Gets the value of DockState attached property. By design this method should accepts objects of type RadSplitContainer

Declaration

cs-api-definition
public static DockState GetDockState(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

DockState

GetExcludedFromLayoutSave(DependencyObject)

Gets whether the element is excluded from the saving and loading logic of RadDocking's of layout.

Declaration

cs-api-definition
public static bool GetExcludedFromLayoutSave(DependencyObject obj)

Parameters

obj

DependencyObject

The object.

Returns

bool

GetFloatingLocation(DependencyObject)

Gets the value of FloatingLocation attached property.

Declaration

cs-api-definition
public static Point GetFloatingLocation(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

Point

GetFloatingSize(DependencyObject)

Gets the value of FloatingSize attached property.

Declaration

cs-api-definition
public static Size GetFloatingSize(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

Size

GetFloatingWindowState(DependencyObject)

Gets the value of FloatingWindowState attached property.

Declaration

cs-api-definition
public static WindowState GetFloatingWindowState(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

WindowState

GetIsAutoGenerated(DependencyObject)

Gets whether the elements is auto-generated from the Docking control or is set by the user as one.

Declaration

cs-api-definition
public static bool GetIsAutoGenerated(DependencyObject obj)

Parameters

obj

DependencyObject

The object.

Returns

bool

GetRadPane(UIElement)

Finds RadPane by visual element using the position of the element in the visual tree. This method implements internal logic of the RadDocking control that is able to associate a RadPane control to a visual element.

Declaration

cs-api-definition
public static RadPane GetRadPane(UIElement element)

Parameters

element

UIElement

The element to associate with a RadPane control.

Returns

RadPane

The RadPane control, associated with the provided visual element. This method returns null if not able to find appropriate RadPane control.

GetSerializationTag(DependencyObject)

Gets the serialization tag.

Declaration

cs-api-definition
public static string GetSerializationTag(DependencyObject obj)

Parameters

obj

DependencyObject

The object.

Returns

string

LoadLayout(Stream)

Loads the layout.

Declaration

cs-api-definition
public void LoadLayout(Stream source)

Parameters

source

Stream

The source.

LoadLayout(Stream, bool)

Loads the layout.

Declaration

cs-api-definition
public void LoadLayout(Stream source, bool raiseEventsIfNoSerializationTag)

Parameters

source

Stream

The source.

raiseEventsIfNoSerializationTag

bool

If set to true [raise events if no tag].

MeasureOverride(Size)

Provides the behavior for the "measure" pass of Silverlight layout. Classes can override this method to define their own measure pass behavior.

Declaration

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

Parameters

availableSize

Size

The available size that this object can give to child objects. Infinity can be specified as a value to indicate that the object will size to whatever content is available.

Returns

Size

The size that this object determines it needs during layout, based on its calculations of child object allotted sizes.

OnActivePaneChanged(ActivePangeChangedEventArgs)

Raises the routed event. This method is called when the ActivePane property is changed.

Declaration

cs-api-definition
protected virtual void OnActivePaneChanged(ActivePangeChangedEventArgs e)

Parameters

e

ActivePangeChangedEventArgs

The ActivePangeChangedEventArgs instance containing the event data.

OnApplyTemplate()

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

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
public override void OnApplyTemplate()

OnClose(StateChangeEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnClose(StateChangeEventArgs args)

Parameters

args

StateChangeEventArgs

The StateChangeEventArgs instance containing the event data.

OnCreateAutomationPeer()

Returns class-specific System.Windows.Automation.Peers.AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

The type-specific System.Windows.Automation.Peers.AutomationPeer implementation.

OnCustomElementLoading(LayoutSerializationCustomLoadingEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnCustomElementLoading(LayoutSerializationCustomLoadingEventArgs args)

Parameters

args

LayoutSerializationCustomLoadingEventArgs

The LayoutSerializationCustomLoadingEventArgs instance containing the event data.

OnDockingElementDragged(Point, object)

Called when a dock item is dragged.

Declaration

cs-api-definition
protected virtual void OnDockingElementDragged(Point globalPosition, object draggedElement)

Parameters

globalPosition

Point

The global position of the mouse.

draggedElement

object

The element that was dragged.

OnDragContainer(RadSplitContainer, Point)

Call this method to notify the Docking control that a SplitContainer is being dragged by the user.

Declaration

cs-api-definition
protected void OnDragContainer(RadSplitContainer container, Point globalMousePosition)

Parameters

container

RadSplitContainer

The container, dragged by the user.

globalMousePosition

Point

The global position of the mouse.

OnDropContainer(RadSplitContainer, Point)

Call this method to notify the Docking control that a SplitContainer is being dropped by the user.

Declaration

cs-api-definition
protected bool OnDropContainer(RadSplitContainer container, Point globalMousePosition)

Parameters

container

RadSplitContainer

The container, dragged by the user.

globalMousePosition

Point

The global position of the mouse.

Returns

bool

True if the drop was successful; otherwise - false. A drop is successful if the element is dropped over the compass.

OnElementCleaned(LayoutSerializationEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnElementCleaned(LayoutSerializationEventArgs args)

Parameters

args

LayoutSerializationEventArgs

The LayoutSerializationEventArgs instance containing the event data.

OnElementLayoutCleaning(LayoutSerializationCleaningEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnElementLayoutCleaning(LayoutSerializationCleaningEventArgs args)

Parameters

args

LayoutSerializationCleaningEventArgs

The LayoutSerializationCleaningEventArgs instance containing the event data.

OnElementLayoutSaving(LayoutSerializationSavingEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnElementLayoutSaving(LayoutSerializationSavingEventArgs args)

Parameters

args

LayoutSerializationSavingEventArgs

The LayoutSerializationSavingEventArgs instance containing the event data.

OnElementLoaded(LayoutSerializationEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnElementLoaded(LayoutSerializationEventArgs args)

Parameters

args

LayoutSerializationEventArgs

The LayoutSerializationEventArgs instance containing the event data.

OnElementLoading(LayoutSerializationLoadingEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnElementLoading(LayoutSerializationLoadingEventArgs args)

Parameters

args

LayoutSerializationLoadingEventArgs

The LayoutSerializationEventArgs instance containing the event data.

OnElementSaved(LayoutSerializationEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnElementSaved(LayoutSerializationEventArgs args)

Parameters

args

LayoutSerializationEventArgs

The LayoutSerializationEventArgs instance containing the event data.

OnInitialized(EventArgs)

Raises the event and sets from the active theme.

Declaration

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

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

OnItemsChanged(NotifyCollectionChangedEventArgs)

Raises the event.

Declaration

cs-api-definition
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)

Parameters

e

NotifyCollectionChangedEventArgs

The NotifyCollectionChangedEventArgs instance containing the event data.

OnKeyDown(KeyEventArgs)

Called before the event occurs.

Declaration

cs-api-definition
protected override void OnKeyDown(KeyEventArgs e)

Parameters

e

KeyEventArgs

OnLostKeyboardFocus(KeyboardFocusChangedEventArgs)

Invoked when an unhandled System.Windows.Input.Keyboard.LostKeyboardFocus attached event reaches an element in its route that is derived from this class. Tries to close the AutoHideArea if possible.

Declaration

cs-api-definition
protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)

Parameters

e

KeyboardFocusChangedEventArgs

The System.Windows.Input.KeyboardFocusChangedEventArgs that contains event data.

OnPaneGroupCreated(ElementCreatedEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnPaneGroupCreated(ElementCreatedEventArgs args)

Parameters

args

ElementCreatedEventArgs

The ElementCreatedEventArgs instance containing the event data.

OnPin(StateChangeEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnPin(StateChangeEventArgs args)

Parameters

args

StateChangeEventArgs

The StateChangeEventArgs instance containing the event data.

OnPreviewClose(StateChangeEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual bool OnPreviewClose(StateChangeEventArgs args)

Parameters

args

StateChangeEventArgs

The StateChangeEventArgs instance containing the event data.

Returns

bool

OnPreviewPin(StateChangeEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual bool OnPreviewPin(StateChangeEventArgs args)

Parameters

args

StateChangeEventArgs

The StateChangeEventArgs instance containing the event data.

Returns

bool

OnPreviewShow(StateChangeEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual bool OnPreviewShow(StateChangeEventArgs args)

Parameters

args

StateChangeEventArgs

The StateChangeEventArgs instance containing the event data.

Returns

bool

OnPreviewShowCompass(PreviewShowCompassEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnPreviewShowCompass(PreviewShowCompassEventArgs args)

Parameters

args

PreviewShowCompassEventArgs

The PreviewShowCompassEventArgs instance containing the event data.

OnPreviewUnpin(StateChangeEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual bool OnPreviewUnpin(StateChangeEventArgs args)

Parameters

args

StateChangeEventArgs

The StateChangeEventArgs instance containing the event data.

Returns

bool

OnShow(StateChangeEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnShow(StateChangeEventArgs args)

Parameters

args

StateChangeEventArgs

The StateChangeEventArgs instance containing the event data.

OnSplitContainerCreated(ElementCreatedEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnSplitContainerCreated(ElementCreatedEventArgs args)

Parameters

args

ElementCreatedEventArgs

The ElementCreatedEventArgs instance containing the event data.

OnToolWindowCreated(ElementCreatedEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnToolWindowCreated(ElementCreatedEventArgs args)

Parameters

args

ElementCreatedEventArgs

The ElementCreatedEventArgs instance containing the event data.

OnUnpin(StateChangeEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnUnpin(StateChangeEventArgs args)

Parameters

args

StateChangeEventArgs

The StateChangeEventArgs instance containing the event data.

OpenInToolWindow(RadPane, bool)

Opens a ToolWindow for a RadPane and returns the window.

Declaration

cs-api-definition
protected virtual ToolWindow OpenInToolWindow(RadPane pane, bool openImmediately = true)

Parameters

pane

RadPane

The RadPane for which to open the window.

openImmediately

bool

Indicates if the method will call the ShowWindow() method of the RadDocking. Default value is 'True'.

Returns

ToolWindow

The newly opened window.

OpenInToolWindow(RadPaneGroup, bool)

Opens a ToolWindow for a RadPaneGroup and returns the window.

Declaration

cs-api-definition
protected virtual ToolWindow OpenInToolWindow(RadPaneGroup radPaneGroup, bool openImmediately = true)

Parameters

radPaneGroup

RadPaneGroup

The RadPaneGroup for which to open the window.

openImmediately

bool

Indicates if the method will call the ShowWindow() method of the RadDocking. Default value is 'True'.

Returns

ToolWindow

The newly opened window.

OpenInToolWindow(RadSplitContainer, bool)

Opens a ToolWindow for a RadSplitContainer and returns the window.

Declaration

cs-api-definition
protected virtual ToolWindow OpenInToolWindow(RadSplitContainer container, bool openImmediately = true)

Parameters

container

RadSplitContainer

The RadSplitContainer for which to open the window.

openImmediately

bool

Indicates if the method will call the ShowWindow() method of the RadDocking. Default value is 'True'.

Returns

ToolWindow

The newly opened window.

ResetTheme()

Resets the theme.

Declaration

cs-api-definition
public void ResetTheme()

SaveLayout(Stream)

Saves the layout.

Declaration

cs-api-definition
public void SaveLayout(Stream destination)

Parameters

destination

Stream

The destination.

SaveLayout(Stream, bool)

Saves the layout.

Declaration

cs-api-definition
public void SaveLayout(Stream destination, bool raiseEventsIfNoSerializationTag)

Parameters

destination

Stream

The destination.

raiseEventsIfNoSerializationTag

bool

If set to true [raise events if no tag].

SetDockState(DependencyObject, DockState)

Sets the value of DockState attached property.

Declaration

cs-api-definition
public static void SetDockState(DependencyObject obj, DockState value)

Parameters

obj

DependencyObject

value

DockState

SetExcludedFromLayoutSave(DependencyObject, bool)

Sets whether the element is excluded from the saving and loading logic of RadDocking's of layout.

Declaration

cs-api-definition
public static void SetExcludedFromLayoutSave(DependencyObject obj, bool value)

Parameters

obj

DependencyObject

The object.

value

bool

The value.

SetFloatingLocation(DependencyObject, Point)

Sets the value of FloatingLocation attached property.

Declaration

cs-api-definition
public static void SetFloatingLocation(DependencyObject obj, Point value)

Parameters

obj

DependencyObject

value

Point

SetFloatingSize(DependencyObject, Size)

Sets the value of FloatingSize attached property.

Declaration

cs-api-definition
public static void SetFloatingSize(DependencyObject obj, Size value)

Parameters

obj

DependencyObject

value

Size

SetFloatingWindowState(DependencyObject, WindowState)

Sets the value of FloatingWindowState attached property.

Declaration

cs-api-definition
public static void SetFloatingWindowState(DependencyObject obj, WindowState value)

Parameters

obj

DependencyObject

value

WindowState

SetIsAutoGenerated(DependencyObject, bool)

Sets whether the element is auto-generated from the Docking control or is set by the user as one.

Declaration

cs-api-definition
public static void SetIsAutoGenerated(DependencyObject obj, bool value)

Parameters

obj

DependencyObject

The object.

value

bool

The value.

SetSerializationTag(DependencyObject, string)

Sets the serialization tag.

Declaration

cs-api-definition
public static void SetSerializationTag(DependencyObject obj, string value)

Parameters

obj

DependencyObject

The object.

value

string

The value.

Events

ActivePaneChanged

Occurs when the active pane is changed.

Declaration

cs-api-definition
public event EventHandler<ActivePangeChangedEventArgs> ActivePaneChanged

Event Value

EventHandler<ActivePangeChangedEventArgs>

Close

Occurs when a pane or a group is closed.

Declaration

cs-api-definition
public event EventHandler<StateChangeEventArgs> Close

Event Value

EventHandler<StateChangeEventArgs>

CustomElementLoading

Occurs when an custom element starts loading.

Declaration

cs-api-definition
public event EventHandler<LayoutSerializationCustomLoadingEventArgs> CustomElementLoading

Event Value

EventHandler<LayoutSerializationCustomLoadingEventArgs>

ElementCleaned

Occurs when an element is cleaned up.

Declaration

cs-api-definition
public event EventHandler<LayoutSerializationEventArgs> ElementCleaned

Event Value

EventHandler<LayoutSerializationEventArgs>

ElementLayoutCleaning

Occurs when an element starts cleaning up.

Declaration

cs-api-definition
public event EventHandler<LayoutSerializationCleaningEventArgs> ElementLayoutCleaning

Event Value

EventHandler<LayoutSerializationCleaningEventArgs>

ElementLayoutSaving

Occurs when an element starts saving.

Declaration

cs-api-definition
public event EventHandler<LayoutSerializationSavingEventArgs> ElementLayoutSaving

Event Value

EventHandler<LayoutSerializationSavingEventArgs>

ElementLoaded

Occurs when an element is loaded.

Declaration

cs-api-definition
public event EventHandler<LayoutSerializationEventArgs> ElementLoaded

Event Value

EventHandler<LayoutSerializationEventArgs>

ElementLoading

Occurs when an element starts loading.

Declaration

cs-api-definition
public event EventHandler<LayoutSerializationLoadingEventArgs> ElementLoading

Event Value

EventHandler<LayoutSerializationLoadingEventArgs>

ElementSaved

Occurs when an element is saved.

Declaration

cs-api-definition
public event EventHandler<LayoutSerializationEventArgs> ElementSaved

Event Value

EventHandler<LayoutSerializationEventArgs>

LayoutChangeEnded

Occurs when the layout change is ended.

Declaration

cs-api-definition
public event EventHandler LayoutChangeEnded

Event Value

EventHandler

Implements INotifyLayoutChange.LayoutChangeEnded

LayoutChangeStarted

Occurs when the layout change is started.

Declaration

cs-api-definition
public event EventHandler LayoutChangeStarted

Event Value

EventHandler

Implements INotifyLayoutChange.LayoutChangeStarted

PaneGroupCreated

Occurs when an RadPaneGroup instance is automatically created by the RadDocking control.

Declaration

cs-api-definition
public event EventHandler<ElementCreatedEventArgs> PaneGroupCreated

Event Value

EventHandler<ElementCreatedEventArgs>

PaneStateChange

Occurs when the state of a RadPane is changed.

Declaration

cs-api-definition
public event EventHandler<RadRoutedEventArgs> PaneStateChange

Event Value

EventHandler<RadRoutedEventArgs>

Pin

Occurs when a pane or a group is pined.

Declaration

cs-api-definition
public event EventHandler<StateChangeEventArgs> Pin

Event Value

EventHandler<StateChangeEventArgs>

PreviewClose

Occurs when a pane or a group is closed.

Declaration

cs-api-definition
public event EventHandler<StateChangeEventArgs> PreviewClose

Event Value

EventHandler<StateChangeEventArgs>

PreviewPin

Occurs when a pane or a group is pined.

Declaration

cs-api-definition
public event EventHandler<StateChangeEventArgs> PreviewPin

Event Value

EventHandler<StateChangeEventArgs>

PreviewShow

Occurs when a pane or a group is shown.

Declaration

cs-api-definition
public event EventHandler<StateChangeEventArgs> PreviewShow

Event Value

EventHandler<StateChangeEventArgs>

PreviewShowCompass

Occurs before the compass is shown.

Declaration

cs-api-definition
public event EventHandler<PreviewShowCompassEventArgs> PreviewShowCompass

Event Value

EventHandler<PreviewShowCompassEventArgs>

PreviewUnpin

Occurs when a pane or a group is unpinned.

Declaration

cs-api-definition
public event EventHandler<StateChangeEventArgs> PreviewUnpin

Event Value

EventHandler<StateChangeEventArgs>

Show

Occurs when a pane or a group is shown.

Declaration

cs-api-definition
public event EventHandler<StateChangeEventArgs> Show

Event Value

EventHandler<StateChangeEventArgs>

SplitContainerCreated

Occurs when an RadSplitContainer instance is automatically created by the RadDocking control.

Declaration

cs-api-definition
public event EventHandler<ElementCreatedEventArgs> SplitContainerCreated

Event Value

EventHandler<ElementCreatedEventArgs>

ToolWindowCreated

Occurs when an ToolWindow instance is automatically created by the RadDocking control.

Declaration

cs-api-definition
public event EventHandler<ElementCreatedEventArgs> ToolWindowCreated

Event Value

EventHandler<ElementCreatedEventArgs>

Unpin

Occurs when a pane or a group is unpinned.

Declaration

cs-api-definition
public event EventHandler<StateChangeEventArgs> Unpin

Event Value

EventHandler<StateChangeEventArgs>

In this article
DefinitionConstructorsRadDocking()FieldsActivePaneChangedEventActivePanePropertyAllowDragReorderPropertyCanAutoHideAreaExceedScreenPropertyCloseButtonPositionPropertyCloseEventCompassStylePropertyConstraintAutoHideAreaPropertyCurrentSaveLoadLayoutHelperPropertyDockStatePropertyDockingPanesFactoryPropertyDocumentHostPropertyDragDropModePropertyExcludedFromLayoutSavePropertyFloatingLocationPropertyFloatingSizePropertyFloatingWindowStatePropertyFlyoutBehaviorPropertyFlyoutMinLengthPropertyGeneratedItemsFactoryPropertyHasDocumentHostPropertyIsAutoGeneratedPropertyIsRestrictedPropertyIsRestrictedWhenMaximizedPropertyNavigatorPropertyPaneActivationModePropertyPanesSourcePropertyPinEventPreviewCloseEventPreviewPinEventPreviewShowEventPreviewUnpinEventRestrictedAreaMarginPropertyRetainPaneSizeModePropertyRootCompassStylePropertySerializationTagPropertyShowEventShowResizePreviewPropertyUnpinEventUseNativeInitialToolWindowDragPropertyVisualCueStylePropertyPropertiesActivePaneAllowDragReorderAllowUnsafeModeCanAutoHideAreaExceedScreenCloseButtonPositionCompassStyleConstraintAutoHideAreaCurrentSaveLoadLayoutHelperDockingPanesFactoryDocumentHostDragDropModeFlyoutBehaviorFlyoutMinLengthGeneratedItemsFactoryHasDocumentHostIsLayoutChangingIsRestrictedIsRestrictedWhenMaximizedLogicalChildrenNavigatorPaneActivationModePanesPanesSourceRestrictedAreaMarginRetainPaneSizeModeRootCompassStyleShowResizePreviewSplitContainersSplitItemsUseNativeInitialToolWindowDragVisualCueStyleMethodsAttachDefaultSaveLoadLayoutHelper()DetachCurrentSaveLoadLayoutHelper()GetDockState(DependencyObject)GetExcludedFromLayoutSave(DependencyObject)GetFloatingLocation(DependencyObject)GetFloatingSize(DependencyObject)GetFloatingWindowState(DependencyObject)GetIsAutoGenerated(DependencyObject)GetRadPane(UIElement)GetSerializationTag(DependencyObject)LoadLayout(Stream)LoadLayout(Stream, bool)MeasureOverride(Size)OnActivePaneChanged(ActivePangeChangedEventArgs)OnApplyTemplate()OnClose(StateChangeEventArgs)OnCreateAutomationPeer()OnCustomElementLoading(LayoutSerializationCustomLoadingEventArgs)OnDockingElementDragged(Point, object)OnDragContainer(RadSplitContainer, Point)OnDropContainer(RadSplitContainer, Point)OnElementCleaned(LayoutSerializationEventArgs)OnElementLayoutCleaning(LayoutSerializationCleaningEventArgs)OnElementLayoutSaving(LayoutSerializationSavingEventArgs)OnElementLoaded(LayoutSerializationEventArgs)OnElementLoading(LayoutSerializationLoadingEventArgs)OnElementSaved(LayoutSerializationEventArgs)OnInitialized(EventArgs)OnItemsChanged(NotifyCollectionChangedEventArgs)OnKeyDown(KeyEventArgs)OnLostKeyboardFocus(KeyboardFocusChangedEventArgs)OnPaneGroupCreated(ElementCreatedEventArgs)OnPin(StateChangeEventArgs)OnPreviewClose(StateChangeEventArgs)OnPreviewPin(StateChangeEventArgs)OnPreviewShow(StateChangeEventArgs)OnPreviewShowCompass(PreviewShowCompassEventArgs)OnPreviewUnpin(StateChangeEventArgs)OnShow(StateChangeEventArgs)OnSplitContainerCreated(ElementCreatedEventArgs)OnToolWindowCreated(ElementCreatedEventArgs)OnUnpin(StateChangeEventArgs)OpenInToolWindow(RadPane, bool)OpenInToolWindow(RadPaneGroup, bool)OpenInToolWindow(RadSplitContainer, bool)ResetTheme()SaveLayout(Stream)SaveLayout(Stream, bool)SetDockState(DependencyObject, DockState)SetExcludedFromLayoutSave(DependencyObject, bool)SetFloatingLocation(DependencyObject, Point)SetFloatingSize(DependencyObject, Size)SetFloatingWindowState(DependencyObject, WindowState)SetIsAutoGenerated(DependencyObject, bool)SetSerializationTag(DependencyObject, string)EventsActivePaneChangedCloseCustomElementLoadingElementCleanedElementLayoutCleaningElementLayoutSavingElementLoadedElementLoadingElementSavedLayoutChangeEndedLayoutChangeStartedPaneGroupCreatedPaneStateChangePinPreviewClosePreviewPinPreviewShowPreviewShowCompassPreviewUnpinShowSplitContainerCreatedToolWindowCreatedUnpin
Not finding the help you need?
Contact Support