[This is preliminary documentation and is subject to change.]
Possible states of system menu
Namespace: Tools.WindowsT.FormsTAssembly: Tools.Win (in Tools.Win.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
public enum SystemMenuState |
| Visual Basic |
|---|
Public Enumeration SystemMenuState |
| Visual C++ |
|---|
public enum class SystemMenuState |
| F# |
|---|
type SystemMenuState |
| JScript |
|---|
public enum SystemMenuState |
Members
| Member name | Value | Description | |
|---|---|---|---|
| Disabled | 2 | Indicates that the menu item is disabled, but not grayed, so it cannot be selected, but visually seems like it can be selected. Button in title bar is greyed. Note: User CANNOT press Alt+F4 (or use another method exluding force methods (kill)) to close window if used by instance member (not static (shared)) CloseBoxEnabled; if used with static (shared) CloseBoxEnabled user CAN use Alt+F4 (or other 'soft' methods) to close window. | |
| Enabled | 0 | Indicates that the menu item is enabled and restored from a grayed state so that it can be selected. | |
| Grayed | 1 | Indicates that the menu item is disabled and grayed so that it cannot be selected. Button in title bar is greyed. Note: User CANNOT press Alt+F4 (or use another method exluding force methods (kill)) to close window if used by instance member (not static (shared)) CloseBoxEnabled; if used with static (shared) CloseBoxEnabled user CAN use Alt+F4 (or other 'soft' methods) to close window. | |
| IsFlags | Gets value indicating if given value is of enum type which has FlagsAttribute applied | ||
| GetName | Gets name of given enumeration value | ||
| GetConstant | Gets constant field that represents given enum value | ||
| GetValue | Gets value of enum in its unedlying type | ||
| IsDefined | Gets value idicating if given value is defined as constant in enumeration |