Embedded Preview

Renders its content into an iframe, isolated from the page's styles and scripts, with an optional layout around it. RzBrowser uses it for the previews on these pages; use it directly for an isolated preview without the browser frame.

Example

Source
<RzEmbeddedPreview Layout="typeof(PreviewLayout)" IFrameTitle="A button in an iframe">
    <RzButton>Inside an iframe</RzButton>
</RzEmbeddedPreview>

Parameters

ParameterTypeDefaultDescription
ChildContentRenderFragmentRequiredThe content rendered inside the iframe.
LayoutType?nullA layout component around the content (it should load your stylesheets and RizzyUI's scripts).
IFrameTitlestring?Localized "Embedded Content Preview"The iframe's title, its accessible name.