Back to Devexpress

EnvironmentPolicy.SetVariable Event

corelibraries-devexpress-dot-data-dot-utils-dot-environmentpolicy-9a39a04d.md

latest2.5 KB
Original Source

EnvironmentPolicy.SetVariable Event

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

Namespace : DevExpress.Data.Utils

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

Declaration

csharp
public static event EventHandler<EnvironmentPolicy.SetEnvironmentVariableEventArgs> SetVariable
vb
Public Shared Event SetVariable As EventHandler(Of EnvironmentPolicy.SetEnvironmentVariableEventArgs)

Event Data

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

PropertyDescription
NameGets the environment variable name.
TargetGets the location where an environment variable is stored.
ValueGets the value of the environment variable.

The event data class exposes the following methods:

MethodDescription
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

SettingVariable

SuppressSettingEnvironmentVariables()

EnvironmentPolicy Class

EnvironmentPolicy Members

DevExpress.Data.Utils Namespace