TdxCustomFluentDesignForm Class
The base class for Fluent Design application forms.
Declaration
TdxCustomFluentDesignForm = class(
TdxForm,
IdxAcrylicHostControl,
IdxAcrylicHostControl2,
IdxFluentDesignNavigationControlListener,
IcxLookAndFeelNotificationListener
)
Remarks
The Fluent Design concept is created by Microsoft and released with the “Fall Creators Update” for Windows® 10. Fluent Design applications combine UI layout adaptability with complex lighting, transparency, and transition effects.
Main API Members
The list below outlines key members of the TdxFluentDesignForm
class that allow you to configure a Fluent Design application form.
- Embed a navigation control into the Fluent Design form (NavigationControl).
- Enable or disable acrylic effects for all supported controls (EnableAcrylicEffects).
- Switch between effects applied to the form background (BackgroundBlur).
- Change how an application UI responds to form resize operations (AdaptiveLayoutOptions).
- Hide or display the form (Visible, Hide, and Show).
- Display the form as a modal dialog (ShowModal).
- Disable or enable DPI awareness (Scaled).
- Specify form dimensions (Width and Height).
- Change the form’s caption (Caption).
- Adjust client height and width (ClientHeight and ClientWidth).
- Specify the base DPI value for scale factor calculations (PixelsPerInch).
- Scale the form and its components (ScaleForPPI, ScaleBy, and ChangeScale).
- Apply the form scale factor to custom UI elements (ScaleFactor).
- Respond to form DPI changes (ScaleFactorChanged).
Terminal TdxCustomFluentDesignForm Class Descendants
Do not use the TdxCustomFluentDesignForm
class directly. Use the following descendants instead:
- TdxRibbonForm
- A Ribbon form class.
- TdxFluentDesignForm
- A Fluent Design application form.
Ribbon and Sidebar UI
If you need to use a Ribbon UI in addition to an Accordion or Hamburger Menu, use the Ribbon form instead. This form can embed both TdxRibbon and TdxNavBar controls and supports Fluent Design effects for the latter.
Limitations
- Fluent Design effects are available only if an application runs under Microsoft Windows® 10 Version 1803 (build 17064) or a newer operating system.
- Only the TdxNavBar control supports background acrylic effects.
- Place all other controls on a TdxLayoutControl to avoid possible rendering issues related to Fluent Design effects.
Implements
See Also