DxFlyout.BodyTemplate Property
Specifies a template for the flyout window’s body.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v22.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[Parameter]
public RenderFragment<IPopupElementInfo> BodyTemplate { get; set; }
Property Value
Type | Description |
---|---|
RenderFragment<IPopupElementInfo> | The template content. |
Remarks
Use the BodyTemplate
property to display any UI fragment (for instance, formatted text, images, or another component) in the body element of the Flyout component. The template has the context
parameter. You can use the parameter’s CloseCallback property to implement the Close button.
The BodyTemplate
property takes priority over the BodyText and BodyTextTemplate properties.
See Also