• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Baml2006.WpfKnownType类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中System.Windows.Baml2006.WpfKnownType的典型用法代码示例。如果您正苦于以下问题:C# WpfKnownType类的具体用法?C# WpfKnownType怎么用?C# WpfKnownType使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



WpfKnownType类属于System.Windows.Baml2006命名空间,在下文中一共展示了WpfKnownType类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: Create_BamlType_SplineVectorKeyFrame

 private WpfKnownType Create_BamlType_SplineVectorKeyFrame(bool isBamlType, bool useV3Rules)
 {
     var bamlType = new WpfKnownType(this, // SchemaContext
                                       599, "SplineVectorKeyFrame",
                                       typeof(System.Windows.Media.Animation.SplineVectorKeyFrame),
                                       isBamlType, useV3Rules);
     bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.Animation.SplineVectorKeyFrame(); };
     bamlType.Freeze();
     return bamlType;
 }
开发者ID:JianwenSun,项目名称:cc,代码行数:10,代码来源:WpfGeneratedKnownTypes.cs


示例2: Create_BamlType_TextBox

 private WpfKnownType Create_BamlType_TextBox(bool isBamlType, bool useV3Rules)
 {
     var bamlType = new WpfKnownType(this, // SchemaContext
                                       639, "TextBox",
                                       typeof(System.Windows.Controls.TextBox),
                                       isBamlType, useV3Rules);
     bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.TextBox(); };
     bamlType.ContentPropertyName = "Text";
     bamlType.RuntimeNamePropertyName = "Name";
     bamlType.XmlLangPropertyName = "Language";
     bamlType.UidPropertyName = "Uid";
     bamlType.IsUsableDuringInit = true;
     bamlType.Freeze();
     return bamlType;
 }
开发者ID:JianwenSun,项目名称:cc,代码行数:15,代码来源:WpfGeneratedKnownTypes.cs


示例3: Create_BamlType_TextCompositionManager

 private WpfKnownType Create_BamlType_TextCompositionManager(bool isBamlType, bool useV3Rules)
 {
     var bamlType = new WpfKnownType(this, // SchemaContext
                                       642, "TextCompositionManager",
                                       typeof(System.Windows.Input.TextCompositionManager),
                                       isBamlType, useV3Rules);
     bamlType.Freeze();
     return bamlType;
 }
开发者ID:JianwenSun,项目名称:cc,代码行数:9,代码来源:WpfGeneratedKnownTypes.cs


示例4: Create_BamlType_TemplateBindingExpression

 private WpfKnownType Create_BamlType_TemplateBindingExpression(bool isBamlType, bool useV3Rules)
 {
     var bamlType = new WpfKnownType(this, // SchemaContext
                                       632, "TemplateBindingExpression",
                                       typeof(System.Windows.TemplateBindingExpression),
                                       isBamlType, useV3Rules);
     bamlType.TypeConverterType = typeof(System.Windows.TemplateBindingExpressionConverter);
     bamlType.Freeze();
     return bamlType;
 }
开发者ID:JianwenSun,项目名称:cc,代码行数:10,代码来源:WpfGeneratedKnownTypes.cs


示例5: Create_BamlType_TemplateKey

 private WpfKnownType Create_BamlType_TemplateKey(bool isBamlType, bool useV3Rules)
 {
     var bamlType = new WpfKnownType(this, // SchemaContext
                                       636, "TemplateKey",
                                       typeof(System.Windows.TemplateKey),
                                       isBamlType, useV3Rules);
     bamlType.TypeConverterType = typeof(System.Windows.Markup.TemplateKeyConverter);
     bamlType.Freeze();
     return bamlType;
 }
开发者ID:JianwenSun,项目名称:cc,代码行数:10,代码来源:WpfGeneratedKnownTypes.cs


示例6: Create_BamlType_Style

 private WpfKnownType Create_BamlType_Style(bool isBamlType, bool useV3Rules)
 {
     var bamlType = new WpfKnownType(this, // SchemaContext
                                       620, "Style",
                                       typeof(System.Windows.Style),
                                       isBamlType, useV3Rules);
     bamlType.DefaultConstructor = delegate() { return new System.Windows.Style(); };
     bamlType.ContentPropertyName = "Setters";
     bamlType.DictionaryKeyPropertyName = "TargetType";
     bamlType.Freeze();
     return bamlType;
 }
开发者ID:JianwenSun,项目名称:cc,代码行数:12,代码来源:WpfGeneratedKnownTypes.cs


示例7: Create_BamlType_TableRowGroup

 private WpfKnownType Create_BamlType_TableRowGroup(bool isBamlType, bool useV3Rules)
 {
     var bamlType = new WpfKnownType(this, // SchemaContext
                                       630, "TableRowGroup",
                                       typeof(System.Windows.Documents.TableRowGroup),
                                       isBamlType, useV3Rules);
     bamlType.DefaultConstructor = delegate() { return new System.Windows.Documents.TableRowGroup(); };
     bamlType.ContentPropertyName = "Rows";
     bamlType.RuntimeNamePropertyName = "Name";
     bamlType.XmlLangPropertyName = "Language";
     bamlType.IsUsableDuringInit = true;
     bamlType.Freeze();
     return bamlType;
 }
