• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class FormControlCollection

Represents a collection of form controls on a sheet.

Inheritance
object
FormControlCollection
WorksheetFormControlCollection
Implements
IReadOnlyList<FormControl>
IReadOnlyCollection<FormControl>
IEnumerable<FormControl>
IEnumerable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Spreadsheet.Forms
Assembly: DRIT.Spreadsheet.dll
Syntax
public class FormControlCollection : IReadOnlyList<FormControl>, IReadOnlyCollection<FormControl>, IEnumerable<FormControl>, IEnumerable
Remarks

Form controls does not have unique names. It is allowed to have multiple controls with the same name.

Properties

Count

Reports the number of items currently held by FormControlCollection.

Declaration
public int Count { get; }
Property Value
Type Description
int

The count returned by the operation.

Remarks

Form controls does not have unique names. It is allowed to have multiple controls with the same name.

this[int]

Provides indexed access to values in the FormControlCollection.

Declaration
public FormControl this[int index] { get; }
Parameters
Type Name Description
int index
Property Value
Type Description
FormControl

The this returned by the operation.

Remarks

Form controls does not have unique names. It is allowed to have multiple controls with the same name.

Methods

GetEnumerator()

Retrieves the requested enumerator from the FormControlCollection.

Declaration
public IEnumerator<FormControl> GetEnumerator()
Returns
Type Description
IEnumerator<FormControl>

The get enumerator returned by the operation.

Remarks

Form controls does not have unique names. It is allowed to have multiple controls with the same name.

Get<TC>(string)

Retrieves the requested value from the FormControlCollection.

Declaration
public TC Get<TC>(string name) where TC : FormControl
Parameters
Type Name Description
string name

The name used by the operation.

Returns
Type Description
TC

The get returned by the operation.

Type Parameters
Name Description
TC
Remarks

Form controls does not have unique names. It is allowed to have multiple controls with the same name.

Implements

IReadOnlyList<T>
IReadOnlyCollection<T>
IEnumerable<T>
IEnumerable
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX