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
Mostrar archivo Open project: xyzzer/WinRTXamlToolkit

Public Properties

Property Type Description
CommandParameterProperty Windows.UI.Xaml.DependencyProperty
CommandProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
ListItemButton ( ) : System.Windows.Input

Initializes a new instance of the ListItemButton class.

Protected Methods

Method 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

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

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

OnCommandChanged() protected method

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

OnCommandParameterChanged() protected method

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

OnManipulationStarted() protected method

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

OnManipulationStarting() protected method

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

OnTapped() protected method

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

Property Details

CommandParameterProperty public_oe static_oe property

CommandParameter Dependency Property
public static DependencyProperty,Windows.UI.Xaml CommandParameterProperty
return Windows.UI.Xaml.DependencyProperty

CommandProperty public_oe static_oe property

Command Dependency Property
public static DependencyProperty,Windows.UI.Xaml CommandProperty
return Windows.UI.Xaml.DependencyProperty