Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xaml what is "local:"?

What is local: in XAML, and what parameters in a C# class can be called local: ?

In some code I am looking at, I see xmlns:local="clr-namespace:AskLocal". What does this mean?

like image 498
yozawiratama Avatar asked Sep 05 '25 03:09

yozawiratama


1 Answers

In XAML the local alias is commonly used when referring to the namespace in which the current class is declared. It is not mandatory, it is just commonly done.

like image 64
Emond Avatar answered Sep 09 '25 03:09

Emond