/// <summary> /// <para> Removes a specific <see cref='Telerik.WinControls.Keyboard.InputBinding'/> from the /// <see cref='InputBindingsCollection'/> .</para> /// </summary> /// <param name='value'>The <see cref='Telerik.WinControls.Keyboard.InputBinding'/> to remove from the <see cref='InputBindingsCollection'/> .</param> /// <returns><para>None.</para></returns> /// <exception cref='System.ArgumentException'><paramref name='value'/> is not found in the Collection. </exception> public void Remove(InputBinding value) { List.Remove(value); }
/// <summary> /// <para>Adds a <see cref='Telerik.WinControls.Keyboard.InputBinding'/> with the specified value to the /// <see cref='InputBindingsCollection'/> .</para> /// </summary> /// <param name='value'>The <see cref='Telerik.WinControls.Keyboard.InputBinding'/> to add.</param> /// <returns> /// <para>The index at which the new element was inserted.</para> /// </returns> public int Add(InputBinding value) { return(List.Add(value)); }
/// <summary> /// <para>Returns the index of a <see cref='Telerik.WinControls.Keyboard.InputBinding'/> in /// the <see cref='InputBindingsCollection'/> .</para> /// </summary> /// <param name='value'>The <see cref='Telerik.WinControls.Keyboard.InputBinding'/> to locate.</param> /// <returns> /// <para>The index of the <see cref='Telerik.WinControls.Keyboard.InputBinding'/> of <paramref name='value'/> in the /// <see cref='InputBindingsCollection'/>, if found; otherwise, -1.</para> /// </returns> public int IndexOf(InputBinding value) { return(List.IndexOf(value)); }
/// <summary> /// <para>Inserts a <see cref='Telerik.WinControls.Keyboard.InputBinding'/> into the <see cref='InputBindingsCollection'/> at the specified index.</para> /// </summary> /// <param name='index'>The zero-based index where <paramref name='value'/> should be inserted.</param> /// <param name=' value'>The <see cref='Telerik.WinControls.Keyboard.InputBinding'/> to insert.</param> /// <returns><para>None.</para></returns> public void Insert(int index, InputBinding value) { List.Insert(index, value); }
public bool Contains(InputBinding value) { return(this.List.Contains((object)value)); }
/// <summary> /// <para>Gets a value indicating whether the /// <see cref='InputBindingsCollection'/> contains the specified <see cref='Telerik.WinControls.Keyboard.InputBinding'/>.</para> /// </summary> /// <param name='value'>The <see cref='Telerik.WinControls.Keyboard.InputBinding'/> to locate.</param> /// <returns> /// <para><see langword='true'/> if the <see cref='Telerik.WinControls.Keyboard.InputBinding'/> is contained in the collection; /// otherwise, <see langword='false'/>.</para> /// </returns> public bool Contains(InputBinding value) { return(List.Contains(value)); }
public void Remove(InputBinding value) { this.List.Remove((object)value); }
public int Add(InputBinding value) { return(this.List.Add((object)value)); }
public void Insert(int index, InputBinding value) { this.List.Insert(index, (object)value); }
public int IndexOf(InputBinding value) { return(this.List.IndexOf((object)value)); }
public void ResetCommandBinding(InputBinding value) { value.Clear(); }
private bool ShouldSerializeCommandBinding(InputBinding value) { return(!value.IsEmpty); }
public void AddCommandBindings(InputBinding binding) { this.inputBindings.Add(binding); }