C# Класс withSIX.Core.Presentation.Wpf.Behaviors.WindowLocationBehavior

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
TaskbarLocationProperty System.Windows.DependencyProperty

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
OnTaskbarLocationChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles changes to the TaskbarLocation property.

WindowOnLoaded ( object sender, RoutedEventArgs routedEventArgs ) : void

Описание методов

GetTaskbarLocation() публичный статический Метод

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
Результат bool

SetTaskbarLocation() публичный статический Метод

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
Результат void

SetWindowPos() публичный статический Метод

public static SetWindowPos ( this window, double offSetX = 60, double offSetY = 16 ) : void
window this
offSetX double
offSetY double
Результат void

Описание свойств

TaskbarLocationProperty публичное статическое свойство

KeepOnScreen Attached Dependency Property
public static DependencyProperty,System.Windows TaskbarLocationProperty
Результат System.Windows.DependencyProperty