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.v24.2.dll
Declaration
public static event EventHandler<EnvironmentPolicy.ReadingCurrentProcessDataEventArgs> ReadingCurrentProcessData
Event Data
The ReadingCurrentProcessData event's data class is EnvironmentPolicy.ReadingCurrentProcessDataEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs. |
Parameter | Gets the name of the process parameter. |
The event data class exposes the following methods:
Method | Description |
---|---|
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.