RayCraftDocs
v1.0.3 raycraft.dev
On this page

Window

Complete

A floating window that is not modal: move it, resize it, minimize it, maximize it, and open several at once.

Example

Window control

Parameters

ParameterTypeDescription
ChildContentRenderFragmentContent rendered inside the component.
ClassstringExtra CSS classes added to the root element.
ClosableboolShows a close button on the tab.
FooterRenderFragmentContent of the footer area (right-aligned actions).
HeightintMaximum height of the grid body, for example 24rem (default 28rem with VirtualScroll).
Leftint?Initial distance from the left edge of the page, in pixels.
MaximizableboolShows the button that fills the page with the window.
MaximizedboolFills the page with the window.
MinHeightintSmallest height the window can be resized to, in pixels.
MinimizableboolShows the button that collapses the window to its title bar.
MinimizedboolCollapses the window to its title bar.
MinWidthintSmallest width the window can be resized to, in pixels.
OpenboolWhether the drawer is shown. Use with @bind-Open.
PersistKeystringRemembers the position and size (Window), the split (Splitter) or the layout of a DataGrid (sort, filters, columns, widths, page) in local storage under this name and restores them next time.
ResizableboolAdds a drag handle (and arrow keys) to resize each column.
StylestringInline style added to the root element.
TitlestringTitle text (drawer header, tab caption, column header, step caption).
Topint?Initial distance from the top edge of the page, in pixels.
WidthintSkeleton: any CSS length. Charts: drawing width in SVG units (the chart still scales to its container).

Events

EventTypeDescription
GeometryChangedEventCallback<WindowGeometry>Raised after the window was moved or resized.
MaximizedChangedEventCallback<bool>
MinimizedChangedEventCallback<bool>
OpenChangedEventCallback<bool>Raised when the drawer asks to close.

Package

Window is part of RayCraft Complete. Package: RayCraft.Blazor.Complete. It comes from the private RayCraft feed and needs an active license. See Getting started.