IManagementUIService.Styles Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a list of user interface (UI) styles.
public:
property System::Collections::IDictionary ^ Styles { System::Collections::IDictionary ^ get(); };
public System.Collections.IDictionary Styles { get; }
member this.Styles : System.Collections.IDictionary
Public ReadOnly Property Styles As IDictionary
Property Value
A list of UI styles.
Examples
The following example implements this property.
IDictionary IManagementUIService.Styles {
get {
if (_styles == null) {
_styles = new Hashtable();
Font iconTltFont = SystemFonts.IconTitleFont;
float fs = iconTltFont.Size;
string fName = iconTltFont.FontFamily.Name;
_styles["DialogFont"] = iconTltFont;
_styles["BoldDialogFont"] = new Font(iconTltFont, FontStyle.Bold);
_styles["HeadingFont"] = new Font(fName, fs + 1f, FontStyle.Bold);
_styles["HeaderTitleFont"] = new Font(fName, fs + 5f);
_styles["ProColourTable"] = new ColourTblFactory.CustomProColourTbl(this);
}
return _styles;
}
}
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for