CleanView 1.1.0.4

dotnet add package CleanView --version 1.1.0.4
NuGet\Install-Package CleanView -Version 1.1.0.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CleanView" Version="1.1.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CleanView --version 1.1.0.4
#r "nuget: CleanView, 1.1.0.4"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install CleanView as a Cake Addin
#addin nuget:?package=CleanView&version=1.1.0.4

// Install CleanView as a Cake Tool
#tool nuget:?package=CleanView&version=1.1.0.4

CleanView

Clean view is a wrapper for MainLayout for blazor project. As it has customizable components, a wrapper allows easier definition than a replacing MainLayout.

alt text

You need to:

  1. Import the styles from "_content/CleanView/styles.css"
  2. Add a using statement to _Imports.razor
  3. Update your MainLayour razor to use the wapper.

Index.html or _Host.cshtml

<head>
    ...
    <link href="_content/CleanView/styles.css" rel="stylesheet" />
</head>

_Imports.razor

@using CleanView

MainLayout.razor

@inherits LayoutComponentBase
<CleanLayout CopyrightOwner="<Your Name>" CopyrightStart="1936">
    <HeaderCenter>
        <AppHeader />
    </HeaderCenter>
    <LeftMenuPanel>
        <NavMenuLeft />
    </LeftMenuPanel>
    <LeftIcon>
        <span class="oi oi-grid-three-up text-shadow" aria-hidden="true"></span>
    </LeftIcon>
    <RightIcon>
        <span class="oi oi-cog text-shadow" aria-hidden="true"></span>
    </RightIcon>
    <RightMenuPanel>
        <NavMenuRight />
    </RightMenuPanel>
    <Content>
        @Body
    </Content>
</CleanLayout>

  • NavPanelMenuItems can contain NavPanelMenuItems allowing for nested menu structure.
  • NavPanelMenuItems can be treated like anchor elements. Attributes are splattered to the anchor. If css classes are used be aware they will override the default class applied.
<NavPanel>

    <NavPanelMenuItem Name="Home" Icon="oi-home" href="" />
    <NavPanelMenuItem Name="Sub Menu" Icon="">
        <NavPanelMenuItem Name="Counter" Icon="oi-plus" href="counter" />
        <AuthorizeView>
            <NavPanelMenuItem Name="Fetch data" Icon="oi-list-rich" href="fetchdata" />
            <NavPanelMenuItem Name="Log out" Icon="oi-account-logout" @onclick="BeginSignOut" />
        </AuthorizeView>
    </NavPanelMenuItem> 
    
</NavPanel>

BackgroundSetter

  • Placing this item on a page will set the background image on initialization.

<BackgroundSetter Url="background.jpg" FootNote="Image by Luc Tribolet - unsplash.com" />

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.0.4 697 11/13/2020
1.0.300 385 11/1/2020
1.0.216 817 10/31/2020
1.0.215 478 9/5/2020
1.0.214 444 9/4/2020
1.0.213 437 9/4/2020
1.0.212 413 9/3/2020
1.0.211 440 9/3/2020
1.0.210 424 9/3/2020
1.0.201 405 8/26/2020
1.0.200 430 7/20/2020
1.0.17 439 7/15/2020
1.0.16 485 7/7/2020
1.0.15 455 7/5/2020
1.0.14 478 7/4/2020
1.0.13 508 7/3/2020
1.0.12 405 7/1/2020
1.0.11 437 6/30/2020
1.0.10 489 6/29/2020
1.0.9 431 6/28/2020
1.0.8 434 6/28/2020
1.0.7 430 6/28/2020
1.0.6 434 6/28/2020
1.0.5 477 6/28/2020
1.0.3 418 6/25/2020
1.0.2 411 6/25/2020
1.0.1 421 6/25/2020
1.0.0 433 6/24/2020

CleanViewVersion component. Renders assembly version.