C# Class withSIX.Core.Presentation.Wpf.Behaviors.WindowLocationBehavior

Afficher le fichier Open project: SIXNetworks/withSIX.Desktop

Méthodes publiques

Свойство Type Description
TaskbarLocationProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
GetTaskbarLocation ( DependencyObject d ) : bool

Gets the TaskbarLocation property. This dependency property indicates whether or not the escape key closes the window.

SetTaskbarLocation ( DependencyObject d, bool value ) : void

Sets the TaskbarLocation property. This dependency property indicates whether or not the escape key closes the window.

SetWindowPos ( this window, double offSetX = 60, double offSetY = 16 ) : void

Private Methods

Méthode Description
OnTaskbarLocationChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles changes to the TaskbarLocation property.

WindowOnLoaded ( object sender, RoutedEventArgs routedEventArgs ) : void

Method Details

GetTaskbarLocation() public static méthode

Gets the TaskbarLocation property. This dependency property indicates whether or not the escape key closes the window.
public static GetTaskbarLocation ( DependencyObject d ) : bool
d System.Windows.DependencyObject to get the property from
Résultat bool

SetTaskbarLocation() public static méthode

Sets the TaskbarLocation property. This dependency property indicates whether or not the escape key closes the window.
public static SetTaskbarLocation ( DependencyObject d, bool value ) : void
d System.Windows.DependencyObject to set the property on
value bool value of the property
Résultat void

SetWindowPos() public static méthode

public static SetWindowPos ( this window, double offSetX = 60, double offSetY = 16 ) : void
window this
offSetX double
offSetY double
Résultat void

Property Details

TaskbarLocationProperty public_oe static_oe property

KeepOnScreen Attached Dependency Property
public static DependencyProperty,System.Windows TaskbarLocationProperty
Résultat System.Windows.DependencyProperty