Version

ResolveScrollButtonAppearance(AppearanceData,AppearancePropFlags) Method

Resolves the appearance for this group's scroll buttons.
Syntax
'Declaration
 
Public Overloads Sub ResolveScrollButtonAppearance( _
   ByRef appearance As Infragistics.Win.AppearanceData, _
   ByRef requestedProps As Infragistics.Win.AppearancePropFlags _
) 
public void ResolveScrollButtonAppearance( 
   ref Infragistics.Win.AppearanceData appearance,
   ref Infragistics.Win.AppearancePropFlags requestedProps
)

Parameters

appearance
A reference to the AppearanceData structure to be resolved.
requestedProps
A reference to the bitflags enumeration that describe which properties are to be resolved.
Example
The following code shows how to use the various ResolveAppearance methods on the Group to get fully resolved appearance data for different parts of the group.

Imports System.Diagnostics
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinExplorerBar


	Private Sub Button36_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button36.Click

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


		' Get the fully resolved appearance for the Item Area of the first Group and display
		' the setting for backcolor.
		Dim appearanceData As AppearanceData = New AppearanceData()
		Dim requestedProperties As AppearancePropFlags = AppearancePropFlags.BackColor

		Me.ultraExplorerBar1.Groups(0).ResolveItemAreaAppearance(appearanceData, requestedProperties)
		Debug.WriteLine("The backcolor for first group's item area is '" + AppearanceData.BackColor.ToString())


		' Get the fully resolved appearance for the Header of the first Group and display
		' the setting for ForeColor.
		appearanceData = New AppearanceData()
		requestedProperties = AppearancePropFlags.ForeColor

		Me.ultraExplorerBar1.Groups(0).ResolveHeaderAppearance(appearanceData, requestedProperties)
		Debug.WriteLine("The forecolor for first group's header is '" + AppearanceData.ForeColor.ToString())


		' Get the fully resolved appearance for the scroll buttons in the first Group and display
		' the settings for BackColor, ForeColor and BorderColor.
		appearanceData = New AppearanceData()
		requestedProperties = AppearancePropFlags.BackColor Or AppearancePropFlags.ForeColor Or AppearancePropFlags.BorderColor

		Me.ultraExplorerBar1.Groups(0).ResolveHeaderAppearance(appearanceData, requestedProperties)
		Debug.WriteLine("The forecolor for first group's scrollbuttons is '" + AppearanceData.ForeColor.ToString())
		Debug.WriteLine("The backcolor for first group's scrollbuttons is '" + AppearanceData.BackColor.ToString())
		Debug.WriteLine("The border color for first group's scrollbuttons is '" + appearanceData.BorderColor.ToString())

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


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


			// Get the fully resolved appearance for the Item Area of the first Group and display
			// the setting for backcolor.
			AppearanceData		appearanceData		= new AppearanceData();
			AppearancePropFlags	requestedProperties	= AppearancePropFlags.BackColor;

			this.ultraExplorerBar1.Groups[0].ResolveItemAreaAppearance(ref appearanceData, ref requestedProperties);
			Debug.WriteLine("The backcolor for first group's item area is '" + appearanceData.BackColor.ToString());


			// Get the fully resolved appearance for the Header of the first Group and display
			// the setting for ForeColor.
			appearanceData		= new AppearanceData();
			requestedProperties	= AppearancePropFlags.ForeColor;

			this.ultraExplorerBar1.Groups[0].ResolveHeaderAppearance(ref appearanceData, ref requestedProperties);
			Debug.WriteLine("The forecolor for first group's header is '" + appearanceData.ForeColor.ToString());


			// Get the fully resolved appearance for the scroll buttons in the first Group and display
			// the settings for BackColor, ForeColor and BorderColor.
			appearanceData		= new AppearanceData();
			requestedProperties	= AppearancePropFlags.BackColor | AppearancePropFlags.ForeColor | AppearancePropFlags.BorderColor;

			this.ultraExplorerBar1.Groups[0].ResolveHeaderAppearance(ref appearanceData, ref requestedProperties);
			Debug.WriteLine("The forecolor for first group's scrollbuttons is '" + appearanceData.ForeColor.ToString());
			Debug.WriteLine("The backcolor for first group's scrollbuttons is '" + appearanceData.BackColor.ToString());
			Debug.WriteLine("The border color for first group's scrollbuttons is '" + appearanceData.BorderColor.ToString());
		}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also