ContextMenuService.SetIsEnabled(DependencyObject, Boolean) 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.
Sets the value of the IsEnabled property of the specified object.
public:
static void SetIsEnabled(System::Windows::DependencyObject ^ element, bool value);
public static void SetIsEnabled (System.Windows.DependencyObject element, bool value);
static member SetIsEnabled : System.Windows.DependencyObject * bool -> unit
Public Shared Sub SetIsEnabled (element As DependencyObject, value As Boolean)
Parameters
- element
- DependencyObject
Object to set value on.
- value
- Boolean
Value to set.
Applies to
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.