corelibraries-devexpress-dot-data-dot-utils-dot-environmentpolicy-d698659b.md
Fires after the DevExpress control has read the path to the system special folder (such as Program Files, Programs, System, or Startup).
Namespace : DevExpress.Data.Utils
Assembly : DevExpress.Data.v25.2.dll
NuGet Package : DevExpress.Data
public static event EventHandler<EnvironmentPolicy.SpecialFolderEventArgs> ReadSpecialFolder
Public Shared Event ReadSpecialFolder As EventHandler(Of EnvironmentPolicy.SpecialFolderEventArgs)
The ReadSpecialFolder event's data class is EnvironmentPolicy.SpecialFolderEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| Folder | Gets the system special folder (such as Program Files, Programs, System, or Startup). |
| FolderPath | Gets or sets the path to the system special folder. |
| Option | Gets the option used for accessing a special folder. |
The event data class exposes the following methods:
| Method | Description |
|---|---|
| ToString() | Returns a human-readable representation of the SpecialFolderEventArgs object. |
The EnvironmentPolicy fires the ReadSpecialFolder event after the DevExpress control has read the value of the path to the system special folder (e.Folder). Use the e.FolderPath event parameter to modify the path if needed.
Read the following topic for additional information: Environment Policy.
See Also