Hi all,
I need to know what's the font and size of the NavigationPaneHeader.
.
I need to use the same font data for the title of the right side.
Please help...
Hello mchallen,
Could you please take a look at the following link: http://help.infragistics.com/Help/NetAdvantage/WinForms/2011.1/CLR2.0/HTML/Infragistics2.Win.UltraWinExplorerBar.v11.1~Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup~ResolveHeaderAppearance.html.
Please try some code examples from the above page and let me know if they worked for you.
I have the same need to obtain the font on the ExplorerBar (using the OutLookNavigationbar style). At runtime, the following code returns null in the font-related variables:
AppearanceData appearance = new AppearanceData();
AppearancePropFlags appearancepropflags = new AppearancePropFlags();
ultraExplorerBar1.Groups[0].ResolveHeaderAppearance(
ref appearance, ref appearancepropflags, false, false, false, false, false, true);
FontData font = appearance.FontData;
string fontname = font.Name;
float fontsize = font.SizeInPoints;
DefaultableBoolean fontbold = font.Bold;
Any assistance would be appreciated.
Hi Brian,
thank you for reply.
I forgot to describe something. The title element at the right side of the screenshot is a label (Infragistics).
The title elements are should having the same layout and font like the navigation pane in the eplorer bar.Is there way to style the label as requested?
Use the group's ResolveHEaderAppearance method; the last parameter in one of the overloads takes a boolean, isNavigationPaneHeader