Class InputBindingsCollection
Inheritance
Inherited Members
Namespace: Telerik.WinControls.Keyboard
Assembly: Telerik.WinControls.dll
Syntax
public class InputBindingsCollection : CollectionBase, IList, ICollection, IEnumerable
Constructors
InputBindingsCollection()
Declaration
public InputBindingsCollection()
InputBindingsCollection(InputBinding[])
Initializes a new instance of InputBindingsCollection containing any array of InputBinding objects.
Declaration
public InputBindingsCollection(InputBinding[] value)
Parameters
InputBinding[]
value
A array of InputBinding objects with which to intialize the collection |
InputBindingsCollection(InputBindingsCollection)
Initializes a new instance of InputBindingsCollection based on another InputBindingsCollection.
Declaration
public InputBindingsCollection(InputBindingsCollection value)
Parameters
InputBindingsCollection
value
A InputBindingsCollection from which the contents are copied |
InputBindingsCollection(Shortcuts)
Properties
Item[Int32]
Represents the entry at the specified index of the InputBinding.
Declaration
public InputBinding this[int index] { get; set; }
Parameters
System.Int32
index
The zero-based index of the entry to locate in the collection. |
Property Value
InputBinding
The entry at the specified index of the collection. |
Exceptions
System.ArgumentOutOfRangeException
|
Methods
Add(InputBinding)
Adds a InputBinding with the specified value to the InputBindingsCollection .
Declaration
public int Add(InputBinding value)
Parameters
InputBinding
value
The InputBinding to add. |
Returns
System.Int32
The index at which the new element was inserted. |
AddRange(InputBinding[])
Copies the elements of an array to the end of the InputBindingsCollection.
Declaration
public void AddRange(InputBinding[] value)
Parameters
InputBinding[]
value
An array of type InputBinding containing the objects to add to the collection. |
AddRange(InputBindingsCollection)
Adds the contents of another InputBindingsCollection to the end of the collection.
Declaration
public void AddRange(InputBindingsCollection value)
Parameters
InputBindingsCollection
value
A InputBindingsCollection containing the objects to add to the collection. |
Contains(InputBinding)
Gets a value indicating whether the InputBindingsCollection contains the specified InputBinding.
Declaration
public bool Contains(InputBinding value)
Parameters
InputBinding
value
The InputBinding to locate. |
Returns
System.Boolean
true if the InputBinding is contained in the collection; otherwise, false. |
CopyTo(InputBinding[], Int32)
Copies the InputBindingsCollection values to a one-dimensional System.Array instance at the specified index.
Declaration
public void CopyTo(InputBinding[] array, int index)
Parameters
InputBinding[]
array
The one-dimensional System.Array that is the destination of the values copied from InputBindingsCollection . |
System.Int32
index
The index in |
Exceptions
System.ArgumentException
-or- The number of elements in the InputBindingsCollection is greater than the available space between |
System.ArgumentNullException
|
System.ArgumentOutOfRangeException
|
GetBindingByComponent(IComponent)
Declaration
public InputBindingsCollection GetBindingByComponent(IComponent component)
Parameters
System.ComponentModel.IComponent
component
|
Returns
InputBindingsCollection
|
IndexOf(InputBinding)
Returns the index of a InputBinding in the InputBindingsCollection .
Declaration
public int IndexOf(InputBinding value)
Parameters
InputBinding
value
The InputBinding to locate. |
Returns
System.Int32
The index of the InputBinding of |
Insert(Int32, InputBinding)
Inserts a InputBinding into the InputBindingsCollection at the specified index.
Declaration
public void Insert(int index, InputBinding value)
Parameters
System.Int32
index
The zero-based index where |
InputBinding
value
|
Remove(InputBinding)
Removes a specific InputBinding from the InputBindingsCollection .
Declaration
public void Remove(InputBinding value)
Parameters
InputBinding
value
The InputBinding to remove from the InputBindingsCollection . |
Exceptions
System.ArgumentException
|
RemoveBindingByComponent(IComponent)
Declaration
public void RemoveBindingByComponent(IComponent component)
Parameters
System.ComponentModel.IComponent
component
|