Interactable.SetDisabled(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.
Caution
Use IsEnabled property instead
Change the disabled state, will override the Enabled property
public:
virtual void SetDisabled(bool disabled);
[System.Obsolete("Use IsEnabled property instead")]
public virtual void SetDisabled (bool disabled);
[<System.Obsolete("Use IsEnabled property instead")>]
abstract member SetDisabled : bool -> unit
override this.SetDisabled : bool -> unit
Public Overridable Sub SetDisabled (disabled As Boolean)
Parameters
- disabled
- Boolean
- Attributes