2008年12月7日
摘要: 在XAML中定义了一个控件,如下:<Grid x:Name="FormContainerElement" ... />自定义控件代码*.cs如下:[TemplatePart(Name = "FormContainerElement", Type = typeof(Grid))]public class MyControl : Control{public MyControl(){Def... 阅读全文
posted @ 2008-12-07 13:06 think8848 阅读(1601) 评论(0) 推荐(0)