Liquid Glass Effect in .NET MAUI Scheduler

18 Nov 20183 minutes to read

The Liquid Glass Effect introduces a modern, translucent design with adaptive color tinting and light refraction, creating a sleek, glass like user experience that remains clear and accessible. This section explains how to enable and customize the effect in the Syncfusion® .NET MAUI Scheduler control.

Apply liquid glass effect

Follow these steps to enable and configure the Liquid Glass Effect in the Scheduler control:

Step 1: Wrap the control inside glass effect view

To apply the Liquid Glass Effect to the Syncfusion® .NET MAUI Scheduler control, wrap the control inside the SfGlassEffectView class.

For more details, refer to the Liquid Glass Getting Started documentation.

Step 2: Enable the liquid glass effect on Scheduler

Set the EnableLiquidGlassEffect property to true of the HeaderView in the SfScheduler control to apply the Liquid Glass Effect. When enabled, the effect is also applied to its dependent controls and provides responsive interaction for a smooth and engaging user experience.

Step 3: Customize the background

To achieve a glass like background in the Scheduler control, set the Background property to Transparent. The background will then be treated as a tinted color, ensuring a consistent glass effect across the controls.

The following code snippet demonstrates how to apply the Liquid Glass Effect to the SfScheduler control:

<ContentPage
    . . .
    xmlns:scheduler="clr-namespace:Syncfusion.Maui.Scheduler;assembly=Syncfusion.Maui.Scheduler"
    xmlns:core="clr-namespace:Syncfusion.Maui.Core;assembly=Syncfusion.Maui.Core">

    <Grid>
        <Image Source="wallpaper.jpg" Aspect="AspectFill" />
        <core:SfGlassEffectView CornerRadius="9"
                                EffectType="Clear">
            <scheduler:SfScheduler x:Name="scheduler"
                                Background="Transparent">
                <scheduler:SfScheduler.HeaderView>
                    <scheduler:SchedulerHeaderView  EnableLiquidGlassEffect="True" Background="Transparent"/>
                </scheduler:SfScheduler.HeaderView>
            </scheduler:SfScheduler>
        </core:SfGlassEffectView>
    </Grid>
</ContentPage>
using Syncfusion.Maui.Core;
using Syncfusion.Maui.Scheduler;

. . .

var backgroundImage = new Image
{
    Source = "wallpaper.jpg",
    Aspect = Aspect.AspectFill
};

var glassView = new SfGlassEffectView
{
    CornerRadius = 9,
    EffectType = LiquidGlassEffectType.Clear,
};

var scheduler = new SfScheduler
{
    Background = Colors.Transparent,
    HeaderView = new SchedulerHeaderView
    {
        EnableLiquidGlassEffect = true,
        Background = Colors.Transparent
    }
};

glassView.Content = scheduler;
var grid = new Grid();
grid.Children.Add(backgroundImage);
grid.Children.Add(glassView);

this.Content = grid;

Liquid effect glass in .NET MAUI Scheduler control.

NOTE

  • Supported on macOS 26 or higher and iOS 26 or higher.
  • This feature is available only in .NET 10.