Contains constants that specify the actions to take against target UI elements based
on whether the required permission was granted.
| C# |
[FlagsAttribute] public enum SecurityCheckBehavior
| Member | Description |
|---|---|
| None |
No action will be taken against target elements.
|
| SetText |
Text of target elements will be changed based on security.
|
| SetToolTipText |
Tooltip text of target elements will be changed based on security.
|
| SetEnabled |
Target elements will be enabled or disabled based on security.
|
| VisibleIfGranted |
Target elements will be visible or hidden based on security.
|
| EnabledIfGranted |
Target elements will be enabled or disabled based on security and will remain visible.
This behavior affects the Text, ToolTipText, and Enabled properties.
|