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

    Fires after the DevExpress control has set the path of the current working directory.

    Namespace: DevExpress.Data.Utils

    Assembly: DevExpress.Data.v25.1.dll

    NuGet Package: DevExpress.Data

    #Declaration

    public static event EventHandler<EnvironmentPolicy.PathEventArgs> SetCurrentDirectory

    #Event Data

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

    Property Description
    Path Gets the path of the current working directory.

    The event data class exposes the following methods:

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

    #Remarks

    The EnvironmentPolicy fires the SetCurrentDirectory event after the DevExpress control has set the path of the current working directory. Use the e.Path event parameter to modify the path if needed.

    Read the following topic for additional information: Environment Policy.

    See Also