TdxCustomRibbon.ShowFormIcon Property
Specifies if the application icon is visible.
Declaration
property ShowFormIcon: TdxDefaultBoolean read; write; default bDefault;
Property Value
| Type | Default | Description |
|---|---|---|
| TdxDefaultBoolean | bDefault |
|
Remarks
The Ribbon Form hides or displays the application icon depending on the active Ribbon UI style. A click on the application icon displays a window system menu.
![]()
Set the ShowFormIcon property to bTrue or bFalse if you need to explicitly display or hide the application icon. If the application icon is hidden, you can use the FormIconPlaceholderWidth property to resize the space allocated for the icon.
Limitations
The ShowFormIcon property is in effect only if the following conditions are met:
- The SupportNonClientDrawing property is set to
True(recommended). - The parent Ribbon Form‘s BorderStyle property is set to
bsSizeableorbsSingle.
Default Value
The ShowFormIcon property’s default value is bDefault.
The default ShowFormIcon property value indicates that application icon visibility depends on the Style property value:
- rsOffice365 | rs2013 | rs2010
- The application icon is visible.
- rs2007 | rs2016 | rs2016Tablet | rs2019
- The application icon is hidden.
See Also