C# Класс WinRTXamlToolkit.Controls.ListItemButton

A button replacement for use in lists. Allows items to be selected with touch while still supporting clicks and commands.
Наследование: Windows.UI.Xaml.Controls.ContentControl
Показать файл Открыть проект

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

Свойство Тип Описание
CommandParameterProperty Windows.UI.Xaml.DependencyProperty
CommandProperty Windows.UI.Xaml.DependencyProperty

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

Метод Описание
ListItemButton ( ) : System.Windows.Input

Initializes a new instance of the ListItemButton class.

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

Метод Описание
OnCommandChanged ( ICommand oldCommand, ICommand newCommand ) : void

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

OnCommandParameterChanged ( object oldCommandParameter, object newCommandParameter ) : void

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

OnManipulationStarted ( Windows e ) : void

Called before the ManipulationStarted event occurs.

OnManipulationStarting ( Windows e ) : void

Called before the ManipulationStarting event occurs.

OnTapped ( Windows e ) : void

Called before the Tapped event occurs.

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

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

Handles changes to the Command property.

OnCommandParameterChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the CommandParameter property.

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

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

Initializes a new instance of the ListItemButton class.
public ListItemButton ( ) : System.Windows.Input
Результат System.Windows.Input

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

Provides derived classes an opportunity to handle changes to the Command property.
protected OnCommandChanged ( ICommand oldCommand, ICommand newCommand ) : void
oldCommand ICommand The old Command value
newCommand ICommand The new Command value
Результат void

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

Provides derived classes an opportunity to handle changes to the CommandParameter property.
protected OnCommandParameterChanged ( object oldCommandParameter, object newCommandParameter ) : void
oldCommandParameter object The old CommandParameter value
newCommandParameter object The new CommandParameter value
Результат void

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

Called before the ManipulationStarted event occurs.
protected OnManipulationStarted ( Windows e ) : void
e Windows Event data for the event.
Результат void

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

Called before the ManipulationStarting event occurs.
protected OnManipulationStarting ( Windows e ) : void
e Windows Event data for the event.
Результат void

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

Called before the Tapped event occurs.
protected OnTapped ( Windows e ) : void
e Windows Event data for the event.
Результат void

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

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

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

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

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