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


C# AttributeTableBuilder.CreateTable方法代码示例

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


在下文中一共展示了AttributeTableBuilder.CreateTable方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: AddMonthViewDesigners

        private void AddMonthViewDesigners()
        {
            var builder = new AttributeTableBuilder();
            builder.AddCustomAttributes(typeof (FXMonthView), new FeatureAttribute(typeof (MonthViewDesignAdorner)));

            MetadataStore.AddAttributeTable(builder.CreateTable());
        }
开发者ID:Jalalx,项目名称:FarsiLibrary,代码行数:7,代码来源:VisualStudioMetadata.cs

示例2: BuildAttributeTable

        /// <summary>
        /// Builds the design time attribute table.
        /// </summary>
        /// <returns>Custom attribute table.</returns>
        private static AttributeTable BuildAttributeTable()
        {
            AttributeTableBuilder builder = new AttributeTableBuilder();

            AddAttributes(builder);

            return builder.CreateTable();
        }
开发者ID:harunpehlivan,项目名称:LiveSDK-for-Windows,代码行数:12,代码来源:MetadataBase.cs

示例3: Register

		public void Register()
		{
			AttributeTableBuilder tableBuilder = new AttributeTableBuilder();

			tableBuilder.AddCustomAttributes(typeof(PieChart), new FeatureAttribute(typeof(PieChartDesignModeValueProvider)));

			MetadataStore.AddAttributeTable(tableBuilder.CreateTable());
		}
开发者ID:XiBeichuan,项目名称:hydronumerics,代码行数:8,代码来源:Metadata.cs

示例4: BuildAttributeTable

        /// <summary>
        /// Build design time metadata attribute table.
        /// </summary>
        /// <returns>Custom attribute table.</returns>
        protected virtual AttributeTable BuildAttributeTable()
        {
            AttributeTableBuilder builder = new AttributeTableBuilder();

            AddDescriptions(builder);
            AddAttributes(builder);
            AddTables(builder);

            return builder.CreateTable();
        }
开发者ID:modulexcite,项目名称:SilverlightToolkit,代码行数:14,代码来源:MetadataBase.cs

示例5: BuildAttributeTable

        /// <summary>
		/// Build design time metadata attribute table.
		/// </summary>
		/// <returns>Custom attribute table.</returns>
		protected virtual AttributeTable BuildAttributeTable()
		{
			AttributeTableBuilder builder = new AttributeTableBuilder();

            AddDescriptions(builder);
            AddAttributes(builder);
            AddTables(builder, this);
            masterMetadataTable = builder.CreateTable();
			return masterMetadataTable;
		}
开发者ID:sk8tz,项目名称:callisto,代码行数:14,代码来源:MetadataRegistrationBase.cs

示例6: VectorMetadata

        public VectorMetadata()
        {
            var builder = new AttributeTableBuilder();

            builder.AddCustomAttributes(typeof (Node),
                                        "Position",
                                        PropertyValueEditor.CreateEditorAttribute(typeof (VectorEditor)),
                                        new AlternateContentPropertyAttribute()
                                        );

            AttributeTable = builder.CreateTable();
        }
开发者ID:Conn,项目名称:Balder,代码行数:12,代码来源:VectorMetadata.cs

示例7: AddToolboxBrowsableAttributes

        private void AddToolboxBrowsableAttributes()
        {
            AttributeTableBuilder builder = new AttributeTableBuilder();

            builder.AddCustomAttributes(typeof(DataGridCell), ToolboxBrowsableAttribute.No);
            builder.AddCustomAttributes(typeof(DataGridCellsPanel), ToolboxBrowsableAttribute.No);
            builder.AddCustomAttributes(typeof(DataGridCellsPresenter), ToolboxBrowsableAttribute.No);
            builder.AddCustomAttributes(typeof(DataGridColumnHeader), ToolboxBrowsableAttribute.No);
            builder.AddCustomAttributes(typeof(DataGridColumnHeadersPresenter), ToolboxBrowsableAttribute.No);
            builder.AddCustomAttributes(typeof(DataGridDetailsPresenter), ToolboxBrowsableAttribute.No);
            builder.AddCustomAttributes(typeof(DataGridHeaderBorder), ToolboxBrowsableAttribute.No);
            builder.AddCustomAttributes(typeof(DataGridRow), ToolboxBrowsableAttribute.No);
            builder.AddCustomAttributes(typeof(DataGridRowHeader), ToolboxBrowsableAttribute.No);
            builder.AddCustomAttributes(typeof(DataGridRowsPresenter), ToolboxBrowsableAttribute.No);
            builder.AddCustomAttributes(typeof(SelectiveScrollingGrid), ToolboxBrowsableAttribute.No);
            
            builder.AddCustomAttributes(typeof(CalendarButton), ToolboxBrowsableAttribute.No);
            builder.AddCustomAttributes(typeof(CalendarDayButton), ToolboxBrowsableAttribute.No);
            builder.AddCustomAttributes(typeof(CalendarItem), ToolboxBrowsableAttribute.No);
            builder.AddCustomAttributes(typeof(DatePickerTextBox), ToolboxBrowsableAttribute.No);

            MetadataStore.AddAttributeTable(builder.CreateTable());
        }
开发者ID:jrwren,项目名称:wpftoolkit,代码行数:23,代码来源:VisualStudioMetadata.cs

示例8: RegisterMetadata

		void RegisterMetadata()
		{
			AttributeTableBuilder builder = new AttributeTableBuilder();
			
			// Register Designers.
			builder.AddCustomAttributes(typeof(Sequence),
			                            new DesignerAttribute(typeof(SequenceDesigner)));
			
			// Apply the metadata
			MetadataStore.AddAttributeTable(builder.CreateTable());
		}
开发者ID:2594636985,项目名称:SharpDevelop,代码行数:11,代码来源:WorkflowDesignerViewContent.cs

示例9: AddToolboxBrowsableAttributes

        private void AddToolboxBrowsableAttributes()
        {
            var builder = new AttributeTableBuilder();

            builder.AddCustomAttributes(typeof(FXMonthViewButton),            ToolboxBrowsableAttribute.No);
            builder.AddCustomAttributes(typeof(FXMonthViewContainer),         ToolboxBrowsableAttribute.No);
            builder.AddCustomAttributes(typeof(FXMonthViewHeader),            ToolboxBrowsableAttribute.No);
            builder.AddCustomAttributes(typeof(FXMonthViewItem),              ToolboxBrowsableAttribute.No);
            builder.AddCustomAttributes(typeof(FXMonthViewWeekDayHeaderCell), ToolboxBrowsableAttribute.No);
            builder.AddCustomAttributes(typeof(FXPopup),                      ToolboxBrowsableAttribute.No);

            MetadataStore.AddAttributeTable(builder.CreateTable());
        }
开发者ID:Jalalx,项目名称:FarsiLibrary,代码行数:13,代码来源:VisualStudioMetadata.cs

示例10: Register

 /// <summary>
 /// Return the attribute table that is applied to design time.
 /// </summary>
 public void Register()
 {
     AttributeTableBuilder builder = new AttributeTableBuilder();
     LayoutMetadata.AddAttributes(builder);
     MetadataStore.AddAttributeTable(builder.CreateTable());
 }
开发者ID:ComponentFactory,项目名称:Quicksilver,代码行数:9,代码来源:MetadataRegistration35.cs


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