GetNameScope Method
Gets 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 INameScope GetNameScope(
StyledElement styled
)
Public Shared Function GetNameScope (
styled As StyledElement
) As INameScope
static member GetNameScope :
styled : StyledElement -> INameScope
Parameters
- StyledElement
- The styled element.
Return Value
INameScope
The value of the NameScope attached property.