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

Provides the toolbar control being created for a form so an event handler can replace it or cancel its addition.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class ToolbarFormControlCreatingEventArgs : ControlCreatingEventArgs<RadToolbarFormControl>

Inheritance: objectEventArgsCancelEventArgsControlCreatingEventArgs<RadToolbarFormControl>ToolbarFormControlCreatingEventArgs

Inherited Members ControlCreatingEventArgs<RadToolbarFormControl>.controlCancelEventArgs.CancelEventArgs.Empty

Constructors

Initializes the event data with the toolbar control that the form is about to add.

C#
public ToolbarFormControlCreatingEventArgs(RadToolbarFormControl control)
Parameters:controlRadToolbarFormControl

The initial toolbar control, which can be replaced through ToolbarFormControl or canceled through Cancel.

Properties

Gets or sets the RadToolbarFormControl added to the form.

C#
public RadToolbarFormControl ToolbarFormControl { get; set; }