Свойство | Type | Description | |
---|---|---|---|
CommandParameterProperty | |||
CommandProperty | |||
IsEnabledProperty | |||
TextProperty |
Méthode | Description | |
---|---|---|
Attach ( Microsoft.Phone.Shell.ApplicationBar parentApplicationBar, int i ) : void |
Creates an associated ApplicationBarMenuItem and attaches it to the specified application bar.
|
|
Detach ( ) : void |
Detaches the associated ApplicationBarMenuItem from the ApplicationBar and from this instance.
|
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.
|
|
OnIsEnabledChanged ( bool oldIsEnabled, bool newIsEnabled ) : void |
Provides derived classes an opportunity to handle changes to the IsEnabled property.
|
|
OnTextChanged ( string oldText, string newText ) : void |
Provides derived classes an opportunity to handle changes to the Text property.
|
Méthode | Description | |
---|---|---|
ApplicationBarMenuItemClick ( object sender, |
||
CommandCanExecuteChanged ( object sender, |
||
OnCommandChanged ( |
Handles changes to the Command property.
|
|
OnCommandParameterChanged ( |
Handles changes to the CommandParameter property.
|
|
OnIsEnabledChanged ( |
Handles changes to the IsEnabled property.
|
|
OnTextChanged ( |
Handles changes to the Text property.
|
public Attach ( Microsoft.Phone.Shell.ApplicationBar parentApplicationBar, int i ) : void | ||
parentApplicationBar | Microsoft.Phone.Shell.ApplicationBar | /// The application bar to attach to. /// |
i | int |
/// The index at which the associated
/// |
Résultat | void |
protected OnCommandChanged ( ICommand oldCommand, ICommand newCommand ) : void | ||
oldCommand | ICommand | The old command. |
newCommand | ICommand | The new command. |
Résultat | void |
protected OnCommandParameterChanged ( object oldCommandParameter, object newCommandParameter ) : void | ||
oldCommandParameter | object | /// The old CommandParameter value. /// |
newCommandParameter | object | /// The new CommandParameter value. /// |
Résultat | void |
protected OnIsEnabledChanged ( bool oldIsEnabled, bool newIsEnabled ) : void | ||
oldIsEnabled | bool | The old IsEnabled value. |
newIsEnabled | bool | The new IsEnabled value. |
Résultat | void |
protected OnTextChanged ( string oldText, string newText ) : void | ||
oldText | string | The old text. |
newText | string | The new text. |
Résultat | void |
public static DependencyProperty,System.Windows CommandParameterProperty | ||
Résultat |
public static DependencyProperty,System.Windows CommandProperty | ||
Résultat |
public static DependencyProperty,System.Windows IsEnabledProperty | ||
Résultat |