Skip to main content
All docs
V24.2

EnvironmentPolicy.SetVariable Event

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

Namespace: DevExpress.Data.Utils

Assembly: DevExpress.Data.v24.2.dll

Declaration

public static event EventHandler<EnvironmentPolicy.SetEnvironmentVariableEventArgs> SetVariable

Event Data

The SetVariable event's data class is EnvironmentPolicy.SetEnvironmentVariableEventArgs. 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 the value of the environment variable.

The event data class exposes the following methods:

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

Remarks

The EnvironmentPolicy fires the SetVariable event after the DevExpress control has set the value of the environment variable (e.Name).

Read the following topic for additional information: Environment Policy.

See Also