Skip to main content

SetName Method

Sets the value of the Container.Name attached property.

Definition​

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

public static void SetName(
Layoutable layoutable,
string? name
)

Parameters​

  Layoutable
The layoutable to set the value on.
  String
The container name.

See Also​

Reference​

Container Class
Avalonia.Styling Namespace