バージョン

ResolveAppearance(AppearanceData,AppearancePropFlags,Boolean,Boolean,Boolean) メソッド

この項目の外観を解決します。
シンタックス
'宣言
 
Public Overloads Sub ResolveAppearance( _
   ByRef appearance As Infragistics.Win.AppearanceData, _
   ByRef requestedProps As Infragistics.Win.AppearancePropFlags, _
   ByVal isEditing As Boolean, _
   ByVal isHotTracking As Boolean, _
   ByVal isActive As Boolean _
) 
public void ResolveAppearance( 
   ref Infragistics.Win.AppearanceData appearance,
   ref Infragistics.Win.AppearancePropFlags requestedProps,
   bool isEditing,
   bool isHotTracking,
   bool isActive
)

パラメータ

appearance
解決する AppearanceData 構造体への参照。
requestedProps
解決するプロパティを示すビットフラグ列挙体への参照。
isEditing
Trueの場合、項目のテキストがインプレース編集されているかのように外観が解決されます。
isHotTracking
Trueの場合、項目がホットトラッキングされているかのように外観が解決されます。
isActive
Trueの場合、項目がActiveItemであるかのように外観が解決されます。
使用例
Imports System.Diagnostics
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinExplorerBar


	Private Sub Button47_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button47.Click

		' All the code below operates on the first Item in the first Group so make sure we have at
		' least one group.
		If (Me.ultraExplorerBar1.Groups.Count < 1) Then
			Return
		End If

		If (Me.ultraExplorerBar1.Groups(0).Items.Count < 1) Then
			Return
		End If


		' Get the fully resolved appearance for the first Item in the first Group
		' and display the setting for forecolor, backcolor, and font bold.
		Dim appearanceData As AppearanceData = New AppearanceData()
		Dim requestedProperties As AppearancePropFlags = AppearancePropFlags.ForeColor Or AppearancePropFlags.BackColor Or AppearancePropFlags.FontBold

		Me.ultraExplorerBar1.Groups(0).Items(0).ResolveAppearance(AppearanceData, requestedProperties)

		Debug.WriteLine("The backcolor for first group's first item is '" + appearanceData.BackColor.ToString())
		Debug.WriteLine("The forecolor for first group's first item is '" + appearanceData.ForeColor.ToString())
		Debug.WriteLine("The fontbold setting for first group's first item is '" + appearanceData.FontData.Bold.ToString())

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


		private void button47_Click(object sender, System.EventArgs e)
		{
			// All the code below operates on the first Item in the first Group so make sure we have at
			// least one group.
			if (this.ultraExplorerBar1.Groups.Count < 1)
				return;

			if (this.ultraExplorerBar1.Groups[0].Items.Count < 1)
				return;


			// Get the fully resolved appearance for the first Item in the first Group
			// and display the setting for forecolor, backcolor, and font bold.
			AppearanceData		appearanceData		= new AppearanceData();
			AppearancePropFlags	requestedProperties	= AppearancePropFlags.ForeColor | AppearancePropFlags.BackColor | AppearancePropFlags.FontBold;

			this.ultraExplorerBar1.Groups[0].Items[0].ResolveAppearance(ref appearanceData, ref requestedProperties);
			Debug.WriteLine("The backcolor for first group's first item is '" + appearanceData.BackColor.ToString());
			Debug.WriteLine("The forecolor for first group's first item is '" + appearanceData.ForeColor.ToString());
			Debug.WriteLine("The fontbold setting for first group's first item is '" + appearanceData.FontData.Bold.ToString());
		}
参照