Back to Devexpress

EnvironmentPolicy.SetCurrentDirectory Event

corelibraries-devexpress-dot-data-dot-utils-dot-environmentpolicy-c47da362.md

latest2.2 KB
Original Source

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.2.dll

NuGet Package : DevExpress.Data

Declaration

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

Event Data

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

PropertyDescription
PathGets the path of the current working directory.

The event data class exposes the following methods:

MethodDescription
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

SettingCurrentDirectory

SuppressSettingCurrentDirectory()

EnvironmentPolicy Class

EnvironmentPolicy Members

DevExpress.Data.Utils Namespace