Property | Type | Description | |
---|---|---|---|
CanCloseProperty | |||
CanDragAnywhereProperty | |||
CanMaximizeProperty | |||
CanResizeProperty | |||
CanSnapToEdgeProperty | |||
TitleBackgroundBrushProperty | |||
TitleProperty | |||
TitleTemplateProperty | |||
WindowEdgeSnapBehaviorProperty | |||
WindowMovableAreaEdgeThicknessProperty | |||
WindowMovableAreaProperty | |||
WindowStartupLocationProperty | |||
WindowStateProperty | |||
XProperty | |||
YProperty |
Method | Description | |
---|---|---|
ActivateAsync ( ) : System.Threading.Tasks.Task |
Activates the window. The method can be awaited to wait for the unsnap animation to complete.
|
|
Close ( ) : void |
Closes the window.
|
|
Hide ( ) : void |
Hides the window.
|
|
Maximize ( ) : void |
Maximizes the window
|
|
MinimizeAsync ( ) : System.Threading.Tasks.Task |
Minimizes the window.
|
|
RestoreAsync ( ) : System.Threading.Tasks.Task |
Restores the window
|
|
Show ( ) : void |
Shows the window.
|
|
SnapToEdgeAsync ( ) : System.Threading.Tasks.Task |
Snaps to nearest edge.
|
|
ToolWindow ( ) : System |
Initializes a new instance of the ToolWindow class.
|
Method | Description | |
---|---|---|
OnApplyTemplate ( ) : void |
Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in your app. Override this method to influence the default post-template logic of a class.
|
|
OnCanCloseChanged ( bool oldCanClose, bool newCanClose ) : void |
Provides derived classes an opportunity to handle changes to the CanClose property.
|
|
OnCanDragAnywhereChanged ( bool oldCanDragAnywhere, bool newCanDragAnywhere ) : void |
Provides derived classes an opportunity to handle changes to the CanDragAnywhere property.
|
|
OnCanMaximizeChanged ( bool oldCanMaximize, bool newCanMaximize ) : void |
Provides derived classes an opportunity to handle changes to the CanMaximize property.
|
|
OnCanResizeChanged ( bool oldCanResize, bool newCanResize ) : void |
Provides derived classes an opportunity to handle changes to the CanResize property.
|
|
OnCanSnapToEdgeChanged ( bool oldCanSnapToEdge, bool newCanSnapToEdge ) : void |
Provides derived classes an opportunity to handle changes to the CanSnapToEdge property.
|
|
OnTitleChanged ( object oldTitle, object newTitle ) : void |
Provides derived classes an opportunity to handle changes to the Title property.
|
|
OnTitleTemplateChanged ( |
Provides derived classes an opportunity to handle changes to the TitleTemplate property.
|
|
OnWindowEdgeSnapBehaviorChanged ( WindowEdgeSnapBehavior oldWindowEdgeSnapBehavior, WindowEdgeSnapBehavior newWindowEdgeSnapBehavior ) : void |
Provides derived classes an opportunity to handle changes to the WindowEdgeSnapBehavior property.
|
|
OnWindowMovableAreaChanged ( WindowMovableArea oldWindowMovableArea, WindowMovableArea newWindowMovableArea ) : void |
Provides derived classes an opportunity to handle changes to the WindowMovableArea property.
|
|
OnWindowMovableAreaEdgeThicknessChanged ( |
Provides derived classes an opportunity to handle changes to the WindowMovableAreaEdgeThickness property.
|
|
OnWindowStartupLocationChanged ( WindowStartupLocation oldWindowStartupLocation, WindowStartupLocation newWindowStartupLocation ) : void |
Provides derived classes an opportunity to handle changes to the WindowStartupLocation property.
|
|
OnWindowStateChanged ( WindowStates oldWindowState, WindowStates newWindowState ) : void |
Provides derived classes an opportunity to handle changes to the WindowState property.
|
|
OnXChanged ( double oldX, double newX ) : void |
Provides derived classes an opportunity to handle changes to the X property.
|
|
OnYChanged ( double oldY, double newY ) : void |
Provides derived classes an opportunity to handle changes to the Y property.
|
Method | Description | |
---|---|---|
AnimateRotatedSnapAsync ( double x, double y, double angle ) : System.Threading.Tasks.Task | ||
AnimateStraightSnapAsync ( double x, double y ) : System.Threading.Tasks.Task | ||
AnimateToStraightenAsync ( ) : System.Threading.Tasks.Task | ||
CleanupSnapProperties ( ) : void | ||
FilterOutManipulations ( |
||
GetDesiredPosition ( double startx, double starty, double &angle, Edges &edge ) : |
Calculates the desired position, rotation and snapping edge given the position of the window.
|
|
GetMovableArea ( ) : |
Gets the range of X,Y window position values acceptable for the window
|
|
HookUpEvents ( ) : void | ||
HookUpSizingThumbManipulations ( |
||
InitializeStartupLocation ( ) : void | ||
OnBorderManipulationCompleted ( object sender, |
||
OnBorderManipulationDelta ( object sender, |
||
OnBorderManipulationInertiaStarting ( object sender, |
||
OnBorderManipulationStarting ( object sender, |
||
OnBorderPointerPressed ( object sender, |
||
OnBorderThicknessChanged ( object sender, |
||
OnCanCloseChanged ( |
Handles changes to the CanClose property.
|
|
OnCanDragAnywhereChanged ( |
Handles changes to the CanDragAnywhere property.
|
|
OnCanMaximizeChanged ( |
Handles changes to the CanMaximize property.
|
|
OnCanResizeChanged ( |
Handles changes to the CanResize property.
|
|
OnCanSnapToEdgeChanged ( |
Handles changes to the CanSnapToEdge property.
|
|
OnCloseButtonClick ( object sender, |
||
OnFilteredOutManipulationStarted ( object sender, |
||
OnFilteredOutManipulationStarting ( object sender, |
||
OnLoaded ( object sender, |
||
OnMaximizeButtonClick ( object sender, |
||
OnMinimizeButtonClick ( object sender, |
||
OnParentSizeChanged ( object sender, |
||
OnRestoreButtonClick ( object sender, |
||
OnSnapButtonClick ( object sender, |
||
OnThumbManipulationDelta ( object sender, |
||
OnTitleChanged ( |
Handles changes to the Title property.
|
|
OnTitleGridSizeChanged ( object sender, |
||
OnTitleTemplateChanged ( |
Handles changes to the TitleTemplate property.
|
|
OnUnloaded ( object sender, |
||
OnWindowEdgeSnapBehaviorChanged ( |
Handles changes to the WindowEdgeSnapBehavior property.
|
|
OnWindowMovableAreaChanged ( |
Handles changes to the WindowMovableArea property.
|
|
OnWindowMovableAreaEdgeThicknessChanged ( |
Handles changes to the WindowMovableAreaEdgeThickness property.
|
|
OnWindowStartupLocationChanged ( |
Handles changes to the WindowStartupLocation property.
|
|
OnWindowStateChanged ( |
Handles changes to the WindowState property.
|
|
OnXChanged ( |
Handles changes to the X property.
|
|
OnYChanged ( |
Handles changes to the Y property.
|
|
RaiseClosed ( ) : void | ||
RaiseClosing ( ) : bool |
Raises the closing event.
|
|
SnapToEdgeIfNecessary ( ) : void | ||
StopCurrentSnapStoryboard ( ) : void | ||
UnFilterOutManipulations ( |
||
UnhookEvents ( ) : void | ||
UpdateSizingThumbSizes ( ) : void |
Update the sizes of the sizing thumbs.
|
|
UpdateVisualStates ( bool useTransitions ) : void |
Updates the visual states.
|
public ActivateAsync ( ) : System.Threading.Tasks.Task | ||
return | System.Threading.Tasks.Task |
public MinimizeAsync ( ) : System.Threading.Tasks.Task | ||
return | System.Threading.Tasks.Task |
protected OnCanCloseChanged ( bool oldCanClose, bool newCanClose ) : void | ||
oldCanClose | bool | The old CanClose value |
newCanClose | bool | The new CanClose value |
return | void |
protected OnCanDragAnywhereChanged ( bool oldCanDragAnywhere, bool newCanDragAnywhere ) : void | ||
oldCanDragAnywhere | bool | The old CanDragAnywhere value |
newCanDragAnywhere | bool | The new CanDragAnywhere value |
return | void |
protected OnCanMaximizeChanged ( bool oldCanMaximize, bool newCanMaximize ) : void | ||
oldCanMaximize | bool | The old CanMaximize value |
newCanMaximize | bool | The new CanMaximize value |
return | void |
protected OnCanResizeChanged ( bool oldCanResize, bool newCanResize ) : void | ||
oldCanResize | bool | The old CanResize value |
newCanResize | bool | The new CanResize value |
return | void |
protected OnCanSnapToEdgeChanged ( bool oldCanSnapToEdge, bool newCanSnapToEdge ) : void | ||
oldCanSnapToEdge | bool | The old CanSnapToEdge value |
newCanSnapToEdge | bool | The new CanSnapToEdge value |
return | void |
protected OnTitleChanged ( object oldTitle, object newTitle ) : void | ||
oldTitle | object | The old Title value |
newTitle | object | The new Title value |
return | void |
protected OnTitleTemplateChanged ( |
||
oldTitleTemplate | The old TitleTemplate value | |
newTitleTemplate | The new TitleTemplate value | |
return | void |
protected OnWindowEdgeSnapBehaviorChanged ( WindowEdgeSnapBehavior oldWindowEdgeSnapBehavior, WindowEdgeSnapBehavior newWindowEdgeSnapBehavior ) : void | ||
oldWindowEdgeSnapBehavior | WindowEdgeSnapBehavior | The old WindowEdgeSnapBehavior value |
newWindowEdgeSnapBehavior | WindowEdgeSnapBehavior | The new WindowEdgeSnapBehavior value |
return | void |
protected OnWindowMovableAreaChanged ( WindowMovableArea oldWindowMovableArea, WindowMovableArea newWindowMovableArea ) : void | ||
oldWindowMovableArea | WindowMovableArea | The old WindowMovableArea value |
newWindowMovableArea | WindowMovableArea | The new WindowMovableArea value |
return | void |
protected OnWindowMovableAreaEdgeThicknessChanged ( |
||
oldWindowMovableAreaEdgeThickness | The old WindowMovableAreaEdgeThickness value | |
newWindowMovableAreaEdgeThickness | The new WindowMovableAreaEdgeThickness value | |
return | void |
protected OnWindowStartupLocationChanged ( WindowStartupLocation oldWindowStartupLocation, WindowStartupLocation newWindowStartupLocation ) : void | ||
oldWindowStartupLocation | WindowStartupLocation | The old WindowStartupLocation value |
newWindowStartupLocation | WindowStartupLocation | The new WindowStartupLocation value |
return | void |
protected OnWindowStateChanged ( WindowStates oldWindowState, WindowStates newWindowState ) : void | ||
oldWindowState | WindowStates | The old WindowState value |
newWindowState | WindowStates | The new WindowState value |
return | void |
protected OnXChanged ( double oldX, double newX ) : void | ||
oldX | double | The old X value |
newX | double | The new X value |
return | void |
protected OnYChanged ( double oldY, double newY ) : void | ||
oldY | double | The old Y value |
newY | double | The new Y value |
return | void |
public RestoreAsync ( ) : System.Threading.Tasks.Task | ||
return | System.Threading.Tasks.Task |
public SnapToEdgeAsync ( ) : System.Threading.Tasks.Task | ||
return | System.Threading.Tasks.Task |
public static DependencyProperty,Windows.UI.Xaml CanCloseProperty | ||
return |
public static DependencyProperty,Windows.UI.Xaml CanDragAnywhereProperty | ||
return |
public static DependencyProperty,Windows.UI.Xaml CanMaximizeProperty | ||
return |
public static DependencyProperty,Windows.UI.Xaml CanResizeProperty | ||
return |
public static DependencyProperty,Windows.UI.Xaml CanSnapToEdgeProperty | ||
return |
public static DependencyProperty,Windows.UI.Xaml TitleBackgroundBrushProperty | ||
return |
public static DependencyProperty,Windows.UI.Xaml TitleProperty | ||
return |
public static DependencyProperty,Windows.UI.Xaml TitleTemplateProperty | ||
return |
public static DependencyProperty,Windows.UI.Xaml WindowEdgeSnapBehaviorProperty | ||
return |
public static DependencyProperty,Windows.UI.Xaml WindowMovableAreaEdgeThicknessProperty | ||
return |
public static DependencyProperty,Windows.UI.Xaml WindowMovableAreaProperty | ||
return |
public static DependencyProperty,Windows.UI.Xaml WindowStartupLocationProperty | ||
return |
public static DependencyProperty,Windows.UI.Xaml WindowStateProperty | ||
return |
public static DependencyProperty,Windows.UI.Xaml XProperty | ||
return |