alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class SfGlassEffectView

    Represents a view that overlays a platform-rendered Liquid Glass effect, adding translucent blur and depth to its content.

    Inheritance
    object
    SfView
    SfContentView
    SfGlassEffectView
    Implements
    IDrawableLayout
    IDrawable
    IAbsoluteLayout
    ILayout
    IView
    IElement
    ITransform
    IContainer
    IList<IView>
    ICollection<IView>
    IEnumerable<IView>
    IEnumerable
    ISafeAreaView
    IPadding
    ICrossPlatformLayout
    IVisualTreeElement
    Inherited Members
    SfContentView.Content
    SfContentView.ContentProperty
    SfContentView.OnContentChanged(object, object)
    SfView.ArrangeContent(Rect)
    SfView.ArrangeOverride(Rect)
    SfView.Children
    SfView.ClipToBounds
    SfView.GetSemanticsNodesCore(double, double)
    SfView.MeasureContent(double, double)
    SfView.MeasureOverride(double, double)
    SfView.OnBindingContextChanged()
    SfView.OnDraw(ICanvas, RectF)
    SfView.OnHandlerChanged()
    SfView.Padding
    SfView.PaddingProperty
    Namespace: Syncfusion.Maui.Core
    Assembly: Syncfusion.Maui.Core.dll
    Syntax
    public class SfGlassEffectView : SfContentView, IDrawableLayout, IDrawable, IAbsoluteLayout, ILayout, IView, IElement, ITransform, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISafeAreaView, IPadding, ICrossPlatformLayout, IVisualTreeElement
    Remarks

    To apply the effect to a control, wrap it inside SfGlassEffectView and set the control's background to transparent. This ensures the effect layer remains visible behind the control's content. This class is only recognized on the iOS/Mac Catalyst platforms; other platforms will ignore it and behave like a Content View.

    Constructors

    SfGlassEffectView()

    Declaration
    public SfGlassEffectView()

    Fields

    CornerRadiusProperty

    Identifies the CornerRadius bindable property.

    Declaration
    public static readonly BindableProperty CornerRadiusProperty
    Field Value
    Type Description
    BindableProperty

    The identifier for CornerRadius bindable property.

    EffectTypeProperty

    Identifies the EffectType bindable property.

    Declaration
    public static readonly BindableProperty EffectTypeProperty
    Field Value
    Type Description
    BindableProperty

    The identifier for EffectType bindable property.

    EnableShadowEffectProperty

    Identifies the EnableShadowEffect bindable property.

    Declaration
    public static readonly BindableProperty EnableShadowEffectProperty
    Field Value
    Type Description
    BindableProperty

    The identifier for EnableShadowEffect bindable property.

    Properties

    CornerRadius

    Gets or sets the corner radius for the Liquid Glass Effect view.

    Declaration
    public double CornerRadius { get; set; }
    Property Value
    Type Description
    double

    The default value is 8.0.

    Remarks

    This property is recognized only on macOS and iOS platforms.

    EffectType

    Gets or sets the type of the Liquid Glass Effect.

    Declaration
    public LiquidGlassEffectType EffectType { get; set; }
    Property Value
    Type Description
    LiquidGlassEffectType

    The default value is Regular.

    Remarks

    This property is recognized only on macOS and iOS platforms.

    EnableShadowEffect

    Gets or sets the value that indicates whether to apply shadow effect for the Liquid Glass Effect view.

    Declaration
    public bool EnableShadowEffect { get; set; }
    Property Value
    Type Description
    bool

    The default value is false.

    Remarks

    This property is recognized only on macOS and iOS platforms.

    Implements

    IDrawableLayout
    Microsoft.Maui.Graphics.IDrawable
    Microsoft.Maui.IAbsoluteLayout
    Microsoft.Maui.ILayout
    Microsoft.Maui.IView
    Microsoft.Maui.IElement
    Microsoft.Maui.ITransform
    Microsoft.Maui.IContainer
    IList<T>
    ICollection<T>
    IEnumerable<T>
    IEnumerable
    Microsoft.Maui.ISafeAreaView
    Microsoft.Maui.IPadding
    Microsoft.Maui.ICrossPlatformLayout
    Microsoft.Maui.IVisualTreeElement
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved