バージョン

SpinButtonAlignment プロパティ (UltraDateTimeEditor)

コントロールのスピン ボタンの配置位置を取得または設定します。
シンタックス
'宣言
 
Public Property SpinButtonAlignment As Infragistics.Win.ButtonAlignment
public Infragistics.Win.ButtonAlignment SpinButtonAlignment {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

        '	Set up the spin buttons to appear on the left side of the control
        Me.UltraDateTimeEditor1.SpinButtonAlignment = ButtonAlignment.Left
        Me.UltraDateTimeEditor1.SpinButtonDisplayStyle = ButtonDisplayStyle.Always

        '	Force an immediate repaint of the control by calling the main
        '	UIElement's DirtyChildElements method, specifying true for the
        '	'invalidate' parameter
        Me.UltraDateTimeEditor1.UIElement.DirtyChildElements(True)
    End Sub
using System.Diagnostics;
using Infragistics.Win;
using Infragistics.Win.UltraWinEditors;

		private void button1_Click(object sender, System.EventArgs e)
		{
			//	Set up the spin buttons to appear on the left side of the control
			this.ultraDateTimeEditor1.SpinButtonAlignment = ButtonAlignment.Left;
			this.ultraDateTimeEditor1.SpinButtonDisplayStyle = ButtonDisplayStyle.Always;

			//	Force an immediate repaint of the control by calling the main
			//	UIElement's DirtyChildElements method, specifying true for the
			//	'invalidate' parameter
			this.ultraDateTimeEditor1.UIElement.DirtyChildElements( true );
		}
参照