Share via


NameScope Class

Definition

Provides XAML namescope functionality for resolving named elements.

public ref class NameScope : Microsoft::Maui::Controls::Internals::INameScope
public class NameScope : Microsoft.Maui.Controls.Internals.INameScope
type NameScope = class
    interface INameScope
Public Class NameScope
Implements INameScope
Inheritance
NameScope
Implements

Constructors

Name Description
NameScope()

Fields

Name Description
NameScopeProperty

Bindable property for NameScope.

Methods

Name Description
GetNameScope(BindableObject)

Gets the namescope attached to the bindable object.

SetNameScope(BindableObject, INameScope)

Attaches a namescope to the bindable object.

Explicit Interface Implementations

Name Description
INameScope.FindByName(String)
INameScope.RegisterName(String, Object)
INameScope.UnregisterName(String)

Applies to