SetName Method
Sets the value of the Container.Name attached property.
Definition
Namespace: Avalonia.Styling
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public static void SetName(
Layoutable layoutable,
string? name
)
Public Shared Sub SetName (
layoutable As Layoutable,
name As String
)
static member SetName :
layoutable : Layoutable *
name : string -> unit
Parameters
- Layoutable
- The layoutable to set the value on.
- String
- The container name.