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