Skip to main content

MacOSProperties Class

Definition

Assembly:Avalonia.Controls
Package:Avalonia

Set of MacOS specific attached properties that allow deeper customization of the application per platform.

public class MacOSProperties

Inheritance: object -> MacOSProperties

Constructors

NameDescription
MacOSPropertiesNo summary available.

MacOSProperties Constructor

public MacOSProperties()

Methods

NameDescription
GetIsTemplateIconReturns a Boolean value that indicates whether the TrayIcon image is a template image.
SetIsTemplateIconA Boolean value that determines whether the TrayIcon image represents a template image.

GetIsTemplateIcon Method

Returns a Boolean value that indicates whether the TrayIcon image is a template image.

public bool GetIsTemplateIcon(Avalonia.Controls.TrayIcon obj)

Parameters

obj Avalonia.Controls.TrayIcon

Returns

bool

SetIsTemplateIcon Method

A Boolean value that determines whether the TrayIcon image represents a template image.

public void SetIsTemplateIcon(Avalonia.Controls.TrayIcon obj, bool value)

Parameters

obj Avalonia.Controls.TrayIcon

value bool

Fields

NameDescription
IsTemplateIconPropertyDefines the IsTemplateIcon attached property.

IsTemplateIconProperty Field

Defines the IsTemplateIcon attached property.

public Avalonia.AttachedProperty<bool> IsTemplateIconProperty