How to use the class in assembly in XAML

原创 2007年10月03日 13:47:00

Firstly, you have to include the assembly to the project.
Secondly, you must delare the namespace as follows,


 xmlns:sys="clr-namespace:System;assembly=mscorlib"

Thirdly, you can use it.

e.g.

<ListBox>
       
<sys:String>One</sys:String>
</ListBox> 

How to Use 'Group By' in Class in Salesforce

How to Use 'Group By' in class? 1.Construct new Class public class SummaryObject{ //create new...

How to Use Oracle Restart in Oracle 11gR2

Oracle Restart是数据库组件监控方法向单实例数据库中的延展,之前srvctl命令可以用来管理RAC数据库中的各个组件,安装了Oracle Restart之后,对于单实例数据库组件(包括数据...

How to use Session attributes in Spring-mvc

Could you help me write spring mvc style analog so code in jsp and servlets? session.setAttribute("n...
  • gmemai
  • gmemai
  • 2015年09月09日 07:14
  • 424

How To Use Animations and Sprite Sheets in Cocos2D

How To Use Animations and Sprite Sheets in Cocos2DLike this post? Follow me on Twitter!Smoky says: O...

How to use git in Linux

从仓库中导出文件 我们需要将文件从 Git 仓库(隐藏目录中的那些文件)中导出到工作目录中才能开始自己的 hack 过程。下面的命令会在当前目录中写入没有隐藏的目录,其中包含了 Linux 的源代码...

How to use svn in Linux

1、检出文件(checkout)。 使用命令:svn co http://{svn repository url} /destination 然后系统会用当前的用户名登...

Bind: Address Already in Use Or How to Avoid this Error when Closing TCP Connections

In order for a network connection to close, both ends have to send FIN (final) packets, which indi...
  • yy_msdn
  • yy_msdn
  • 2011年08月20日 22:54
  • 982

How to use SSH in Java Programmatically

How to use SSH in Java Programmatically                                        转自:DarrenWang 之 剑毅阁...

Re: How to use values of properties file in selenium code - msg#02103

Great points Mark, thanks. That will be a good reasoning of disadvantages to the approach. Also w...
  • aerchi
  • aerchi
  • 2012年10月18日 10:39
  • 1960
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:How to use the class in assembly in XAML
举报原因:
原因补充:

(最多只允许输入30个字)