New to Telerik UI for WinForms? Start a free 30-day trial

Provides the item and initial cancellation state for a property-grid notification.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class RadPropertyGridCancelEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsRadPropertyGridCancelEventArgs

Derived Classes: PropertyGridContextMenuOpeningEventArgsPropertyGridItemEditingEventArgsPropertyGridItemValidatingEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

Initializes event data for the specified item and cancellation state.

C#
public RadPropertyGridCancelEventArgs(PropertyGridItemBase item, bool cancel)
Parameters:itemPropertyGridItemBase

The item associated with the notification.

cancelbool

true to initialize the event as canceled; otherwise, false.

Initializes event data for the specified item with cancellation disabled.

C#
public RadPropertyGridCancelEventArgs(PropertyGridItemBase item)
Parameters:itemPropertyGridItemBase

The item associated with the notification.

Properties

Gets the item associated with the notification.

C#
public PropertyGridItemBase Item { get; }