xaml 什么是“本地:"? [英] xaml what is "local:"?

查看:28
本文介绍了xaml 什么是“本地:"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是本地:在 XAML 中,C# 类中的哪些参数可以称为 local: ?

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

在我查看的某些代码中,我看到了 xmlns:local="clr-namespace:AskLocal".这是什么意思?

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

推荐答案

在 XAML 中,当引用声明当前类的命名空间时,通常使用本地别名.这不是强制性的,只是经常做.

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.

这篇关于xaml 什么是“本地:"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