Back to Devexpress

EnvironmentPolicy.ReadingCurrentProcessData Event

corelibraries-devexpress-dot-data-dot-utils-dot-environmentpolicy-221b8c5b.md

latest2.8 KB
Original Source

EnvironmentPolicy.ReadingCurrentProcessData Event

Fires when the DevExpress control attempts to read current process data (for example, CurrentDirectory, ProcessId, ProcessPath). Handle this event to allow or suppress the operation.

Namespace : DevExpress.Data.Utils

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

Declaration

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

Event Data

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

PropertyDescription
CancelGets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
ParameterGets the name of the process parameter.

The event data class exposes the following methods:

MethodDescription
ToString()Returns a human-readable representation of the ReadingCurrentProcessDataEventArgs object.

Remarks

Use the e.Parameter event parameter to obtain the name of the process parameter.

Use the e.Cancel event parameter to allow or suppress the operation.

Read the following topic for additional information: Environment Policy.

See Also

ReadCurrentProcessData

SuppressReadingCurrentProcessData()

EnvironmentPolicy Class

EnvironmentPolicy Members

DevExpress.Data.Utils Namespace