バージョン

ResolveAppearance メソッド (UltraExplorerBar)

コントロールのメイン Appearance を解決します。
シンタックス
'宣言
 
Public Sub ResolveAppearance( _
   ByRef appearance As Infragistics.Win.AppearanceData, _
   ByRef requestedProps As Infragistics.Win.AppearancePropFlags _
) 
public void ResolveAppearance( 
   ref Infragistics.Win.AppearanceData appearance,
   ref Infragistics.Win.AppearancePropFlags requestedProps
)

パラメータ

appearance
解決する AppearanceData 構造体への参照。
requestedProps
解決するプロパティを示すビットフラグ列挙体への参照。
解説

このメソッドは、コントロールのメイン UIElement を描画する間に使用される値に 'appearance' 引数でリクエストされたプロパティを設定します。

使用例
Imports System.Diagnostics
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinExplorerBar


	Private Sub Button91_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button91.Click

		' Get the fully resolved appearance for the control and display
		' the settings for backcolor and forecolor and gradient style.
		Dim appearanceData As AppearanceData = New AppearanceData()
		Dim requestedProperties As AppearancePropFlags = AppearancePropFlags.BackColor Or AppearancePropFlags.ForeColor Or AppearancePropFlags.BackGradientStyle

		Me.ultraExplorerBar1.ResolveAppearance(appearanceData, requestedProperties)
		Debug.WriteLine("The backcolor for the control is '" + appearanceData.BackColor.ToString())
		Debug.WriteLine("The forecolor for the control is '" + appearanceData.ForeColor.ToString())
		Debug.WriteLine("The backcolor gradient style for the control is '" + appearanceData.BackGradientStyle.ToString())

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

		private void button93_Click(object sender, System.EventArgs e)
		{
			// Get the fully resolved appearance for the control and display
			// the settings for backcolor and forecolor and gradient style.
			AppearanceData		appearanceData		= new AppearanceData();
			AppearancePropFlags	requestedProperties	= AppearancePropFlags.BackColor | AppearancePropFlags.ForeColor | AppearancePropFlags.BackGradientStyle;

			this.ultraExplorerBar1.ResolveAppearance(ref appearanceData, ref requestedProperties);
			Debug.WriteLine("The backcolor for the control is '" + appearanceData.BackColor.ToString());
			Debug.WriteLine("The forecolor for the control is '" + appearanceData.ForeColor.ToString());
			Debug.WriteLine("The backcolor gradient style for the control is '" + appearanceData.BackGradientStyle.ToString());
		}
	}
参照