Skip to main content
All docs
V24.2

EnvironmentPolicy.GotVariable Event

Fires after the DevExpress control has read the value of the environment variable.

Namespace: DevExpress.Data.Utils

Assembly: DevExpress.Data.v24.2.dll

Declaration

public static event EventHandler<EnvironmentPolicy.GotEnvironmentVariableEventArgs> GotVariable

Event Data

The GotVariable event's data class is EnvironmentPolicy.GotEnvironmentVariableEventArgs. The following properties provide information specific to this event:

Property Description
Name Gets the environment variable name.
Target Gets the location where an environment variable is stored.
Value Gets or sets the value of the environment variable.
Values Gets environment variable names and their values.

The event data class exposes the following methods:

Method Description
ToString() Returns a human-readable representation of the GotEnvironmentVariableEventArgs object.

Remarks

The EnvironmentPolicy fires the GotVariable event after the DevExpress control has read the value of the environment variable (e.Name). Use the e.Value event parameter to modify the variable value if necessary.

Read the following topic for additional information: Environment Policy.

See Also