ContentIsland.IsIslandEnabled Property

Definition

Gets or sets whether this ContentIsland can receive input.

public:
 property bool IsIslandEnabled { bool get(); void set(bool value); };
bool IsIslandEnabled();

void IsIslandEnabled(bool value);
public bool IsIslandEnabled { get; set; }
var boolean = contentIsland.isIslandEnabled;
contentIsland.isIslandEnabled = boolean;
Public Property IsIslandEnabled As Boolean

Property Value

Boolean

bool

True, if the ContentIsland can receive input; otherwise, false. The default is true.

Remarks

If Microsoft.UI.Content.ContentIsland.IsSiteEnabled is false, the ContentIsland cannot receive input, regardless of its value.

Useful for disabling input processing while showing a modal dialog.

Applies to