RayCraftDocs
v1.0.3 raycraft.dev
On this page

DesktopShell

Complete

An application shell with a wallpaper layer and a taskbar at the bottom. The four desktop themes (Desktop, Desktop Dark, Mist, Mist Dark) give it rounded corners, soft shadows and translucent surfaces.

Example

DesktopShell control

Parameters

ParameterTypeDescription
CenterRenderFragmentContent of the centre region of the taskbar (open items).
ChildContentRenderFragmentContent rendered inside the component.
ClassstringExtra CSS classes added to the root element.
ModuleNamestringName of the current module, shown next to the start area of the taskbar.
NavigationRenderFragmentSide navigation; shown in the standard themes and hidden in the desktop themes, where the taskbar replaces it.
NavigationLabelstring
StartRenderFragmentFirst day shown (by default a little before the earliest task).
StylestringInline style added to the root element.
TrayRenderFragmentContent of the tray region on the right of the taskbar (switchers, notifications, user menu).
WallpaperAngleintAngle of the gradient in degrees.
WallpaperColorstringColour of the wallpaper layer (hex, rgb, hsl or a colour name). Anything else is ignored.
WallpaperColorEndstringSecond colour; with WallpaperColor it makes a gradient.
WallpaperImagestringAddress of a wallpaper image (http, https, relative or a data:image address). Other values are ignored.

Package

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