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 पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.