Skip to main content
All docs
V25.1
  • 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.1.dll

    NuGet Package: DevExpress.Data

    Declaration

    public static event EventHandler<EnvironmentPolicy.ExpandedEnvironmentVariablesEventArgs> ExpandedVariables

    Event Data

    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.

    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