corelibraries-devexpress-dot-data-dot-utils-dot-environmentpolicy-c47da362.md
Fires after the DevExpress control has set the path of the current working directory.
Namespace : DevExpress.Data.Utils
Assembly : DevExpress.Data.v25.2.dll
NuGet Package : DevExpress.Data
public static event EventHandler<EnvironmentPolicy.PathEventArgs> SetCurrentDirectory
Public Shared Event SetCurrentDirectory As EventHandler(Of EnvironmentPolicy.PathEventArgs)
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. |
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