Class WidgetCollectionBase<T>
Base collection providing creation, enumeration, and removal logic for form field widgets.
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
Number of widgets currently stored.
Declaration
public int Count { get; }
Property Value
|
System.Int32
The number of widgets in the collection. |
Methods
GetEnumerator()
Return an enumerator over the widgets.
Declaration
public IEnumerator<T> GetEnumerator()
Returns
|
System.Collections.Generic.IEnumerator<T>
An enumerator for the widget collection. |
Implements
Remove(T)
Remove the specified widget and detach it from its field.
Declaration
public void Remove(T widget)
Parameters
|
T
widget
The widget to remove from the collection. |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Return a non-generic enumerator over the widgets.
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
|
System.Collections.IEnumerator
|