FloatingWindowOpeningEventArgs Class
Provides event arguments for floating window opening events.
public class FloatingWindowOpeningEventArgs : RoutedEventArgs
Constructors
FloatingWindowOpeningEventArgs(DockHost)
Initializes an instance of the class.
public FloatingWindowOpeningEventArgs(DockHost dockHost)
Parameter | Type | Description |
---|---|---|
dockHost | DockHost | The DockHost that will be the child of the floating window. |
Properties
DockHost
The DockHost that will be the child of the floating window.
DockHostChild
The child Avalonia.Controls.Control of the DockHost.
public Control? DockHostChild { get; }
Property Value
- Control
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
The size of the floating window.
public Size Size { get; set; }
Property Value
- Size
Remarks
This property is initialized to the default size and can be adjusted as appropriate.
Inherited Members
- RoutedEventArgs.Handled
- RoutedEventArgs.RoutedEvent
- RoutedEventArgs.Route
- RoutedEventArgs.Source
- EventArgs.Empty
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()