VOOZH about

URL: https://www.nuget.org/packages/FullScreenStatus.Maui/

⇱ NuGet Gallery | FullScreenStatus.Maui 1.0.6




FullScreenStatus.Maui 1.0.6

dotnet add package FullScreenStatus.Maui --version 1.0.6
 
 
NuGet\Install-Package FullScreenStatus.Maui -Version 1.0.6
 
 
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="FullScreenStatus.Maui" Version="1.0.6" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FullScreenStatus.Maui" Version="1.0.6" />
 
Directory.Packages.props
<PackageReference Include="FullScreenStatus.Maui" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FullScreenStatus.Maui --version 1.0.6
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FullScreenStatus.Maui, 1.0.6"
 
 
#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.
#:package FullScreenStatus.Maui@1.0.6
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FullScreenStatus.Maui&version=1.0.6
 
Install as a Cake Addin
#tool nuget:?package=FullScreenStatus.Maui&version=1.0.6
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

MauiPageFullScreen sets the Page to full screen or restore screen

Currently it works with Navigation Page, Tabbed page, and Shell page. Full screen is supported by Windows, android and IOS. It is not supported on Mac Catalyst.

FullScreenStatus.Maui .NET 9 QualityGate
Stable 👁 .NET 9

API Example:

 Controls.ToggleFullScreenStatus();
 Controls.FullScreen();
 Controls.RestoreScreen();

Setup for usage:

The important part is using statement and builder statements

using MauiPageFullScreen;

Build arguements:

.UseFullScreen()

Example MauiProgram.cs

using MauiPageFullScreen;
using Microsoft.Extensions.Logging;

namespace MauiFullScreenSample
{
 public static class MauiProgram
 {
 public static MauiApp CreateMauiApp()
 {
 var builder = MauiApp.CreateBuilder();
 builder
 .UseMauiApp<App>().UseFullScreen()
 .ConfigureFonts(fonts =>
 {
 fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
 fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
 });

#if DEBUG
		builder.Logging.AddDebug();
#endif

 return builder.Build();
 }
 }
}

Example MainPage.xaml

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage
 x:Class="MauiFullScreenSample.MainPage"
 xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
 xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">

 <ScrollView>
 <VerticalStackLayout
 Padding="30,0"
 Spacing="25"
 VerticalOptions="Center">

 <Image
 HeightRequest="200"
 HorizontalOptions="Center"
 SemanticProperties.Description="Cute dot net bot waving hi to you!"
 Source="dotnet_bot.png" />

 <Label
 FontSize="32"
 HorizontalOptions="Center"
 SemanticProperties.HeadingLevel="Level1"
 Text="Hello, World!" />

 <Button
 x:Name="FullScreenToggle"
 Clicked="FullScreen_Toggled"
 HorizontalOptions="Center"
 Text="Toggle Full Screen" />
 <Button
 x:Name="FullScreen"
 Clicked="FullScreen_Clicked"
 Text="Full Screen" />
 <Button
 x:Name="RestoreScreen"
 Clicked="RestoreScreen_Clicked"
 Text="Restore Screen" />
 </VerticalStackLayout>
 </ScrollView>

</ContentPage>

Example MainPage.xaml.cs

using MauiPageFullScreen;

namespace MauiFullScreenSample
{
 public partial class MainPage : ContentPage
 {
 public MainPage()
 {
 InitializeComponent();
 }

 private void FullScreen_Toggled(object sender, EventArgs e)
 {
 Controls.ToggleFullScreenStatus();
 }

 private void FullScreen_Clicked(object sender, EventArgs e)
 {
 Controls.FullScreen();
 }

 private void RestoreScreen_Clicked(object sender, EventArgs e)
 {
 Controls.RestoreScreen();
 }
 }
}

On IOS devices plist must be adjusted with included code below:

<key>UIViewControllerBasedStatusBarAppearance</key>
	<false/>
Product Versions Compatible and additional computed target framework versions.
.NET net9.0 net9.0 is compatible.  net9.0-android net9.0-android was computed.  net9.0-android35.0 net9.0-android35.0 is compatible.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-ios18.0 net9.0-ios18.0 is compatible.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-maccatalyst18.0 net9.0-maccatalyst18.0 is compatible.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net9.0-windows10.0.19041 net9.0-windows10.0.19041 is compatible.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net9.0

    • No dependencies.
  • net9.0-android35.0

    • No dependencies.
  • net9.0-ios18.0

    • No dependencies.
  • net9.0-maccatalyst18.0

    • No dependencies.
  • net9.0-windows10.0.19041

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on FullScreenStatus.Maui:

Package Downloads
MediaControls.Maui

Maui MediaElement custom Controls

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.6 517 8/30/2025
1.0.5 4,020 10/13/2023
1.0.4 279 10/13/2023
1.0.3 279 9/18/2023
1.0.2 242 9/17/2023
1.0.1 231 9/17/2023
1.0.0 247 9/17/2023

Full Screen support for dotnet Maui Page element