Version

DropDownAlignRight Property

Determines whether the dropdown is aligned to the right or left.
Syntax
'Declaration
 
Public Property DropDownAlignRight As Boolean
public bool DropDownAlignRight {get; set;}
Remarks

By default the dropdown portion of the control is aligned to the lower right edge of the dropdown. The DropDownAlignRight property can be set to false to allow the dropdown to be position based on the lower left edge of the control.

The dropdown portion rect may be adjusted if the dropdown would be clipped by positioning it based on the DropDownAlignRight.

Example
This example uses the control's DropDownAlignRight property to align the dropdown calendar with the left edge of the control's edit portion.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

    '	Set the DropDownAlignRight property to false so the dropdown
    '	is aligned with the left edge
    Me.ultraCalendarCombo1.DropDownAlignRight = False

End Sub
private void button1_Click(object sender, System.EventArgs e)
{

	//	Set the DropDownAlignRight proeprty to false so the dropdown
	//	is aligned with the left edge
	this.ultraCalendarCombo1.DropDownAlignRight = false;

}
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