Version

Changing the Drop-Down Button Alignment

You can change the location of the drop-down arrow on WinComboEditor™ from its default right location. To make such a change all you need to do is change the DropDownButtonAlignment property off the WinComboEditor, to one of the available ButtonAlignment enumerations.

The following example code changes the alignment for the WinComboEditor at run-time.

In Visual Basic:

Imports Infragistics.Win
...
Private Sub Changing_the_Drop_Down_Button_Alignment_Load( _
  ByVal sender As System.Object, _
  ByVal e As System.EventArgs) Handles MyBase.Load
	Me.UltraComboEditor1.DropDownButtonAlignment = ButtonAlignment.Left
End Sub

In C#:

using Infragistics.Win;
...
private void Changing_the_Drop_Down_Button_Alignment_Load(object sender,
  EventArgs e)
{
	this.ultraComboEditor1.DropDownButtonAlignment = ButtonAlignment.Left;
}
wincomboeditor's showing the drop-down button on the left instead of right