DockingWindowDefaultLocationEventArgs Class
Provides event arguments for DockingWindow-related default location events.
public class DockingWindowDefaultLocationEventArgs : DockingWindowEventArgs
- Inheritance:
- System.Object System.EventArgs System.Windows.RoutedEventArgs CancelRoutedEventArgs DockingWindowEventArgs Object
Constructors
DockingWindowDefaultLocationEventArgs(DockingWindow, DockingWindowState)
Initializes a new instance of the DockingWindowDefaultLocationEventArgs class.
public DockingWindowDefaultLocationEventArgs(DockingWindow window, DockingWindowState state)
Parameter | Type | Description |
---|---|---|
window | DockingWindow | The DockingWindow that is the focus of this event. |
state | DockingWindowState | The DockingWindowState in which the window is requesting a default location. |
Properties
FloatingLocation
Gets or sets the location to use if ShouldFloat is true
.
public Point? FloatingLocation { get; set; }
Property Value
- System.Nullable<System.Windows.Point>:
The location to use if ShouldFloat is
true
.
Remarks
Specify a null
value to use a default location.
ShouldFloat
Gets or sets whether the window should be floated instead of docking against the Target.
public bool ShouldFloat { get; set; }
Property Value
- System.Boolean:
true
if the window should be floated instead of docking against the Target; otherwise,false
.
Side
public Side? Side { get; set; }
Property Value
Remarks
Specify a null
value to designate an "attach".
State
Gets the DockingWindowState in which the window is requesting a default location.
public DockingWindowState State { get; }
Property Value
- DockingWindowState:
The DockingWindowState in which the window is requesting a default location.
Target
Gets or sets the IDockTarget against which to dock.
public IDockTarget Target { get; set; }
Property Value
- IDockTarget:
The IDockTarget against which to dock.
Inherited Members
- DockingWindowEventArgs.Window
- CancelRoutedEventArgs.Cancel
- System.EventArgs.Empty
- System.Object.ToString()
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object, System.Object)
- System.Object.ReferenceEquals(System.Object, System.Object)
- System.Object.GetHashCode()
- System.Object.GetType()
- System.Object.MemberwiseClone()