NameScope.

SetNameScope(StyledElement, INameScope) Method

Summary

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

Syntax

public static void SetNameScope(StyledElement styled, INameScope value)

Parameters

Name Type Description
styled StyledElement The styled element.
value INameScope The value to set.

Return Value

Type Description
void