C# Class WinRTXamlToolkit.Controls.ListItemButton

A button replacement for use in lists. Allows items to be selected with touch while still supporting clicks and commands.
Inheritance: Windows.UI.Xaml.Controls.ContentControl
Afficher le fichier Open project: xyzzer/WinRTXamlToolkit

Méthodes publiques

Свойство Type Description
CommandParameterProperty Windows.UI.Xaml.DependencyProperty
CommandProperty Windows.UI.Xaml.DependencyProperty

Méthodes publiques

Méthode Description
ListItemButton ( ) : System.Windows.Input

Initializes a new instance of the ListItemButton class.

Méthodes protégées

Méthode Description
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.

Private Methods

Méthode Description
OnCommandChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the Command property.

OnCommandParameterChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the CommandParameter property.

Method Details

ListItemButton() public méthode

Initializes a new instance of the ListItemButton class.
public ListItemButton ( ) : System.Windows.Input
Résultat System.Windows.Input

OnCommandChanged() protected méthode

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
Résultat void

OnCommandParameterChanged() protected méthode

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
Résultat void

OnManipulationStarted() protected méthode

Called before the ManipulationStarted event occurs.
protected OnManipulationStarted ( Windows e ) : void
e Windows Event data for the event.
Résultat void

OnManipulationStarting() protected méthode

Called before the ManipulationStarting event occurs.
protected OnManipulationStarting ( Windows e ) : void
e Windows Event data for the event.
Résultat void

OnTapped() protected méthode

Called before the Tapped event occurs.
protected OnTapped ( Windows e ) : void
e Windows Event data for the event.
Résultat void

Property Details

CommandParameterProperty public_oe static_oe property

CommandParameter Dependency Property
public static DependencyProperty,Windows.UI.Xaml CommandParameterProperty
Résultat Windows.UI.Xaml.DependencyProperty

CommandProperty public_oe static_oe property

Command Dependency Property
public static DependencyProperty,Windows.UI.Xaml CommandProperty
Résultat Windows.UI.Xaml.DependencyProperty