询问者
请问WPF的窗体怎么设置Classname?

问题
全部回复
-
你好,
你是指为某一个窗体指定一个ClassName吗?如果是的,你可以在XAMl中找到 x:Class="Namespace.ClassName",这里就可以设置此窗体对应的ClassName。如果我理解错你的问题,请详细一些说明。
谢谢
Daisy Tian
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.- 已编辑 Daisy TianMicrosoft contingent staff 2020年10月28日 8:29
-
你好,
你是想在程序运行以后动态设置ClassName吗?如果是这样的话,应该是不可以实现的。
谢谢
Daisy Tian
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.