Table of Contents

Class AppKit.NSGlassEffectView

Namespace
Xui.Runtime.MacOS
Assembly
Xui.Runtime.MacOS.dll

A view that embeds its content in the system's dynamic glass material. Available on newer macOS releases only.

public class AppKit.NSGlassEffectView : AppKit.NSView, IDisposable
Inheritance
AppKit.NSGlassEffectView
Implements
Inherited Members

Constructors

NSGlassEffectView()

public NSGlassEffectView()

Fields

Class

public static readonly ObjC.Class Class

Field Value

ObjC.Class

Properties

ContentView

The view embedded in the glass material.

public AppKit.NSView ContentView { get; set; }

Property Value

AppKit.NSView

CornerRadius

The curvature applied to every glass corner.

public NFloat CornerRadius { get; set; }

Property Value

NFloat

EffectIsInteractive

Enables the system's interactive glass response.

public bool EffectIsInteractive { get; set; }

Property Value

bool

IsAvailable

Whether this macOS release provides NSGlassEffectView.

public static bool IsAvailable { get; }

Property Value

bool

Style

The glass visual treatment.

public AppKit.NSGlassEffectViewStyle Style { get; set; }

Property Value

AppKit.NSGlassEffectViewStyle

TintColor

The color used to tint the glass effect.

public AppKit.NSColorRef TintColor { get; set; }

Property Value

AppKit.NSColorRef

Methods

Autorelease()

public override AppKit.NSView Autorelease()

Returns

AppKit.NSView

ClearTintColor()

Clears any tint from the glass effect.

public void ClearTintColor()