[]
        
(Showing Draft Content)

C1.Win.Ribbon.RibbonStyle

RibbonStyle Class

A customizable set of appearance settings.

Inheritance
RibbonStyle
Implements
Namespace: C1.Win.Ribbon
Assembly: C1.Win.Ribbon.4.8.dll
Syntax
public class RibbonStyle : IDisposable

Constructors

Name Description
RibbonStyle()

Creates a new instance of RibbonStyle.

Fields

Name Description
Version

Gets the version number of the style schema.

Properties

Name Description
ApplyMonochromeIconDarkTheme

Gets or sets a value indicating that the dark theme applies a monochrome style to custom bitmap icons.

ApplyMonochromeIconForDarkTheme

Gets or sets a value indicating that the dark theme applies a monochrome style to custom bitmap icons.

BrushSet

Gets the set of named brushes.

ColorSet

Gets the set of named colors.

ConstSet

Gets the set of named integer constants.

FlagSet

Gets the set of named boolean constants.

FontSet

Gets the set of named fonts.

GlyphSet

Gets the set of named glyphs.

IsDarkTheme

Defines whether C1Ribbon needs images for the dark theme.

Lightness

Gets the style lightness.

Methods

Name Description
BeginUpdate()

Maintains performance while RibbonStyle is being changed.

Dispose()

Clean up any resources being used.

EndUpdate()

Resumes processing after it has been suspended by a call to BeginUpdate().

Refresh(ThemeColor, ThemeLightness, bool)

Loads a predefined Office 365 theme into the RibbonStyle object.

Update(ThemeColor, ThemeLightness)

Switches this RibbonStyle to the specified Office 365 theme.

Events

Name Description
StyleChanged

Occurs when a RibbonStyle is changed.