Version

InsertMode Property

Returns or sets the editing mode (insert or overstrike) of the control.
Syntax
'Declaration
 
Public Property InsertMode As Boolean
public bool InsertMode {get; set;}
Remarks

When this property is set to True, characters typed will be inserted at the current text caret position and any following characters will be moved. When set to false, typing at an insertion point that contains an existing character will replace that character. The value of this flag also affects how characters are deleted using either The Delete key or the Backspace key. When in insert mode, characters after the character being deleted will be shifted by one to the left within the section.

Example
Following code toggles the insert mode on the button. InsertMode can also be toggled using the Insert key on the keyboard.

Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinMaskedEdit

  Private Sub Button5_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button5.Click

      ' Toggle the insert mode.
      Me.ultraMaskedEdit1.InsertMode = Not Me.ultraMaskedEdit1.InsertMode

      ' Give focus back to the maske edit.
      Me.UltraMaskedEdit1.Focus()
  End Sub
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinMaskedEdit;
using System.Diagnostics;

private void button5_Click(object sender, System.EventArgs e)
{
	// Toggle the insert mode.
	this.ultraMaskedEdit1.InsertMode = !this.ultraMaskedEdit1.InsertMode;
	
	// Give focus back to the maske edit.
	this.ultraMaskedEdit1.Focus( );
}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also