Class AppKit.NSGlassEffectView
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
Properties
ContentView
The view embedded in the glass material.
public AppKit.NSView ContentView { get; set; }
Property Value
CornerRadius
The curvature applied to every glass corner.
public NFloat CornerRadius { get; set; }
Property Value
EffectIsInteractive
Enables the system's interactive glass response.
public bool EffectIsInteractive { get; set; }
Property Value
IsAvailable
Whether this macOS release provides NSGlassEffectView.
public static bool IsAvailable { get; }
Property Value
Style
The glass visual treatment.
public AppKit.NSGlassEffectViewStyle Style { get; set; }
Property Value
TintColor
The color used to tint the glass effect.
public AppKit.NSColorRef TintColor { get; set; }
Property Value
Methods
Autorelease()
public override AppKit.NSView Autorelease()
Returns
ClearTintColor()
Clears any tint from the glass effect.
public void ClearTintColor()