当前位置: 首页>>代码示例>>C#>>正文


C# WpfKnownType.Freeze方法代码示例

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


在下文中一共展示了WpfKnownType.Freeze方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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


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