SetNameScope Method
Sets the value of the attached NameScopeProperty on a styled element.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public static void SetNameScope(
StyledElement styled,
INameScope value
)
Public Shared Sub SetNameScope (
styled As StyledElement,
value As INameScope
)
static member SetNameScope :
styled : StyledElement *
value : INameScope -> unit
Parameters
- StyledElement
- The styled element.
- INameScope
- The value to set.