Back to Devexpress

EnvironmentPolicy.ExpandedVariables Event

corelibraries-devexpress-dot-data-dot-utils-dot-environmentpolicy-758b05d1.md

latest2.3 KB
Original Source

EnvironmentPolicy.ExpandedVariables Event

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

Declaration

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

Event Data

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

PropertyDescription
NameGets a string that contains names of zero or more environment variables.
ValueGets or sets the resulting string.

The event data class exposes the following methods:

MethodDescription
ToString()Returns a human-readable representation of the ExpandedEnvironmentVariablesEventArgs object.

Remarks

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

ExpandingVariables

EnvironmentPolicy Class

EnvironmentPolicy Members

DevExpress.Data.Utils Namespace