Photino.Blazor.CustomWindow 1.1.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package Photino.Blazor.CustomWindow --version 1.1.3                
NuGet\Install-Package Photino.Blazor.CustomWindow -Version 1.1.3                
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="Photino.Blazor.CustomWindow" Version="1.1.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Photino.Blazor.CustomWindow --version 1.1.3                
#r "nuget: Photino.Blazor.CustomWindow, 1.1.3"                
#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 Photino.Blazor.CustomWindow as a Cake Addin
#addin nuget:?package=Photino.Blazor.CustomWindow&version=1.1.3

// Install Photino.Blazor.CustomWindow as a Cake Tool
#tool nuget:?package=Photino.Blazor.CustomWindow&version=1.1.3                

 Photino.Blazor.CustomWindow

About

Customizable cross-platform window view and behaviour implementation for Photino.Blazor applications with Chromeless mode.
The project provides Blazor component named CustomWindow that takes up the entire space of the cromeless window and renders custom window header and borders. It includes the possibility of customizing the window header up to the icon, title and control buttons, moving the window on header dragging, window resizing on borders dragging, and some other features such as stretching (expanding) the window by half the screen when moving it to the boundaries of the monitor's work area. Default control buttons allow to minimize, maximize and close the window. At the same time, the component also provides appropriate methods.

How to use

  1. Include Photino.Blazor.CustomWindow as PackageReference to your project.
  2. Include css and js files from _content/Photino.Blazor.CustomWindow to your index.html as shown in the example. Or you can add their contents manually as your own files.
  3. Add CustomWindow to your Photino.Blazor application service collection with AddCustomWindow() extension.
  4. Use CustomWindow component as root in your markup and place your content to its WindowContent RenderFragment (see example).
  5. Don't forget to set the PhotinoWindow.Chromeless property to true.

Problems

  • When Blazor catch an unhandled error, entire window freezes including any interaction with CustomWindow. This can only be solved by creating a solution based on JavaScript and not Blazor.
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  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 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Photino.Blazor.CustomWindow:

Package Downloads
Photino.Blazor.Docking

Docking system for Photino.Blazor applications with split, tabs and floating panels support

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.3.1 639 9/28/2024
1.2.2 218 3/9/2024
1.2.0 138 3/9/2024
1.1.4 145 3/5/2024
1.1.3 145 3/4/2024
1.0.1-alpha 155 1/21/2024
1.0.0-alpha 93 1/21/2024