开发者ID:JianwenSun,项目名称:cc,代码行数:14,代码来源:WpfGeneratedKnownTypes.cs


示例8: Create_BamlType_Storyboard

 private WpfKnownType Create_BamlType_Storyboard(bool isBamlType, bool useV3Rules)
 {
     var bamlType = new WpfKnownType(this, // SchemaContext
                                       608, "Storyboard",
                                       typeof(System.Windows.Media.Animation.Storyboard),
                                       isBamlType, useV3Rules);
     bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.Animation.Storyboard(); };
     bamlType.ContentPropertyName = "Children";
     bamlType.RuntimeNamePropertyName = "Name";
     bamlType.Freeze();
     return bamlType;
 }
开发者ID:JianwenSun,项目名称:cc,代码行数:12,代码来源:WpfGeneratedKnownTypes.cs


示例9: Create_BamlType_StreamGeometry

 private WpfKnownType Create_BamlType_StreamGeometry(bool isBamlType, bool useV3Rules)
 {
     var bamlType = new WpfKnownType(this, // SchemaContext
                                       609, "StreamGeometry",
                                       typeof(System.Windows.Media.StreamGeometry),
                                       isBamlType, useV3Rules);
     bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.StreamGeometry(); };
     bamlType.TypeConverterType = typeof(System.Windows.Media.GeometryConverter);
     bamlType.Freeze();
     return bamlType;
 }
开发者ID:JianwenSun,项目名称:cc,代码行数:11,代码来源:WpfGeneratedKnownTypes.cs


示例10: Create_BamlType_StickyNoteControl

 private WpfKnownType Create_BamlType_StickyNoteControl(bool isBamlType, bool useV3Rules)
 {
     var bamlType = new WpfKnownType(this, // SchemaContext
                                       606, "StickyNoteControl",
                                       typeof(System.Windows.Controls.StickyNoteControl),
                                       isBamlType, useV3Rules);
     bamlType.RuntimeNamePropertyName = "Name";
     bamlType.XmlLangPropertyName = "Language";
     bamlType.UidPropertyName = "Uid";
     bamlType.IsUsableDuringInit = true;
     bamlType.Freeze();
     return bamlType;
 }
开发者ID:JianwenSun,项目名称:cc,代码行数:13,代码来源:WpfGeneratedKnownTypes.cs


示例11: Create_BamlType_StopStoryboard

 private WpfKnownType Create_BamlType_StopStoryboard(bool isBamlType, bool useV3Rules)
 {
     var bamlType = new WpfKnownType(this, // SchemaContext
                                       607, "StopStoryboard",
                                       typeof(System.Windows.Media.Animation.StopStoryboard),
                                       isBamlType, useV3Rules);
     bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.Animation.StopStoryboard(); };
     bamlType.Freeze();
     return bamlType;
 }
开发者ID:JianwenSun,项目名称:cc,代码行数:10,代码来源:WpfGeneratedKnownTypes.cs


示例12: Create_BamlType_StaticResourceExtension

 private WpfKnownType Create_BamlType_StaticResourceExtension(bool isBamlType, bool useV3Rules)
 {
     var bamlType = new WpfKnownType(this, // SchemaContext
                                       603, "StaticResourceExtension",
                                       typeof(System.Windows.StaticResourceExtension),
                                       isBamlType, useV3Rules);
     bamlType.DefaultConstructor = delegate() { return new System.Windows.StaticResourceExtension(); };
     bamlType.Constructors.Add(1, new Baml6ConstructorInfo(
                     new List<Type>() { typeof(System.Object) },
                     delegate(object[] arguments)
                     {
                         return new System.Windows.StaticResourceExtension(
                              (System.Object)arguments[0]);
                     }));
     bamlType.Freeze();
     return bamlType;
 }
开发者ID:JianwenSun,项目名称:cc,代码行数:17,代码来源:WpfGeneratedKnownTypes.cs


示例13: Create_BamlType_StaticExtension

 private WpfKnownType Create_BamlType_StaticExtension(bool isBamlType, bool useV3Rules)
 {
     // We're using an internal StaticExtension for the actual instance so we can optimize the provide value
     // call for WPF.  At the same time, we want XamlType to always pretend to be a regular StaticExtension
     var bamlType = new WpfKnownType(this, // SchemaContext
                                       602, "StaticExtension",
                                       typeof(System.Windows.Markup.StaticExtension),
                                       isBamlType, useV3Rules);
     bamlType.DefaultConstructor = delegate() { return new MS.Internal.Markup.StaticExtension(); };
     bamlType.HasSpecialValueConverter = true;
     bamlType.Constructors.Add(1, new Baml6ConstructorInfo(
                     new List<Type>() { typeof(System.String) },
                     delegate(object[] arguments)
                     {
                         return new MS.Internal.Markup.StaticExtension(
                              (System.String)arguments[0]);
                     }));
     bamlType.Freeze();
     return bamlType;
 }
