Class DockWindow
Base class for all tool and document windows available per Rad
Inherited Members
Namespace: Telerik.WinControls.UI.Docking
Assembly: Telerik.WinControls.RadDock.dll
Syntax
public abstract class DockWindow : TabPanel, INotifyPropertyChanged, IDockWindow
Constructors
DockWindow()
DockWindow(DockState, DockState)
Declaration
protected DockWindow(DockState dockState, DockState previousDockState)
Parameters
Fields
forceDesiredDockStateSerialization
This field is used internally.
Declaration
public bool forceDesiredDockStateSerialization
Field Value
System.
|
Properties
AllowedDockState
Get or set allowed dock states for DockWindow instance
Declaration
public AllowedDockState AllowedDockState { get; set; }
Property Value
AutoHideSize
Declaration
public virtual Size AutoHideSize { get; set; }
Property Value
System.
|
AutoHideTab
BackColor
Declaration
public override Color BackColor { get; set; }
Property Value
System.
|
CloseAction
Gets or sets the action to be used when a Close request occurs for this window.
Declaration
public virtual DockWindowCloseAction CloseAction { get; set; }
Property Value
DefaultCloseAction
Retrieves the default Dock
Declaration
protected virtual DockWindowCloseAction DefaultCloseAction { get; }
Property Value
DefaultDockState
Retrieves the default DockState for this instance. Will be Docked for Tool
Declaration
protected virtual DockState DefaultDockState { get; }
Property Value
DefaultFloatingSize
Gets or sets the size to be used when the window is floated for the first time and does not have previous floating state saved.
Declaration
public Size DefaultFloatingSize { get; set; }
Property Value
System.
|
DesiredDockState
Gets or sets the DockState which is desired for the window and will be applied when the RadDock instance this window is attached to is completely initialized. This property is used internally by the framework and is not intended to be used directly by code.
Declaration
public DockState DesiredDockState { get; set; }
Property Value
DockManager
Gets the current Rad
Declaration
public virtual RadDock DockManager { get; }
Property Value
Implements
DockState
Gets the current dock state of the window.
Declaration
public DockState DockState { get; set; }
Property Value
DockTabStrip
Gets the DockTabStrip which hosts this window.
Declaration
public DockTabStrip DockTabStrip { get; }
Property Value
DockType
Gets the Dock
Declaration
public virtual DockType DockType { get; }
Property Value
DocumentButtons
Gets or sets the visibility of the associated command buttons when the window resides in a DocumentTabStrip instance.
Declaration
public DocumentStripButtons DocumentButtons { get; set; }
Property Value
FloatingParent
Get the parent floating window when the window is in floating mode
Declaration
public FloatingWindow FloatingParent { get; }
Property Value
IsInFloatingMode
Get the floating status of window
Declaration
public bool IsInFloatingMode { get; }
Property Value
System.
|
Name
Gets or sets value representing unique Name of the DockWindow
Declaration
public string Name { get; set; }
Property Value
System.
|
Implements
Padding
Declaration
public Padding Padding { get; set; }
Property Value
System.
|
PreviousDockState
Site
Declaration
public override ISite Site { get; set; }
Property Value
System.
|
ToolCaptionButtons
Gets or sets the visibility of the associated command buttons when the window resides in a ToolTabStrip instance.
Declaration
public ToolStripCaptionButtons ToolCaptionButtons { get; set; }
Property Value
ValidationCancel
Declaration
protected bool ValidationCancel { get; }
Property Value
System.
|
Methods
Close()
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
System.
|
DockTo(DockWindow, DockPosition)
Asks the current Dock
Declaration
public void DockTo(DockWindow target, DockPosition position)
Parameters
Dock
|
Dock
|
EnsureVisible()
Ensures that the window is currently visible on its hosting Dock
Declaration
public void EnsureVisible()
EnsureVisible(Boolean)
Ensures that the window is currently visible on its hosting Dock
Declaration
public void EnsureVisible(bool suspendShowAutoHide)
Parameters
System. Indicates whether showing autohide windows should be suspended. |
Hide()
Hide the ToolWindow from RadDock manager
Declaration
public void Hide()
OnClosed(DockWindowEventArgs)
Called by the owning RadDock instance when the window has been successfully closed. Depending on the current CloseAction, the window will be either hidden, removed or both plus disposed when entering this method.
Declaration
protected virtual void OnClosed(DockWindowEventArgs e)
Parameters
OnClosing(DockWindowCancelEventArgs)
Called by the owning RadDock instance when this window is about to close. Allows specific DockWindow implementations to optionally cancel the operation and/or perform additional actions.
Declaration
protected virtual void OnClosing(DockWindowCancelEventArgs e)
Parameters
OnEnter(EventArgs)
Declaration
protected override void OnEnter(EventArgs e)
Parameters
System.
|
OnGotFocus(EventArgs)
Declaration
protected override void OnGotFocus(EventArgs e)
Parameters
System.
|
OnImageChanged(EventArgs)
Declaration
protected override void OnImageChanged(EventArgs e)
Parameters
System.
|
Overrides
OnMouseDown(MouseEventArgs)
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.
|
OnNameChanged(String)
Notifies the owning Rad
Declaration
protected virtual void OnNameChanged(string oldName)
Parameters
System.
|
OnTextChanged(EventArgs)
Declaration
protected override void OnTextChanged(EventArgs e)
Parameters
System.
|
OnToolTipTextChanged(EventArgs)
Declaration
protected override void OnToolTipTextChanged(EventArgs e)
Parameters
System.
|
Overrides
Show()
Display the ToolWindow if was previously hidden.
Declaration
public void Show()
ToString()
Declaration
public override string ToString()
Returns
System.
|
UpdateOnTextChanged()
Updates all associated UI - such as TabItems, Captions, etc. upon TextChanged event.
Declaration
protected virtual void UpdateOnTextChanged()
WndProc(ref Message)
Provides special handling for the WM_SETFOCUS notification.
Declaration
protected override void WndProc(ref Message m)
Parameters
System.
|