Skip to main content
Table of Contents

ITMSFNCRibbonTheme.SetTheme Method

Applies a built-in or custom theme to the control.

API unit family: TMSFNCRibbon Declaring type: ITMSFNCRibbonTheme

Syntax

FMX.TMSFNCRibbon.hppPascalC++
procedure SetTheme(ATheme: TTMSFNCRibbonTheme; ACustomThemeColor: TTMSFNCGraphicsColor);
virtual void __fastcall SetTheme(TTMSFNCRibbonTheme ATheme, Fmx::Tmsfncgraphicstypes::TTMSFNCGraphicsColor ACustomThemeColor) = 0;

Parameters

Name Description
ATheme The theme to apply.
ACustomThemeColor Accent color used when ATheme is rbtCustom.