corelibraries-devexpress-dot-data-dot-utils-dot-environmentpolicy-758b05d1.md
Fires after environment variables are expanded within the given string and allows you to modify the result.
Namespace : DevExpress.Data.Utils
Assembly : DevExpress.Data.v25.2.dll
NuGet Package : DevExpress.Data
public static event EventHandler<EnvironmentPolicy.ExpandedEnvironmentVariablesEventArgs> ExpandedVariables
Public Shared Event ExpandedVariables As EventHandler(Of EnvironmentPolicy.ExpandedEnvironmentVariablesEventArgs)
The ExpandedVariables event's data class is EnvironmentPolicy.ExpandedEnvironmentVariablesEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| Name | Gets a string that contains names of zero or more environment variables. |
| Value | Gets or sets the resulting string. |
The event data class exposes the following methods:
| Method | Description |
|---|---|
| ToString() | Returns a human-readable representation of the ExpandedEnvironmentVariablesEventArgs object. |
The EnvironmentPolicy fires the ExpandedVariables event after the DevExpress control expands environment variables within the e.Name string. Use the e.Value event parameter to modify the resulting string.
See Also