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

Mostrar archivo Open project: SIXNetworks/withSIX.Desktop

Public Properties

Property Type Description
TaskbarLocationProperty System.Windows.DependencyProperty

Public Methods

Method 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

Method 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 method

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
return bool

SetTaskbarLocation() public static method

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
return void

SetWindowPos() public static method

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

Property Details

TaskbarLocationProperty public_oe static_oe property

KeepOnScreen Attached Dependency Property
public static DependencyProperty,System.Windows TaskbarLocationProperty
return System.Windows.DependencyProperty