[]
        
(Showing Draft Content)

C1.Win.Command.C1DockingManager.Floating

Floating Event

Notifies that a C1DockingTab or a C1DockingTabPage is changing state to floating. Can be canceled.

Namespace: C1.Win.Command
Assembly: C1.Win.Command.8.dll
Syntax
[C1Category("Behavior")]
[C1Description("C1DockingManager.Floating", "Notifies that a C1DockingTab or a C1DockingTabPage is changing state to floating.")]
public event FloatingEventHandler Floating
Returns
Type Description
FloatingEventHandler Notifies that a or a is changing state to floating. Can be canceled.
Remarks

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.

Examples

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;
}