Skip to main content
All docs
V25.1
  • EnvironmentPolicy.GotVariable Event

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

    Namespace: DevExpress.Data.Utils

    Assembly: DevExpress.Data.v25.1.dll

    NuGet Package: DevExpress.Data

    #Declaration

    #Event Data

    The GotVariable event's data class is EnvironmentPolicy.GotEnvironmentVariableEventArgs. 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 or sets the value of the environment variable.
    Values Gets environment variable names and their values.

    The event data class exposes the following methods:

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

    #Remarks

    The EnvironmentPolicy fires the GotVariable event after the DevExpress control has read the value of the environment variable (e.Name). Use the e.Value event parameter to modify the variable value if necessary.

    Read the following topic for additional information: Environment Policy.

    See Also