EnvironmentPolicy.ReadSpecialFolder Event
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.v24.2.dll
Declaration
public static event EventHandler<EnvironmentPolicy.SpecialFolderEventArgs> ReadSpecialFolder
Event Data
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.
|
Remarks
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.