Vcl.RibbonActnCtrls.TRibbonBaseButtonControl.IsRibbonAvailable

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function IsRibbonAvailable: Boolean;

C++

bool __fastcall IsRibbonAvailable();

Properties

Type Visibility Source Unit Parent
function protected
Vcl.RibbonActnCtrls.pas
Vcl.RibbonActnCtrls.hpp
Vcl.RibbonActnCtrls TRibbonBaseButtonControl

Description

Checks whether the control is currently being used in an application that uses the Ribbon User Interface.

Call IsRibbonAvailable to check whether the control is currently being used in an application that uses the Ribbon User Interface. If IsRibbonAvailable returns False, then one of the ribbon styles is being used in a traditional ActionManager or Toolbar interface.


See Also