Redigera

Dela via


Interactable.SetDisabled(Boolean) Method

Definition

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

Applies to