ToolStripItem.CommandCanExecuteChanged Event
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.
Note
To use this preview API, you must enable preview features in your project by setting the EnablePreviewFeatures
property to True
in your project file. For more information, see https://aka.ms/dotnet-preview-features.
Occurs when the CanExecute(Object) status of the ICommand that's assigned to the Command property has changed.
public:
virtual event EventHandler ^ CommandCanExecuteChanged;
[System.Runtime.Versioning.RequiresPreviewFeatures]
public event EventHandler CommandCanExecuteChanged;
public event EventHandler? CommandCanExecuteChanged;
[<System.Runtime.Versioning.RequiresPreviewFeatures>]
member this.CommandCanExecuteChanged : EventHandler
member this.CommandCanExecuteChanged : EventHandler
Public Custom Event CommandCanExecuteChanged As EventHandler
Event Type
- Attributes
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.