skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class InputBindingsCollection

Represents a collection of input bindings that can be used to manage keyboard shortcuts and commands. Provides functionality to add, remove, and search for input bindings within the collection.

Inheritance
System.Object
System.Collections.CollectionBase
InputBindingsCollection
Inherited Members
System.Collections.CollectionBase.Clear()
System.Collections.CollectionBase.RemoveAt(System.Int32)
System.Collections.CollectionBase.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.CollectionBase.System.Collections.IList.Contains(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Add(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Remove(System.Object)
System.Collections.CollectionBase.System.Collections.IList.IndexOf(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.CollectionBase.GetEnumerator()
System.Collections.CollectionBase.OnSet(System.Int32, System.Object, System.Object)
System.Collections.CollectionBase.OnInsert(System.Int32, System.Object)
System.Collections.CollectionBase.OnClear()
System.Collections.CollectionBase.OnRemove(System.Int32, System.Object)
System.Collections.CollectionBase.OnValidate(System.Object)
System.Collections.CollectionBase.OnSetComplete(System.Int32, System.Object, System.Object)
System.Collections.CollectionBase.OnInsertComplete(System.Int32, System.Object)
System.Collections.CollectionBase.OnClearComplete()
System.Collections.CollectionBase.OnRemoveComplete(System.Int32, System.Object)
System.Collections.CollectionBase.InnerList
System.Collections.CollectionBase.List
System.Collections.CollectionBase.Capacity
System.Collections.CollectionBase.Count
System.Collections.CollectionBase.System.Collections.IList.IsReadOnly
System.Collections.CollectionBase.System.Collections.IList.IsFixedSize
System.Collections.CollectionBase.System.Collections.ICollection.IsSynchronized
System.Collections.CollectionBase.System.Collections.ICollection.SyncRoot
System.Collections.CollectionBase.System.Collections.IList.Item[System.Int32]
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.Keyboard
Assembly: Telerik.WinControls.dll

Syntax

public class InputBindingsCollection : CollectionBase, IList, ICollection, IEnumerable

Constructors

InputBindingsCollection()

Initializes a new instance of the InputBindingsCollection class.

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)

Initializes a new instance of the InputBindingsCollection class with the specified owner.

Declaration
public InputBindingsCollection(Shortcuts owner)
Parameters
Shortcuts owner

The Shortcuts instance that owns this collection.

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

index is outside the valid range of indexes for the collection.

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 array where copying begins.

Exceptions
System.ArgumentException

array is multidimensional.

-or-

The number of elements in the InputBindingsCollection is greater than the available space between index and the end of array.

System.ArgumentNullException

array is null.

System.ArgumentOutOfRangeException

index is less than array's lowbound.

GetBindingByComponent(IComponent)

Gets all input bindings associated with the specified component.

Declaration
public InputBindingsCollection GetBindingByComponent(IComponent component)
Parameters
System.ComponentModel.IComponent component

The component to search for bindings.

Returns
InputBindingsCollection

A collection of input bindings associated with the component, or null if none found.

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 value in the InputBindingsCollection, if found; otherwise, -1.

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 value should be inserted.

InputBinding value

The InputBinding to insert.

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

value is not found in the Collection.

RemoveBindingByComponent(IComponent)

Removes all input bindings associated with the specified component from the collection.

Declaration
public void RemoveBindingByComponent(IComponent component)
Parameters
System.ComponentModel.IComponent component

The component whose bindings should be removed.

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.