...对象元素的属性值可以是不同数据类型,根据需求不同,经常需要对数据类型进行转换,就需要使用XAML的类型转换器(Type Converters)。本篇将讲解XAML类型转换器的使用。
基于16个网页-相关网页
This includes markup extensions and type converters.
此类型包括标记扩展和类型转换器。
If you define custom properties and want the property browser to display them, you must implement custom type converters.
如果您定义自定义属性并想让属性浏览器显示它们,则必须实现自定义类型转换器。
Common data types are associated with default type converters that convert values into strings and strings into the appropriate data types.
常见数据类型与默认类型转换器(将数值转换为字符串,并将字符串转换为相应数据类型)相关联。
应用推荐