Version

ReadOnly Property

Determines whether the control will be read-only.
Syntax
'Declaration
 
Public Shadows Property ReadOnly As Boolean
public new bool ReadOnly {get; set;}
Remarks
Set this to True make the MaskedEdit control read-only.
Example
Following code sets the masked edit read-only so the user can't modify its contents.

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

  Private Sub Button6_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button6.Click
      ' Make the masked edit read-only.
      Me.UltraMaskedEdit1.ReadOnly = True
  End Sub
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinMaskedEdit;
using System.Diagnostics;

private void button6_Click(object sender, System.EventArgs e)
{
	// Make the masked edit read-only.
	this.ultraMaskedEdit1.ReadOnly = true;
}
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