EnvironmentPolicy Events
Allows you to spot, analyze, and prohibit unwanted requests toSystem.Environment
initiated by DevExpress controls.
Name | Description |
---|---|
ExitingProcess static | Fires when the DevExpress control attempts to exit the current process. Handle this event to allow or suppress the operation. |
ExpandedVariables static | Fires after environment variables are expanded within the given string and allows you to modify the result. |
ExpandingVariables static |
Fires when the DevExpress control attempts to replace names of environment variables using the Environment.ExpandEnvironmentVariables(String) method. Handle this event to allow or suppress the operation.
|
Failed static | Allows you to respond to associated failures (exceptions and errors). |
GettingVariable static | Fires when the DevExpress control attempts to retrieve the value of the environment variable from the current process. Handle this event to allow or suppress the operation. |
GotVariable static | Fires after the DevExpress control has read the value of the environment variable. |
ReadCurrentProcessData static | Fires after the DevExpress control has read current process data. |
ReadingCurrentProcessData static |
Fires when the DevExpress control attempts to read current process data (for example, CurrentDirectory , ProcessId , ProcessPath ). Handle this event to allow or suppress the operation.
|
ReadingSpecialFolder static | Fires when the DevExpress control attempts to read the path to the system special folder (such as Program Files, Programs, System, or Startup). Handle this event to allow or suppress the operation. |
ReadSpecialFolder static | Fires after the DevExpress control has read the path to the system special folder (such as Program Files, Programs, System, or Startup). |
SetCurrentDirectory static | Fires after the DevExpress control has set the path of the current working directory. |
SettingCurrentDirectory static | Fires when the DevExpress control attempts to set the path of the current working directory. Handle this event to allow or suppress the operation. |
SettingVariable static | Fires when the DevExpress control attempts to set the value of the environment variable in the current process. Handle this event to allow or suppress the operation. |
SetVariable static | Fires after the DevExpress control has set the value of the environment variable. |
See Also