Esempio n. 1
0
 /// <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);
 }
Esempio n. 2
0
 /// <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));
 }
Esempio n. 3
0
 /// <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));
 }
Esempio n. 4
0
 /// <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);
 }
Esempio n. 5
0
 public bool Contains(InputBinding value)
 {
     return(this.List.Contains((object)value));
 }
Esempio n. 6
0
 /// <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));
 }
Esempio n. 7
0
 public void Remove(InputBinding value)
 {
     this.List.Remove((object)value);
 }
Esempio n. 8
0
 public int Add(InputBinding value)
 {
     return(this.List.Add((object)value));
 }
Esempio n. 9
0
 public void Insert(int index, InputBinding value)
 {
     this.List.Insert(index, (object)value);
 }
Esempio n. 10
0
 public int IndexOf(InputBinding value)
 {
     return(this.List.IndexOf((object)value));
 }
Esempio n. 11
0
 public void ResetCommandBinding(InputBinding value)
 {
     value.Clear();
 }
Esempio n. 12
0
 private bool ShouldSerializeCommandBinding(InputBinding value)
 {
     return(!value.IsEmpty);
 }
Esempio n. 13
0
 public void AddCommandBindings(InputBinding binding)
 {
     this.inputBindings.Add(binding);
 }