RoutedCommand.ICommand.CanExecute(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
For a description of this members, see CanExecute(Object).
virtual bool System.Windows.Input.ICommand.CanExecute(System::Object ^ parameter) = System::Windows::Input::ICommand::CanExecute;
[System.Security.SecurityCritical]
bool ICommand.CanExecute (object parameter);
bool ICommand.CanExecute (object parameter);
[<System.Security.SecurityCritical>]
abstract member System.Windows.Input.ICommand.CanExecute : obj -> bool
override this.System.Windows.Input.ICommand.CanExecute : obj -> bool
abstract member System.Windows.Input.ICommand.CanExecute : obj -> bool
override this.System.Windows.Input.ICommand.CanExecute : obj -> bool
Function CanExecute (parameter As Object) As Boolean Implements ICommand.CanExecute
Parameters
- parameter
- Object
Data used by the command. If the command does not require data to be passed, this object can be set to null
.
Returns
true
if this command can be executed; otherwise, false
.
Implements
- Attributes
Remarks
This member is an explicit interface member implementation. It can be used only when the RoutedCommand instance is cast to an ICommand interface.
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.