Imports Infragistics.Win ... Private Sub Hide_the_Drop_Down_Button_Load(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles MyBase.Load Me.UltraComboEditor1.DropDownButtonDisplayStyle = ButtonDisplayStyle.Never End Sub
This topic applies to the following WinEditor™ controls.
WinCalculatorDropDown™
WinColorPicker™
WinComboEditor™
WinDateTimeEditor™
WinFontNameEditor™
WinTimeZoneEditor™
DropDownButtonDisplayStyle property makes it possible to prevent the Drop-down button from appearing in the element.
The following code will prevent the Drop-down button from displaying:
In Visual Basic:
Imports Infragistics.Win ... Private Sub Hide_the_Drop_Down_Button_Load(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles MyBase.Load Me.UltraComboEditor1.DropDownButtonDisplayStyle = ButtonDisplayStyle.Never End Sub
In C#:
using Infragistics.Win; ... private void Hide_the_Drop_Down_Button_Load(object sender, EventArgs e) { this.ultraComboEditor1.DropDownButtonDisplayStyle = ButtonDisplayStyle.Never; }