Class FloatingWindow
Represents a popup form that is used to host floating DockWindow instances.
Inherited Members
Namespace: Telerik.WinControls.UI.Docking
Assembly: Telerik.WinControls.RadDock.dll
Syntax
public class FloatingWindow : DockPopupForm, IComponentTreeHandler, ILayoutHandler, ISupportInitializeNotification, ISupportInitialize, INotifyPropertyChanged, IAnalyticsProvider
Constructors
FloatingWindow()
This method supports internal RadDock infrastructure and should not be called directly from your code
Declaration
public FloatingWindow()
FloatingWindow(RadDock)
Creates a new FloatingWindow instance passing an owner RadDock instance as a parameter
Declaration
public FloatingWindow(RadDock dockManager)
Parameters
RadDock
dockManager
|
Fields
DefaultFloatingSize
Defines the default size for floating windows.
Declaration
public static readonly Size DefaultFloatingSize
Field Value
System.Drawing.Size
|
Properties
CreateParams
Declaration
protected override CreateParams CreateParams { get; }
Property Value
System.Windows.Forms.CreateParams
|
Overrides
DockContainer
Gets the SplitContiner instance that is the root of the hierarchy of DockWindows inside this FloatingWindow
Declaration
public RadSplitContainer DockContainer { get; }
Property Value
RadSplitContainer
|
SnapOnMove
Indicates whether this window should snap while dragging.
Declaration
public bool SnapOnMove { get; set; }
Property Value
System.Boolean
|
SnapOnResize
Indicates whether this window should snap while resizing.
Declaration
public bool SnapOnResize { get; set; }
Property Value
System.Boolean
|
SnapThreshold
Indicates the threshold between edges before the window snaps.
Declaration
public int SnapThreshold { get; set; }
Property Value
System.Int32
|
SnapToOthers
Indicates whether this window should snap to other windows.
Declaration
public bool SnapToOthers { get; set; }
Property Value
System.Boolean
|
SnapToScreen
Indicates whether this window should snap to the screen's edges.
Declaration
public bool SnapToScreen { get; set; }
Property Value
System.Boolean
|
Standalone
Gets or sets a value whether the floating form should be shown in the task bar and behave like normal form, or it should be kept as a child form of the form which owns the RadDock.
Declaration
public bool Standalone { get; set; }
Property Value
System.Boolean
|
ThemeClassName
Declaration
public override string ThemeClassName { get; set; }
Property Value
System.String
|
Overrides
Methods
ControlDefinesThemeForElement(RadElement)
Declaration
public override bool ControlDefinesThemeForElement(RadElement element)
Parameters
RadElement
element
|
Returns
System.Boolean
|
Overrides
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
System.Boolean
disposing
|
Overrides
EndInit()
GetSnappedBounds(Rectangle, ResizeDirection, Boolean)
Gets the target bounds when the window snaps to another one.
Declaration
public virtual Rectangle GetSnappedBounds(Rectangle desired, ResizeDirection direction, bool resize)
Parameters
System.Drawing.Rectangle
desired
The original window bounds. |
ResizeDirection
direction
The direction in which the window is being resized/moved. |
System.Boolean
resize
[true] if this is a resize operation, [false] otherwise. |
Returns
System.Drawing.Rectangle
The bounds of the window after snapping. |
OnActivated(EventArgs)
Provides support for z-ordering of all popup-forms of the owning Form.
Declaration
protected override void OnActivated(EventArgs e)
Parameters
System.EventArgs
e
|
OnClosing(CancelEventArgs)
Declaration
protected override void OnClosing(CancelEventArgs e)
Parameters
System.ComponentModel.CancelEventArgs
e
|
OnLoad(EventArgs)
Declaration
protected override void OnLoad(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
OnShown(EventArgs)
Declaration
protected override void OnShown(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
OnThemeChanged()
Delegate the event to all nested ToolTabStrip instances.
Declaration
protected override void OnThemeChanged()
Overrides
UpdateCloseButton()
Declaration
public void UpdateCloseButton()
WndProc(ref Message)
Declaration
protected override void WndProc(ref Message m)
Parameters
System.Windows.Forms.Message
m
|