バージョン

GetDockHeight メソッド

指定したドッキング領域の高さを取得します。
シンタックス
'宣言
 
Public Function GetDockHeight( _
   ByVal dockArea As DockedPosition _
) As Integer
public int GetDockHeight( 
   DockedPosition dockArea
)

パラメータ

dockArea
高さを取得するためのドック領域を表す値。

戻り値の型

指定したドッキング領域のピクセル単位の高さ。
例外
例外解説
System.ArgumentExceptiondockArea が フローティングです。
使用例
Imports System.Diagnostics
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinToolbars

	Private Sub Button14_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button14.Click

		' 各ドック領域のサイズを取得します
		Debug.WriteLine("Top dock area size: " + Me.UltraToolbarsManager1.GetDockWidth(DockedPosition.Top).ToString() + "," + Me.UltraToolbarsManager1.GetDockHeight(DockedPosition.Top).ToString())
		Debug.WriteLine("Bottom dock area size: " + Me.UltraToolbarsManager1.GetDockWidth(DockedPosition.Bottom).ToString() + "," + Me.UltraToolbarsManager1.GetDockHeight(DockedPosition.Bottom).ToString())
		Debug.WriteLine("Left dock area size: " + Me.UltraToolbarsManager1.GetDockWidth(DockedPosition.Left).ToString() + "," + Me.UltraToolbarsManager1.GetDockHeight(DockedPosition.Left).ToString())
		Debug.WriteLine("Right dock area size: " + Me.UltraToolbarsManager1.GetDockWidth(DockedPosition.Right).ToString() + "," + Me.UltraToolbarsManager1.GetDockHeight(DockedPosition.Right).ToString())

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

		private void button14_Click(object sender, System.EventArgs e)
		{

			// 各ドック領域のサイズを取得します
			Debug.WriteLine("Top dock area size: " + this.ultraToolbarsManager1.GetDockWidth(DockedPosition.Top).ToString() + "," + this.ultraToolbarsManager1.GetDockHeight(DockedPosition.Top).ToString());
			Debug.WriteLine("Bottom dock area size: " + this.ultraToolbarsManager1.GetDockWidth(DockedPosition.Bottom).ToString() + "," + this.ultraToolbarsManager1.GetDockHeight(DockedPosition.Bottom).ToString());
			Debug.WriteLine("Left dock area size: " + this.ultraToolbarsManager1.GetDockWidth(DockedPosition.Left).ToString() + "," + this.ultraToolbarsManager1.GetDockHeight(DockedPosition.Left).ToString());
			Debug.WriteLine("Right dock area size: " + this.ultraToolbarsManager1.GetDockWidth(DockedPosition.Right).ToString() + "," + this.ultraToolbarsManager1.GetDockHeight(DockedPosition.Right).ToString());

		}
参照