NameScope.

GetNameScope(StyledElement) Method

Summary

Gets the value of the attached NameScopeProperty on a styled element.
Namespace
Avalonia.Controls
Containing Type
NameScope

Syntax

public static INameScope GetNameScope(StyledElement styled)

Parameters

Name Type Description
styled StyledElement The styled element.

Return Value

Type Description
INameScope The value of the NameScope attached property.