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

Provides the child-control collection used by RadDataEntry, with special missing-control handling for its validation panel.

Definition

Constructors

Initializes the collection for the specified data-entry control.

C#
public DataEntryPanelControlCollection(RadDataEntry owner)
Parameters:ownerRadDataEntry

The RadDataEntry whose child controls this collection manages.

Methods

Gets a child control's index. The owner's validation panel is looked up in the content collection with missing-control exceptions disabled.

C#
public override int GetChildIndex(Control value, bool throwException)
Parameters:valueControl

The control whose index is requested.

throwExceptionbool

Whether a missing control should cause the underlying collection to throw.

Returns:

int

The index in the routed collection, or -1 when the control is not found and exceptions are disabled. The validation panel lookup uses the content collection even though the panel is inserted into the outer collection.

Overrides: RadScrollablePanelControlCollection.GetChildIndex(Control, bool)