Home Notices Documents Classes Download Others Rice
Classes  >  window  >  Enabled(bool)
window class : Enabled(bool) setter

Description

Sets a value indicating whether the window is enabled in the user interface.

Syntax

windowInstance.Enabled = enable

Arguments

ClassNameDescription
boolenableThe value indicating whether the window is enabled in the user interface.

Return value

None

Sample code

1:

window w = new window();

2:

w.Enabled = false;

Notes

It's a wrapper of the System.Windows.UIElement.IsEnabled property.

Sets true if you want to enable the window. Otherwise, sets false.

Links for reference

Copyright © Rice All rights reserved.