バージョン

DropDownButtonAlignment プロパティ (UltraDateTimeEditor)

コントロールのドロップ ダウン ボタンの配置位置を示す値を取得または設定します。
シンタックス
'宣言
 
Public Property DropDownButtonAlignment As Infragistics.Win.ButtonAlignment
public Infragistics.Win.ButtonAlignment DropDownButtonAlignment {get; set;}
解説

UltraDateTimeEditorコントロールは、コントロールの右側 (デフォルト) または左側のいずれかにドロップダウンボタンを配置する機能を提供します。

使用例
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinEditors


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

        '	Align the dropdown button with the right side of the control
        Me.UltraDateTimeEditor1.DropDownButtonAlignment = ButtonAlignment.Right

        '	Make the dropdown button only appear when the cursor moves over the control
        '	Note that with this setting, the dropdown button is always visible when the control
        '	has the input focus.
        Me.UltraDateTimeEditor1.DropDownButtonDisplayStyle = ButtonDisplayStyle.OnMouseEnter

        '	Center the dropdown calendar with respect to the edit portion of the control
        Me.UltraDateTimeEditor1.DropDownCalendarAlignment = DropDownListAlignment.Center

    End Sub
using System.Diagnostics;
using Infragistics.Win;
using Infragistics.Win.UltraWinEditors;

		private void button1_Click(object sender, System.EventArgs e)
		{
			//	Align the dropdown button with the right side of the control
			this.ultraDateTimeEditor1.DropDownButtonAlignment = ButtonAlignment.Right;

			//	Make the dropdown button only appear when the cursor moves over the control
			//	Note that with this setting, the dropdown button is always visible when the control
			//	has the input focus.
			this.ultraDateTimeEditor1.DropDownButtonDisplayStyle = ButtonDisplayStyle.OnMouseEnter;

			//	Center the dropdown calendar with respect to the edit portion of the control
			this.ultraDateTimeEditor1.DropDownCalendarAlignment = DropDownListAlignment.Center;

		}
参照