FloatingWindowOpeningEventArgs Class
Provides event arguments for floating window opening events.
public class FloatingWindowOpeningEventArgs : RoutedEventArgs
- Inheritance:
- object EventArgs RoutedEventArgs object
Constructors
FloatingWindowOpeningEventArgs(DockHost)
Initializes a new instance of the FloatingWindowOpeningEventArgs class.
public FloatingWindowOpeningEventArgs(DockHost dockHost)
Parameter | Type | Description |
---|---|---|
dockHost | DockHost | The DockHost that will be the child of the floating window. |
Properties
DockHost
Gets the DockHost that will be the child of the floating window.
public DockHost DockHost { get; }
Property Value
DockHostChild
Gets the child FrameworkElement of the DockHost.
public FrameworkElement DockHostChild { get; }
Property Value
- FrameworkElement:
The child FrameworkElement of the DockHost.
Remarks
The Child property isn't populated when drag previews are used. This property always provides access to the element that will become the DockHost child in those scenarios.
Size
Gets or sets the Size
of the floating window.
public Size Size { get; set; }
Property Value
- Size:
The
Size
of the floating window.
Remarks
This property is initialized to the default size and can be adjusted as appropriate.