Version

ReadOnly Property (UltraCombo)

Specifies whether the UltraCombo is read-only.
Syntax
'Declaration
 
Public Property ReadOnly As Boolean
public bool ReadOnly {get; set;}
Remarks

When this property is set to True the user won't be allowed to change the value of the combo.

Example
Following code makes an UltraCombo read-only by setting its ReadOnly property to true.

Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinGrid


    Private Sub UltraCombo1_InitializeLayout(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs) Handles UltraCombo1.InitializeLayout
        ' Prevent the user from modifying the contents of the UltraCombo by setting
        ' its ReadOnly property to true.
        Me.UltraCombo1.ReadOnly = True
    End Sub
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinGrid;
using System.Diagnostics;


		private void UltraCombo1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
		{
			// Prevent the user from modifying the contents of the UltraCombo by setting
			// its ReadOnly property to true.
			this.UltraCombo1.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