New to Telerik Document ProcessingStart a free 30-day trial

Base collection providing creation, enumeration, and removal logic for form field widgets.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Model.InteractiveForms

Assembly:Telerik.Windows.Documents.Fixed.dll

Type Parameters:

T

The specific widget type that extends the Widget base class.

Syntax:

C#
public class WidgetCollectionBase<T> : IEnumerable<T>, IEnumerable where T : Widget

Inheritance: objectWidgetCollectionBase<T>

Derived Classes: RadioButtonWidgetCollectionWidgetCollection<T>

Implements: IEnumerableIEnumerable<T>

Methods

Return an enumerator over the widgets.

C#
public IEnumerator<T> GetEnumerator()
Returns:

IEnumerator<T>

An enumerator for the widget collection.

Implements: IEnumerable<T>.GetEnumerator()

Remove the specified widget and detach it from its field.

C#
public void Remove(T widget)
Parameters:widgetT

The widget to remove from the collection.

Properties

Number of widgets currently stored.

C#
public int Count { get; }
Property Value:

The number of widgets in the collection.