C# Класс WinRTXamlToolkit.Controls.Extensions.ButtonStateEventBehavior

Handles ButtonStateEventBehavior.
Наследование: Windows.UI.Xaml.FrameworkElement
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
DownCommandParameterProperty Windows.UI.Xaml.DependencyProperty
DownCommandProperty Windows.UI.Xaml.DependencyProperty
IsPressedProperty Windows.UI.Xaml.DependencyProperty
UpCommandParameterProperty Windows.UI.Xaml.DependencyProperty
UpCommandProperty Windows.UI.Xaml.DependencyProperty

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

Метод Описание
Attach ( ButtonBase button ) : void

Attaches to the specified button.

Detach ( ) : void

Detaches this instance.

Защищенные методы

Метод Описание
OnDown ( ) : void

Called when the button is pressed.

OnUp ( ) : void

Called when the button is released.

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

Метод Описание
OnDownInternal ( ) : void
OnIsPressedChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the IsPressed property.

OnIsPressedChanged ( bool oldIsPressed, bool newIsPressed ) : void

Provides derived classes an opportunity to handle changes to the IsPressed property.

OnUpInternal ( ) : void

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

Attach() публичный Метод

Attaches to the specified button.
public Attach ( ButtonBase button ) : void
button Windows.UI.Xaml.Controls.Primitives.ButtonBase The button.
Результат void

Detach() публичный Метод

Detaches this instance.
public Detach ( ) : void
Результат void

OnDown() защищенный Метод

Called when the button is pressed.
protected OnDown ( ) : void
Результат void

OnUp() защищенный Метод

Called when the button is released.
protected OnUp ( ) : void
Результат void

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

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

DownCommandParameter Dependency Property
public static DependencyProperty,Windows.UI.Xaml DownCommandParameterProperty
Результат Windows.UI.Xaml.DependencyProperty

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

DownCommand Dependency Property
public static DependencyProperty,Windows.UI.Xaml DownCommandProperty
Результат Windows.UI.Xaml.DependencyProperty

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

IsPressed Dependency Property
public static DependencyProperty,Windows.UI.Xaml IsPressedProperty
Результат Windows.UI.Xaml.DependencyProperty

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

UpCommandParameter Dependency Property
public static DependencyProperty,Windows.UI.Xaml UpCommandParameterProperty
Результат Windows.UI.Xaml.DependencyProperty

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

UpCommand Dependency Property
public static DependencyProperty,Windows.UI.Xaml UpCommandProperty
Результат Windows.UI.Xaml.DependencyProperty