2 implementations of RegisterName
Microsoft.Maui.Controls (2)
Element\Element.cs (1)
524
void INameScope.
RegisterName
(string name, object scopedElement)
Internals\NameScope.cs (1)
23
void INameScope.
RegisterName
(string name, object scopedElement)
16 references to RegisterName
Microsoft.Maui.Controls (15)
Element\Element.cs (1)
527
namescope.
RegisterName
(name, scopedElement);
RadioButton\RadioButton.cs (4)
566
nameScope.
RegisterName
(TemplateRootName, border);
567
nameScope.
RegisterName
(UncheckedButton, normalEllipse);
568
nameScope.
RegisterName
(CheckedIndicator, checkMark);
569
nameScope.
RegisterName
("ContentPresenter", contentPresenter);
Shell\BaseShellItem.cs (3)
524
nameScope.
RegisterName
("FlyoutItemLayout", grid);
525
nameScope.
RegisterName
("FlyoutItemImage", image);
526
nameScope.
RegisterName
("FlyoutItemLabel", label);
TitleBar\TitleBar.cs (7)
551
nameScope.
RegisterName
(TemplateRootName, contentGrid);
552
nameScope.
RegisterName
(TitleBarLeading, leadingContent);
553
nameScope.
RegisterName
(TitleBarIcon, icon);
554
nameScope.
RegisterName
(TitleBarTitle, titleLabel);
555
nameScope.
RegisterName
(TitleBarSubtitle, subtitleLabel);
556
nameScope.
RegisterName
(TitleBarContent, content);
557
nameScope.
RegisterName
(TitleBarTrailing, trailingContent);
Microsoft.Maui.Controls.Xaml (1)
RegisterXNamesVisitor.cs (1)
31
((IElementNode)parentNode).NameScopeRef.NameScope.
RegisterName
((string)node.Value, Values[parentNode]);