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

Provides cancellable event data for a control that a form is preparing to add.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Type Parameters:

T

The type of control offered for addition.

Syntax:

C#
public abstract class ControlCreatingEventArgs<T> : CancelEventArgs where T : Control

Inheritance: objectEventArgsCancelEventArgsControlCreatingEventArgs<T>

Derived Classes: TabbedFormControlCreatingEventArgsToolbarFormControlCreatingEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

Initializes the event data with the candidate control.

C#
public ControlCreatingEventArgs(T control)
Parameters:controlT

The control offered to the creation event.

Fields

Stores the control offered for creation; derived event arguments expose this instance to handlers.

C#
protected T control