WaylandProperties Class
Definition
Set of Wayland specific properties and events that allow deeper customization of the application per platform.
public class WaylandProperties
Methods
| Name | Description |
|---|---|
| GetAppId | Gets the value of the AppId attached property of the specified window. |
| SetAppId | Sets the value of the AppId attached property of the specified window. |
GetAppId Method
Gets the value of the AppId attached property of the specified window.
public string GetAppId(Avalonia.Controls.Window obj)
Parameters
The window.
Returns
string
The application ID for obj.
SetAppId Method
Sets the value of the AppId attached property of the specified window.
public void SetAppId(Avalonia.Controls.Window obj, string value)
Parameters
The window.
value string
The application ID value to set.
Fields
| Name | Description |
|---|---|
| AppIdProperty | Defines the AppId attached property. |
AppIdProperty Field
Defines the AppId attached property.
public Avalonia.AttachedProperty<string> AppIdProperty
Remarks
Specifies the application ID (app_id) sent to the Wayland compositor via xdg_toplevel
for window management, application identification, and window grouping.
In Wayland environments, client windows do not directly provide their own window icons. Instead,
compositors, docks, and taskbars resolve the application icon, launcher identity, and notifications by
matching the AppId against the filename of the application's installed .desktop file
(for example, using org.example.myapp to match org.example.myapp.desktop).