'Declaration Public Property DropDownButtonDisplayStyle As Infragistics.Win.ButtonDisplayStyle
public Infragistics.Win.ButtonDisplayStyle DropDownButtonDisplayStyle {get; set;}
The UltraComboEditor control provides the ability to control whether the dropdown button is displayed.
When set to Always (default), the dropdown button is always displayed, as is the case with an intrinsic ComboBox control.
When set to Never, the dropdown button is never displayed. Note that this does not affect whether the list portion of the control can be displayed.
When set to OnMouseEnter, the dropdown button is displayed when the cursor passes into the boundaries of the control, and hidden when it passes outside.
Imports Infragistics.Win Imports Infragistics.Win.UltraWinEditors Private Sub SetupDropDownStyles() ' Set the DropDownStyle to DropDownList so the control's ' value is restricted to items that appear in the list portion Me.UltraComboEditor1.DropDownStyle = DropDownStyle.DropDownList ' Set the DropDownButtonDisplayStyle proeprty to Never, so the dropdown ' button does not appear. Note that the dropdown list can still be displayed ' by pressing the F4 key Me.UltraComboEditor1.DropDownButtonDisplayStyle = ButtonDisplayStyle.Never End Sub
using System.Diagnostics; using Infragistics.Win; using Infragistics.Win.UltraWinEditors; private void SetupDropDownStyles() { // Set the DropDownStyle to DropDownList so the control's // value is restricted to items that appear in the list portion this.ultraComboEditor1.DropDownStyle = DropDownStyle.DropDownList; // Set the DropDownButtonDisplayStyle proeprty to Never, so the dropdown // button does not appear. Note that the dropdown list can still be displayed // by pressing the F4 key this.ultraComboEditor1.DropDownButtonDisplayStyle = ButtonDisplayStyle.Never; }
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