Objective Grid for Microsoft® .NET® Reference Guide

GridTabControl.OnControlAdded Method 

Back to Class Index

Raises the ControlAdded event. Called when a child control is added to the control.

[Visual Basic]
Overrides Protected Sub OnControlAdded( _
   ByVal e As ControlEventArgs _
)
[C#]
protected override void OnControlAdded(
   ControlEventArgs e
);

Parameters

e
A ControlEventArgs that contains the event data.

Remarks

Handles the situation when a control is added directly to the GridTabControl's Controls collection at run time or is dropped on the GridTabControl at design time. Adds a new tab for the added control with the control's Text property that is used for initializing TabLabel text.

See Also

GridTabControl Class | GridTabControl Members | Stingray.Grid Namespace