Vcl.RibbonStyleActnCtrls.TRibbonStyleActionBars.DrawElement

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

procedure DrawElement(Element: TSkinRibbon; Canvas: TCanvas; Rect: TRect; Height: Integer); overload;
procedure DrawElement(Element: TSkinForm; Canvas: TCanvas; Rect: TRect; Height: Integer); overload;
procedure DrawElement(Element: TSkinApplicationMenu; Canvas: TCanvas; Rect: TRect); overload;
procedure DrawElement(Element: TSkinApplicationMenu; Canvas: TCanvas; const X, Y: Integer; const Opacity: Byte); overload;
procedure DrawElement(Element: TSkinTab; Canvas: TCanvas; Rect: TRect; Opacity: Byte = 255); overload;
procedure DrawElement(Element: TSkinRibbonGroup; Canvas: TCanvas; Rect: TRect); overload;
procedure DrawElement(Element: TSkinMenu; Canvas: TCanvas; Rect: TRect); overload;
procedure DrawElement(Element: TSkinButton; Canvas: TCanvas; Rect: TRect; Opacity: Byte = 255); overload;
procedure DrawElement(Element: TSkinComboBox; Canvas: TCanvas; Rect: TRect); overload;
procedure DrawElement(Element: TSkinSpinEdit; Canvas: TCanvas; Rect: TRect); overload;
procedure DrawElement(Element: TSkinGallery; Canvas: TCanvas; Rect: TRect); overload;
procedure DrawElement(Element: TSkinQuickAccessToolbar; Canvas: TCanvas; Rect: TRect); overload;
procedure DrawElement(Element: TSkinScrollBar; Canvas: TCanvas; Rect: TRect); overload;
procedure DrawElement(Element: TSkinStatusBar; Canvas: TCanvas; Rect: TRect; const ADrawGripperSeparator: Boolean = False); overload;
procedure DrawElement(Element: TSkinCheckBox; Canvas: TCanvas; Rect: TRect); overload;
procedure DrawElement(Element: TSkinRadioButton; Canvas: TCanvas; Rect: TRect); overload;

C++

void __fastcall DrawElement(TSkinRibbon Element, Vcl::Graphics::TCanvas* Canvas, const Winapi::Windows::TRect &Rect, int Height)/* overload */;
void __fastcall DrawElement(TSkinForm Element, Vcl::Graphics::TCanvas* Canvas, const Winapi::Windows::TRect &Rect, int Height)/* overload */;
void __fastcall DrawElement(TSkinApplicationMenu Element, Vcl::Graphics::TCanvas* Canvas, const Winapi::Windows::TRect &Rect)/* overload */;
void __fastcall DrawElement(TSkinApplicationMenu Element, Vcl::Graphics::TCanvas* Canvas, const int X, const int Y, const System::Byte Opacity)/* overload */;
void __fastcall DrawElement(TSkinTab Element, Vcl::Graphics::TCanvas* Canvas, const Winapi::Windows::TRect &Rect, System::Byte Opacity = (System::Byte)(0xff))/* overload */;
void __fastcall DrawElement(TSkinRibbonGroup Element, Vcl::Graphics::TCanvas* Canvas, const Winapi::Windows::TRect &Rect)/* overload */;
void __fastcall DrawElement(TSkinMenu Element, Vcl::Graphics::TCanvas* Canvas, const Winapi::Windows::TRect &Rect)/* overload */;
void __fastcall DrawElement(TSkinButton Element, Vcl::Graphics::TCanvas* Canvas, const Winapi::Windows::TRect &Rect, System::Byte Opacity = (System::Byte)(0xff))/* overload */;
void __fastcall DrawElement(TSkinComboBox Element, Vcl::Graphics::TCanvas* Canvas, const Winapi::Windows::TRect &Rect)/* overload */;
void __fastcall DrawElement(TSkinSpinEdit Element, Vcl::Graphics::TCanvas* Canvas, const Winapi::Windows::TRect &Rect)/* overload */;
void __fastcall DrawElement(TSkinGallery Element, Vcl::Graphics::TCanvas* Canvas, const Winapi::Windows::TRect &Rect)/* overload */;
void __fastcall DrawElement(TSkinQuickAccessToolbar Element, Vcl::Graphics::TCanvas* Canvas, const Winapi::Windows::TRect &Rect)/* overload */;
void __fastcall DrawElement(TSkinScrollBar Element, Vcl::Graphics::TCanvas* Canvas, const Winapi::Windows::TRect &Rect)/* overload */;
void __fastcall DrawElement(TSkinStatusBar Element, Vcl::Graphics::TCanvas* Canvas, const Winapi::Windows::TRect &Rect, const bool ADrawGripperSeparator = false)/* overload */;
void __fastcall DrawElement(TSkinCheckBox Element, Vcl::Graphics::TCanvas* Canvas, const Winapi::Windows::TRect &Rect)/* overload */;
void __fastcall DrawElement(TSkinRadioButton Element, Vcl::Graphics::TCanvas* Canvas, const Winapi::Windows::TRect &Rect)/* overload */;

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
procedure
function
public
Vcl.RibbonStyleActnCtrls.pas
Vcl.RibbonStyleActnCtrls.hpp
Vcl.RibbonStyleActnCtrls TRibbonStyleActionBars

Beschreibung

Methoden zum Zeichnen eines Skin-Elements für das Ribbon.

Die Überladungen von DrawElement sind Methoden zum Zeichnen eines bestimmten Skin-Elements für das Ribbon.

Die folgende Tabelle enthält die Parameter der DrawElement-Methode.



Parameter Bedeutung

Element

Aus der Elementgruppe zu zeichnendes Element.

Canvas

Legt fest, wo das Element gezeichnet werden soll.

Rect

Das Rechteck zum Zeichnen des Elements.

Center

Wenn auf True gesetzt, wird das Element innerhalb des angegebenen Rechtecks zentriert.