Class WidgetCollectionBase<T>
Represents an abstract base collection for managing form field widgets of a specific type, providing common functionality for widget creation, addition, and removal.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.InteractiveForms
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class WidgetCollectionBase<T> : IEnumerable<T>, IEnumerable where T : Widget
Type Parameters
T
The specific widget type that extends the Widget base class. |
Properties
Count
Gets the total number of widgets contained in this collection.
Declaration
public int Count { get; }
Property Value
System.Int32
The number of widgets in the collection. |
Methods
GetEnumerator()
Returns an enumerator that iterates through the widget collection.
Declaration
public IEnumerator<T> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<T>
An enumerator for the widget collection. |
Implements
Remove(T)
Removes the specified widget from the collection and releases its association with the parent form field.
Declaration
public void Remove(T widget)
Parameters
T
widget
The widget to remove from the collection. |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Iterates the options in the collection.
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.Collections.IEnumerator
The options. |