开发者ID:JianwenSun,项目名称:cc,代码行数:20,代码来源:WpfGeneratedKnownTypes.cs


示例14: Create_BamlType_SpotLight

 private WpfKnownType Create_BamlType_SpotLight(bool isBamlType, bool useV3Rules)
 {
     var bamlType = new WpfKnownType(this, // SchemaContext
                                       600, "SpotLight",
                                       typeof(System.Windows.Media.Media3D.SpotLight),
                                       isBamlType, useV3Rules);
     bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.Media3D.SpotLight(); };
     bamlType.Freeze();
     return bamlType;
 }
开发者ID:JianwenSun,项目名称:cc,代码行数:10,代码来源:WpfGeneratedKnownTypes.cs


示例15: Create_BamlType_StringKeyFrameCollection

 private WpfKnownType Create_BamlType_StringKeyFrameCollection(bool isBamlType, bool useV3Rules)
 {
     var bamlType = new WpfKnownType(this, // SchemaContext
                                       617, "StringKeyFrameCollection",
                                       typeof(System.Windows.Media.Animation.StringKeyFrameCollection),
                                       isBamlType, useV3Rules);
     bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.Animation.StringKeyFrameCollection(); };
     bamlType.CollectionKind = XamlCollectionKind.Collection;
     bamlType.Freeze();
     return bamlType;
 }
开发者ID:JianwenSun,项目名称:cc,代码行数:11,代码来源:WpfGeneratedKnownTypes.cs


示例16: Create_BamlType_StreamGeometryContext

 private WpfKnownType Create_BamlType_StreamGeometryContext(bool isBamlType, bool useV3Rules)
 {
     var bamlType = new WpfKnownType(this, // SchemaContext
                                       610, "StreamGeometryContext",
                                       typeof(System.Windows.Media.StreamGeometryContext),
                                       isBamlType, useV3Rules);
     bamlType.Freeze();
     return bamlType;
 }
开发者ID:JianwenSun,项目名称:cc,代码行数:9,代码来源:WpfGeneratedKnownTypes.cs


示例17: Create_BamlType_StrokeCollectionConverter

 private WpfKnownType Create_BamlType_StrokeCollectionConverter(bool isBamlType, bool useV3Rules)
 {
     var bamlType = new WpfKnownType(this, // SchemaContext
                                       619, "StrokeCollectionConverter",
                                       typeof(System.Windows.StrokeCollectionConverter),
                                       isBamlType, useV3Rules);
     bamlType.DefaultConstructor = delegate() { return new System.Windows.StrokeCollectionConverter(); };
     bamlType.Freeze();
     return bamlType;
 }
开发者ID:JianwenSun,项目名称:cc,代码行数:10,代码来源:WpfGeneratedKnownTypes.cs


示例18: Create_BamlType_StreamResourceInfo

 private WpfKnownType Create_BamlType_StreamResourceInfo(bool isBamlType, bool useV3Rules)
 {
     var bamlType = new WpfKnownType(this, // SchemaContext
                                       611, "StreamResourceInfo",
                                       typeof(System.Windows.Resources.StreamResourceInfo),
                                       isBamlType, useV3Rules);
     bamlType.DefaultConstructor = delegate() { return new System.Windows.Resources.StreamResourceInfo(); };
     bamlType.Freeze();
     return bamlType;
 }
开发者ID:JianwenSun,项目名称:cc,代码行数:10,代码来源:WpfGeneratedKnownTypes.cs


示例19: Create_BamlType_Stylus

 private WpfKnownType Create_BamlType_Stylus(bool isBamlType, bool useV3Rules)
 {
     var bamlType = new WpfKnownType(this, // SchemaContext
                                       621, "Stylus",
                                       typeof(System.Windows.Input.Stylus),
                                       isBamlType, useV3Rules);
     bamlType.Freeze();
     return bamlType;
 }
开发者ID:JianwenSun,项目名称:cc,代码行数:9,代码来源:WpfGeneratedKnownTypes.cs


示例20: Create_BamlType_String

 private WpfKnownType Create_BamlType_String(bool isBamlType, bool useV3Rules)
 {
     var bamlType = new WpfKnownType(this, // SchemaContext
                                       612, "String",
                                       typeof(System.String),
                                       isBamlType, useV3Rules);
     bamlType.TypeConverterType = typeof(System.ComponentModel.StringConverter);
     bamlType.Freeze();
     return bamlType;
 }
开发者ID:JianwenSun,项目名称:cc,代码行数:10,代码来源:WpfGeneratedKnownTypes.cs



注:本文中的System.Windows.Baml2006.WpfKnownType类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Controls.Border类代码示例发布时间:2022-05-26
下一篇:
C# Baml2006.WpfKnownMember类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap