[]
Notifies that a C1DockingTab or a C1DockingTabPage is changing state to floating. Can be canceled.
[C1Category("Behavior")]
[C1Description("C1DockingManager.Floating", "Notifies that a C1DockingTab or a C1DockingTabPage is changing state to floating.")]
public event FloatingEventHandler Floating
Type | Description |
---|---|
FloatingEventHandler | Notifies that a or a is changing state to floating. Can be canceled. |
By default, the FormBorderStyle of the floating window is SizableToolWindow, hence only "Close" button is shown in the window's caption. It is possible to change the floating window border style and visibility of Maximize box using Floating event handler.
This example sets sizable FormBorderStyle and shows Maximize box for each floating window shown.
private void c1DockingManager1_Floating(object sender, FloatingEventArgs e)
{
e.FormBorderStyle = FormBorderStyle.Sizable;
e.MaximizeBox = true;
}