ClassRadDocking
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:
[SuppressMessage("Microsoft.Maintainability", "CA1506:AvoidExcessiveClassCoupling")]
[TelerikToolboxCategory("Containers")]
public class RadDocking : ItemsControl, INotifyLayoutChange
Inheritance: objectRadDocking
Implements:
Constructors
RadDocking()
Initializes a new instance of the RadDocking class.
Declaration
public RadDocking()
Fields
ActivePaneChangedEvent
Identifies the ActivePaneChanged routed event.
Declaration
public static readonly RoutedEvent ActivePaneChangedEvent
Field Value
RoutedEvent
ActivePaneProperty
Identifies ActivePane dependency property.
Declaration
public static readonly DependencyProperty ActivePaneProperty
Field Value
DependencyProperty
AllowDragReorderProperty
Identifies the
Declaration
public static readonly DependencyProperty AllowDragReorderProperty
Field Value
DependencyProperty
CanAutoHideAreaExceedScreenProperty
Identifies the
Declaration
public static readonly DependencyProperty CanAutoHideAreaExceedScreenProperty
Field Value
DependencyProperty
CloseButtonPositionProperty
Identifies the
Declaration
public static readonly DependencyProperty CloseButtonPositionProperty
Field Value
DependencyProperty
CloseEvent
Identifies the Close routed event.
Declaration
public static readonly RoutedEvent CloseEvent
Field Value
RoutedEvent
CompassStyleProperty
Identifies the CompassStyle dependency property.
Declaration
public static readonly DependencyProperty CompassStyleProperty
Field Value
DependencyProperty
ConstraintAutoHideAreaProperty
Identifies the
Declaration
public static readonly DependencyProperty ConstraintAutoHideAreaProperty
Field Value
DependencyProperty
CurrentSaveLoadLayoutHelperProperty
Identifies the CurrentSaveLoadLayoutHelper dependency property.
Declaration
public static readonly DependencyProperty CurrentSaveLoadLayoutHelperProperty
Field Value
DependencyProperty
DockStateProperty
Identifies the DocumentsProperty dependency property.
Declaration
public static readonly DependencyProperty DockStateProperty
Field Value
DependencyProperty
DockingPanesFactoryProperty
Identifies the DockingPanesFactory dependency property.
Declaration
public static readonly DependencyProperty DockingPanesFactoryProperty
Field Value
DependencyProperty
DocumentHostProperty
Identifies the DocumentHost dependency property.
Declaration
public static readonly DependencyProperty DocumentHostProperty
Field Value
DependencyProperty
DragDropModeProperty
Identifies the
Declaration
public static readonly DependencyProperty DragDropModeProperty
Field Value
DependencyProperty
ExcludedFromLayoutSaveProperty
Identifies the ExcludedFromLayoutSave dependency property.
Declaration
public static readonly DependencyProperty ExcludedFromLayoutSaveProperty
Field Value
DependencyProperty
FloatingLocationProperty
Identifies the DocumentsProperty dependency property.
Declaration
public static readonly DependencyProperty FloatingLocationProperty
Field Value
DependencyProperty
FloatingSizeProperty
Identifies the FloatingSize dependency property.
Declaration
public static readonly DependencyProperty FloatingSizeProperty
Field Value
DependencyProperty
FloatingWindowStateProperty
Identifies the FloatingWindowState dependency property.
Declaration
public static readonly DependencyProperty FloatingWindowStateProperty
Field Value
DependencyProperty
FlyoutBehaviorProperty
Identifies the
Declaration
public static readonly DependencyProperty FlyoutBehaviorProperty
Field Value
DependencyProperty
FlyoutMinLengthProperty
Identifies the
Declaration
public static readonly DependencyProperty FlyoutMinLengthProperty
Field Value
DependencyProperty
GeneratedItemsFactoryProperty
Identifies the GeneratedItemsFactory dependency property.
Declaration
public static readonly DependencyProperty GeneratedItemsFactoryProperty
Field Value
DependencyProperty
HasDocumentHostProperty
Identifies the HasDocumentHost dependency property.
Declaration
public static readonly DependencyProperty HasDocumentHostProperty
Field Value
DependencyProperty
IsAutoGeneratedProperty
Identifies the
Declaration
public static readonly DependencyProperty IsAutoGeneratedProperty
Field Value
DependencyProperty
IsRestrictedProperty
Identifies the IsRestricted dependency property.
Declaration
public static readonly DependencyProperty IsRestrictedProperty
Field Value
DependencyProperty
IsRestrictedWhenMaximizedProperty
Identifies the
Declaration
public static readonly DependencyProperty IsRestrictedWhenMaximizedProperty
Field Value
DependencyProperty
NavigatorProperty
Identifies the Navigator dependency property.
Declaration
public static readonly DependencyProperty NavigatorProperty
Field Value
DependencyProperty
PaneActivationModeProperty
Identifies the
Declaration
public static readonly DependencyProperty PaneActivationModeProperty
Field Value
DependencyProperty
PanesSourceProperty
Identifies the PanesSource dependency property.
Declaration
public static readonly DependencyProperty PanesSourceProperty
Field Value
DependencyProperty
PinEvent
Identifies the Pin routed event.
Declaration
public static readonly RoutedEvent PinEvent
Field Value
RoutedEvent
PreviewCloseEvent
Identifies the PreviewClose routed event.
Declaration
public static readonly RoutedEvent PreviewCloseEvent
Field Value
RoutedEvent
PreviewPinEvent
Identifies the PreviewPin routed event.
Declaration
public static readonly RoutedEvent PreviewPinEvent
Field Value
RoutedEvent
PreviewShowEvent
Identifies the PreviewShow routed event.
Declaration
public static readonly RoutedEvent PreviewShowEvent
Field Value
RoutedEvent
PreviewUnpinEvent
Identifies the PreviewUnpin routed event.
Declaration
public static readonly RoutedEvent PreviewUnpinEvent
Field Value
RoutedEvent
RestrictedAreaMarginProperty
Identifies the
Declaration
public static readonly DependencyProperty RestrictedAreaMarginProperty
Field Value
DependencyProperty
RetainPaneSizeModeProperty
Identifies the
Declaration
public static readonly DependencyProperty RetainPaneSizeModeProperty
Field Value
DependencyProperty
RootCompassStyleProperty
Identifies the RootCompassStyle dependency property.
Declaration
public static readonly DependencyProperty RootCompassStyleProperty
Field Value
DependencyProperty
SerializationTagProperty
Identifies the SerializationTag dependency property.
Declaration
public static readonly DependencyProperty SerializationTagProperty
Field Value
DependencyProperty
ShowEvent
Identifies the Show routed event.
Declaration
public static readonly RoutedEvent ShowEvent
Field Value
RoutedEvent
ShowResizePreviewProperty
Identifies ShowResizePreview dependency property.
Declaration
public static readonly DependencyProperty ShowResizePreviewProperty
Field Value
DependencyProperty
UnpinEvent
Identifies the Unpin routed event.
Declaration
public static readonly RoutedEvent UnpinEvent
Field Value
RoutedEvent
UseNativeInitialToolWindowDragProperty
Identifies the
Declaration
public static readonly DependencyProperty UseNativeInitialToolWindowDragProperty
Field Value
DependencyProperty
VisualCueStyleProperty
Identifies the VisualCueStyle dependency property.
Declaration
public static readonly DependencyProperty VisualCueStyleProperty
Field Value
DependencyProperty
Properties
ActivePane
Gets or sets the active pane.
AllowDragReorder
Gets or sets a value indicating whether reordering of RadPanes is allowed.
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.
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
public bool CanAutoHideAreaExceedScreen { get; set; }
Property Value
CloseButtonPosition
Gets or sets the position of the CloseButton.
Declaration
public CloseButtonPosition CloseButtonPosition { get; set; }
Property Value
CompassStyle
Gets or sets the style for the Compass control.
Declaration
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.
CurrentSaveLoadLayoutHelper
Gets or sets the current save load layout helper.
Declaration
public SaveLoadLayoutHelper CurrentSaveLoadLayoutHelper { get; set; }
Property Value
The current save load layout helper.
DockingPanesFactory
Gets or sets the current factory for generating items in MVVM scenarios.
Declaration
public DockingPanesFactory DockingPanesFactory { get; set; }
Property Value
The current factory for generating items.
DocumentHost
Gets the content of the document host.
Declaration
public object DocumentHost { get; set; }
Property Value
The content of the document host.
DragDropMode
Gets or sets the drag drop mode of the RadDocking control.
Declaration
public DockingDragDropMode DragDropMode { get; set; }
Property Value
FlyoutBehavior
Gets or sets the behavior of the flyout of the AutoHideArea.
Declaration
public IFlyoutBehavior FlyoutBehavior { get; set; }
Property Value
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.
GeneratedItemsFactory
Gets or sets the current factory for generating items.
Declaration
public IGeneratedItemsFactory GeneratedItemsFactory { get; set; }
Property Value
The current factory for generating items.
HasDocumentHost
Gets or sets a value indicating whether the RadDocking control has DocumentHost area or not.
IsLayoutChanging
Gets a value indicating whether this instance is layout changing.
Declaration
public bool IsLayoutChanging { get; }
Property Value
True if this instance is layout changing; otherwise, false.
Implements
IsRestricted
Gets or sets a value indicating whether the ToolWindows of the Docking control are restricted to the Restricted area of the control.
Declaration
public bool IsRestricted { get; set; }
Property Value
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
public bool IsRestrictedWhenMaximized { get; set; }
Property Value
LogicalChildren
Gets an enumerator for the logical child objects of the System.Windows.Controls.ItemsControl object.
Declaration
protected override IEnumerator LogicalChildren { get; }
Property Value
Navigator
Gets or sets the PaneNavigator instance used in the docking control.
Declaration
public DockingNavigator Navigator { get; set; }
Property Value
PaneActivationMode
Gets or sets a value indicating which pane should be activated when the active pane is closed.
Declaration
public ActivationMode PaneActivationMode { get; set; }
Property Value
Panes
Gets the list of panes.
Declaration
public IEnumerable<RadPane> Panes { get; }
Property Value
The panes.
PanesSource
Gets or sets a collection used to generate the content of the RadDocking control.
Declaration
public IEnumerable PanesSource { get; set; }
Property Value
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
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
public RetainSizeMode RetainPaneSizeMode { get; set; }
Property Value
RootCompassStyle
Gets or sets the style for the root Compass control.
Declaration
public Style RootCompassStyle { get; set; }
Property Value
Style
ShowResizePreview
Gets or sets a value indicating whether a preview visual is shown while resizing.
SplitContainers
Gets the list of all split containers.
Declaration
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
public IEnumerable<ISplitItem> SplitItems { get; }
Property Value
The panes.
UseNativeInitialToolWindowDrag
Gets or sets a value indicating whether the native WPF Window drag should be used when undocking Pane or PaneGroup.
Declaration
public bool UseNativeInitialToolWindowDrag { get; set; }
Property Value
VisualCueStyle
Gets or sets the style of the element that will be used as snapping visual cue.
Declaration
public Style VisualCueStyle { get; set; }
Property Value
Style
Methods
AttachDefaultSaveLoadLayoutHelper()
Attaches the default SaveLoadLayoutHelper.
Declaration
public void AttachDefaultSaveLoadLayoutHelper()
DetachCurrentSaveLoadLayoutHelper()
Detaches the current save load layout helper.
Declaration
public void DetachCurrentSaveLoadLayoutHelper()
GetDockState(DependencyObject)
Gets the value of DockState attached property. By design this method should accepts objects of type RadSplitContainer
Declaration
public static DockState GetDockState(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
GetExcludedFromLayoutSave(DependencyObject)
Gets whether the element is excluded from the saving and loading logic of RadDocking's of layout.
Declaration
public static bool GetExcludedFromLayoutSave(DependencyObject obj)
Parameters
obj
DependencyObject
The object.
Returns
GetFloatingLocation(DependencyObject)
Gets the value of FloatingLocation attached property.
Declaration
public static Point GetFloatingLocation(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
Point
GetFloatingSize(DependencyObject)
Gets the value of FloatingSize attached property.
Declaration
public static Size GetFloatingSize(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
Size
GetFloatingWindowState(DependencyObject)
Gets the value of FloatingWindowState attached property.
Declaration
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
public static bool GetIsAutoGenerated(DependencyObject obj)
Parameters
obj
DependencyObject
The object.
Returns
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
public static RadPane GetRadPane(UIElement element)
Parameters
element
UIElement
The element to associate with a RadPane control.
Returns
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
public static string GetSerializationTag(DependencyObject obj)
Parameters
obj
DependencyObject
The object.
Returns
LoadLayout(Stream)
Loads the layout.
Declaration
public void LoadLayout(Stream source)
Parameters
source
The source.
LoadLayout(Stream, bool)
Loads the layout.
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
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
protected virtual void OnActivePaneChanged(ActivePangeChangedEventArgs e)
Parameters
e
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
[SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
public override void OnApplyTemplate()
OnClose(StateChangeEventArgs)
Raises the event.
Declaration
protected virtual void OnClose(StateChangeEventArgs args)
Parameters
args
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
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
The type-specific System.Windows.Automation.Peers.AutomationPeer implementation.
OnCustomElementLoading(LayoutSerializationCustomLoadingEventArgs)
Raises the event.
Declaration
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
protected virtual void OnDockingElementDragged(Point globalPosition, object draggedElement)
Parameters
globalPosition
Point
The global position of the mouse.
draggedElement
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
protected void OnDragContainer(RadSplitContainer container, Point globalMousePosition)
Parameters
container
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
protected bool OnDropContainer(RadSplitContainer container, Point globalMousePosition)
Parameters
container
The container, dragged by the user.
globalMousePosition
Point
The global position of the mouse.
Returns
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
protected virtual void OnElementCleaned(LayoutSerializationEventArgs args)
Parameters
args
The LayoutSerializationEventArgs instance containing the event data.
OnElementLayoutCleaning(LayoutSerializationCleaningEventArgs)
Raises the event.
Declaration
protected virtual void OnElementLayoutCleaning(LayoutSerializationCleaningEventArgs args)
Parameters
args
LayoutSerializationCleaningEventArgs
The LayoutSerializationCleaningEventArgs instance containing the event data.
OnElementLayoutSaving(LayoutSerializationSavingEventArgs)
Raises the event.
Declaration
protected virtual void OnElementLayoutSaving(LayoutSerializationSavingEventArgs args)
Parameters
args
LayoutSerializationSavingEventArgs
The LayoutSerializationSavingEventArgs instance containing the event data.
OnElementLoaded(LayoutSerializationEventArgs)
Raises the event.
Declaration
protected virtual void OnElementLoaded(LayoutSerializationEventArgs args)
Parameters
args
The LayoutSerializationEventArgs instance containing the event data.
OnElementLoading(LayoutSerializationLoadingEventArgs)
Raises the event.
Declaration
protected virtual void OnElementLoading(LayoutSerializationLoadingEventArgs args)
Parameters
args
LayoutSerializationLoadingEventArgs
The LayoutSerializationEventArgs instance containing the event data.
OnElementSaved(LayoutSerializationEventArgs)
Raises the event.
Declaration
protected virtual void OnElementSaved(LayoutSerializationEventArgs args)
Parameters
args
The LayoutSerializationEventArgs instance containing the event data.
OnInitialized(EventArgs)
Raises the event and sets from the active theme.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
OnItemsChanged(NotifyCollectionChangedEventArgs)
Raises the event.
Declaration
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Parameters
e
NotifyCollectionChangedEventArgs
The NotifyCollectionChangedEventArgs instance containing the event data.
OnKeyDown(KeyEventArgs)
Called before the event occurs.
Declaration
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
protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
Parameters
e
KeyboardFocusChangedEventArgs
The System.Windows.Input.KeyboardFocusChangedEventArgs that contains event data.
OnPaneGroupCreated(ElementCreatedEventArgs)
Raises the event.
Declaration
protected virtual void OnPaneGroupCreated(ElementCreatedEventArgs args)
Parameters
args
The ElementCreatedEventArgs instance containing the event data.
OnPin(StateChangeEventArgs)
Raises the event.
Declaration
protected virtual void OnPin(StateChangeEventArgs args)
Parameters
args
The StateChangeEventArgs instance containing the event data.
OnPreviewClose(StateChangeEventArgs)
Raises the event.
Declaration
protected virtual bool OnPreviewClose(StateChangeEventArgs args)
Parameters
args
The StateChangeEventArgs instance containing the event data.
Returns
OnPreviewPin(StateChangeEventArgs)
Raises the event.
Declaration
protected virtual bool OnPreviewPin(StateChangeEventArgs args)
Parameters
args
The StateChangeEventArgs instance containing the event data.
Returns
OnPreviewShow(StateChangeEventArgs)
Raises the event.
Declaration
protected virtual bool OnPreviewShow(StateChangeEventArgs args)
Parameters
args
The StateChangeEventArgs instance containing the event data.
Returns
OnPreviewShowCompass(PreviewShowCompassEventArgs)
Raises the event.
Declaration
protected virtual void OnPreviewShowCompass(PreviewShowCompassEventArgs args)
Parameters
args
The PreviewShowCompassEventArgs instance containing the event data.
OnPreviewUnpin(StateChangeEventArgs)
Raises the event.
Declaration
protected virtual bool OnPreviewUnpin(StateChangeEventArgs args)
Parameters
args
The StateChangeEventArgs instance containing the event data.
Returns
OnShow(StateChangeEventArgs)
Raises the event.
Declaration
protected virtual void OnShow(StateChangeEventArgs args)
Parameters
args
The StateChangeEventArgs instance containing the event data.
OnSplitContainerCreated(ElementCreatedEventArgs)
Raises the event.
Declaration
protected virtual void OnSplitContainerCreated(ElementCreatedEventArgs args)
Parameters
args
The ElementCreatedEventArgs instance containing the event data.
OnToolWindowCreated(ElementCreatedEventArgs)
Raises the event.
Declaration
protected virtual void OnToolWindowCreated(ElementCreatedEventArgs args)
Parameters
args
The ElementCreatedEventArgs instance containing the event data.
OnUnpin(StateChangeEventArgs)
Raises the event.
Declaration
protected virtual void OnUnpin(StateChangeEventArgs args)
Parameters
args
The StateChangeEventArgs instance containing the event data.
OpenInToolWindow(RadPane, bool)
Opens a ToolWindow for a RadPane and returns the window.
Declaration
protected virtual ToolWindow OpenInToolWindow(RadPane pane, bool openImmediately = true)
Parameters
pane
The RadPane for which to open the window.
openImmediately
Indicates if the method will call the ShowWindow() method of the RadDocking. Default value is 'True'.
Returns
The newly opened window.
OpenInToolWindow(RadPaneGroup, bool)
Opens a ToolWindow for a RadPaneGroup and returns the window.
Declaration
protected virtual ToolWindow OpenInToolWindow(RadPaneGroup radPaneGroup, bool openImmediately = true)
Parameters
radPaneGroup
The RadPaneGroup for which to open the window.
openImmediately
Indicates if the method will call the ShowWindow() method of the RadDocking. Default value is 'True'.
Returns
The newly opened window.
OpenInToolWindow(RadSplitContainer, bool)
Opens a ToolWindow for a RadSplitContainer and returns the window.
Declaration
protected virtual ToolWindow OpenInToolWindow(RadSplitContainer container, bool openImmediately = true)
Parameters
container
The RadSplitContainer for which to open the window.
openImmediately
Indicates if the method will call the ShowWindow() method of the RadDocking. Default value is 'True'.
Returns
The newly opened window.
SaveLayout(Stream)
Saves the layout.
Declaration
public void SaveLayout(Stream destination)
Parameters
destination
The destination.
SaveLayout(Stream, bool)
Saves the layout.
SetDockState(DependencyObject, DockState)
Sets the value of DockState attached property.
Declaration
public static void SetDockState(DependencyObject obj, DockState value)
Parameters
obj
DependencyObject
value
SetExcludedFromLayoutSave(DependencyObject, bool)
Sets whether the element is excluded from the saving and loading logic of RadDocking's of layout.
Declaration
public static void SetExcludedFromLayoutSave(DependencyObject obj, bool value)
Parameters
obj
DependencyObject
The object.
value
The value.
SetFloatingLocation(DependencyObject, Point)
Sets the value of FloatingLocation attached property.
Declaration
public static void SetFloatingLocation(DependencyObject obj, Point value)
Parameters
obj
DependencyObject
value
Point
SetFloatingSize(DependencyObject, Size)
Sets the value of FloatingSize attached property.
Declaration
public static void SetFloatingSize(DependencyObject obj, Size value)
Parameters
obj
DependencyObject
value
Size
SetFloatingWindowState(DependencyObject, WindowState)
Sets the value of FloatingWindowState attached property.
Declaration
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
public static void SetIsAutoGenerated(DependencyObject obj, bool value)
Parameters
obj
DependencyObject
The object.
value
The value.
SetSerializationTag(DependencyObject, string)
Sets the serialization tag.
Declaration
public static void SetSerializationTag(DependencyObject obj, string value)
Parameters
obj
DependencyObject
The object.
value
The value.
Events
ActivePaneChanged
Occurs when the active pane is changed.
Declaration
public event EventHandler<ActivePangeChangedEventArgs> ActivePaneChanged
Event Value
Close
Occurs when a pane or a group is closed.
Declaration
public event EventHandler<StateChangeEventArgs> Close
Event Value
CustomElementLoading
Occurs when an custom element starts loading.
Declaration
public event EventHandler<LayoutSerializationCustomLoadingEventArgs> CustomElementLoading
Event Value
ElementCleaned
Occurs when an element is cleaned up.
Declaration
public event EventHandler<LayoutSerializationEventArgs> ElementCleaned
Event Value
ElementLayoutCleaning
Occurs when an element starts cleaning up.
Declaration
public event EventHandler<LayoutSerializationCleaningEventArgs> ElementLayoutCleaning
Event Value
ElementLayoutSaving
Occurs when an element starts saving.
Declaration
public event EventHandler<LayoutSerializationSavingEventArgs> ElementLayoutSaving
Event Value
ElementLoaded
Occurs when an element is loaded.
Declaration
public event EventHandler<LayoutSerializationEventArgs> ElementLoaded
Event Value
ElementLoading
Occurs when an element starts loading.
Declaration
public event EventHandler<LayoutSerializationLoadingEventArgs> ElementLoading
Event Value
ElementSaved
Occurs when an element is saved.
Declaration
public event EventHandler<LayoutSerializationEventArgs> ElementSaved
Event Value
LayoutChangeEnded
Occurs when the layout change is ended.
Declaration
public event EventHandler LayoutChangeEnded
Event Value
Implements
LayoutChangeStarted
Occurs when the layout change is started.
Declaration
public event EventHandler LayoutChangeStarted
Event Value
Implements
PaneGroupCreated
Occurs when an RadPaneGroup instance is automatically created by the RadDocking control.
Declaration
public event EventHandler<ElementCreatedEventArgs> PaneGroupCreated
Event Value
PaneStateChange
Occurs when the state of a RadPane is changed.
Declaration
public event EventHandler<RadRoutedEventArgs> PaneStateChange
Event Value
Pin
Occurs when a pane or a group is pined.
Declaration
public event EventHandler<StateChangeEventArgs> Pin
Event Value
PreviewClose
Occurs when a pane or a group is closed.
Declaration
public event EventHandler<StateChangeEventArgs> PreviewClose
Event Value
PreviewPin
Occurs when a pane or a group is pined.
Declaration
public event EventHandler<StateChangeEventArgs> PreviewPin
Event Value
PreviewShow
Occurs when a pane or a group is shown.
Declaration
public event EventHandler<StateChangeEventArgs> PreviewShow
Event Value
PreviewShowCompass
Occurs before the compass is shown.
Declaration
public event EventHandler<PreviewShowCompassEventArgs> PreviewShowCompass
Event Value
PreviewUnpin
Occurs when a pane or a group is unpinned.
Declaration
public event EventHandler<StateChangeEventArgs> PreviewUnpin
Event Value
Show
Occurs when a pane or a group is shown.
Declaration
public event EventHandler<StateChangeEventArgs> Show
Event Value
SplitContainerCreated
Occurs when an RadSplitContainer instance is automatically created by the RadDocking control.
Declaration
public event EventHandler<ElementCreatedEventArgs> SplitContainerCreated
Event Value
ToolWindowCreated
Occurs when an ToolWindow instance is automatically created by the RadDocking control.
Declaration
public event EventHandler<ElementCreatedEventArgs> ToolWindowCreated
Event Value
Unpin
Occurs when a pane or a group is unpinned.
Declaration
public event EventHandler<StateChangeEventArgs> Unpin
Event Value