TcxCustomLookAndFeelPainter.DrawButton(TcxCanvas,TRect,string,TcxButtonState,Boolean,TColor,TColor,Boolean,Boolean,TcxButtonPart) Method
Declaration
procedure DrawButton(ACanvas: TcxCanvas; R: TRect; const ACaption: string; AState: TcxButtonState; ADrawBorder: Boolean = True; AColor: TColor = clDefault; ATextColor: TColor = clDefault; AWordWrap: Boolean = False; AIsToolButton: Boolean = False; APart: TcxButtonPart = cxbpButton);
Parameters
Name | Type |
---|---|
ACanvas | TcxCanvas |
R | TRect |
ACaption | string |
AState | TcxButtonState |
ADrawBorder | Boolean |
AColor | TColor |
ATextColor | TColor |
AWordWrap | Boolean |
AIsToolButton | Boolean |
APart | TcxButtonPart |
See Also