Skip to main content

GetName Method

Gets the value of the Container.Name attached property.

Definition​

Namespace: Avalonia.Styling
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public static string? GetName(
Layoutable layoutable
)

Parameters​

  Layoutable
The layoutable to read the value from.

Return Value​

String
The container name of the layoutable

See Also​

Reference​

Container Class
Avalonia.Styling Namespace