DockingWindowDefaultLocationEventArgs Class
Provides event arguments for DockingWindow-related default location events.
public class DockingWindowDefaultLocationEventArgs : DockingWindowEventArgs
- Inheritance:
- object EventArgs RoutedEventArgs CancelRoutedEventArgs DockingWindowEventArgs object
Constructors
DockingWindowDefaultLocationEventArgs(DockingWindow, DockingWindowState)
Initializes an instance of the 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
The location to use if ShouldFloat is true
.
public Point? FloatingLocation { get; set; }
Property Value
- Point?:
The location to use if ShouldFloat is
true
.
Remarks
Specify a null
value to use a default location.
ShouldFloat
Indicates whether the window should be floated instead of docking against the Target.
public bool ShouldFloat { get; set; }
Property Value
Side
The optional side to dock against the Target control.
public Dock? Side { get; set; }
Property Value
- Dock?
Remarks
Specify a null
value to designate an "attach".
State
The DockingWindowState in which the window is requesting a default location.
Target
The IDockTarget against which to dock.
Inherited Members
- DockingWindowEventArgs.Window
- CancelRoutedEventArgs.Cancel
- 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()