Class
WidgetCollectionBase<T>

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:

cs-api-definition
public class WidgetCollectionBase<T> : IEnumerable<T>, IEnumerable where T : Widget

Inheritance: objectWidgetCollectionBase<T>

Derived Classes: RadioButtonWidgetCollectionWidgetCollection<T>

Implements: IEnumerableIEnumerable<T>

Properties

Count

Number of widgets currently stored.

Declaration

cs-api-definition
public int Count { get; }

Property Value

int

The number of widgets in the collection.

Methods

GetEnumerator()

Return an enumerator over the widgets.

Declaration

cs-api-definition
public IEnumerator<T> GetEnumerator()

Returns

IEnumerator<T>

An enumerator for the widget collection.

Implements IEnumerable<T>.GetEnumerator()

Remove(T)

Remove the specified widget and detach it from its field.

Declaration

cs-api-definition
public void Remove(T widget)

Parameters

widget

T

The widget to remove from the collection.