Back to Devexpress

EnvironmentPolicy.ReadSpecialFolder Event

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

latest2.5 KB
Original Source

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

NuGet Package : DevExpress.Data

Declaration

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

Event Data

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

PropertyDescription
FolderGets the system special folder (such as Program Files, Programs, System, or Startup).
FolderPathGets or sets the path to the system special folder.
OptionGets the option used for accessing a special folder.

The event data class exposes the following methods:

MethodDescription
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.

See Also

EnvironmentPolicy Class

EnvironmentPolicy Members

DevExpress.Data.Utils Namespace