/// <summary> /// The designer class' internal metadata registration method /// </summary> /// <param name="builder"></param> public static void RegisterMetadata(AttributeTableBuilder builder) { // Attributes builder.AddCustomAttributes(typeof(CreditGrantAssessor), new DesignerAttribute(typeof(CreditsMlModelDesigner))); builder.AddCustomAttributes(typeof(CreditGrantAssessor), new DescriptionAttribute(activityDescription)); builder.AddCustomAttributes(typeof(CreditGrantAssessor), new CategoryAttribute(Properties.Resources.MachineLearningModelActivitesCategory)); }
public static void RegisterMetadata(AttributeTableBuilder builder) { string activityDescription = "Container for R activities."; builder.AddCustomAttributes(typeof(RScope), new DesignerAttribute(typeof(RScopeDesigner))); builder.AddCustomAttributes(typeof(RScope), new DescriptionAttribute(activityDescription)); }
internal static void RegisterMetadata(AttributeTableBuilder builder) { Type assignType = typeof(Assign); builder.AddCustomAttributes(assignType, new DesignerAttribute(typeof(AssignDesigner))); builder.AddCustomAttributes(assignType, new ActivityDesignerOptionsAttribute { AllowDrillIn = false }); Func <Activity, IEnumerable <ArgumentAccessor> > argumentAccessorGenerator = (activity) => { return(new ArgumentAccessor[] { new ArgumentAccessor { Getter = (ownerActivity) => ((Assign)ownerActivity).To, Setter = (ownerActivity, arg) => ((Assign)ownerActivity).To = arg as OutArgument, }, new ArgumentAccessor { Getter = (ownerActivity) => ((Assign)ownerActivity).Value, Setter = (ownerActivity, arg) => ((Assign)ownerActivity).Value = arg as InArgument, }, }); }; ActivityArgumentHelper.RegisterAccessorsGenerator(assignType, argumentAccessorGenerator); }
/// <summary> /// The designer class' internal metadata registration method /// </summary> /// <param name="builder"></param> public static void RegisterMetadata(AttributeTableBuilder builder) { // Text translator attribute builder.AddCustomAttributes(typeof(DocumentTranslator), new DesignerAttribute(typeof(DocumentTranslatorDesigner))); builder.AddCustomAttributes(typeof(DocumentTranslator), new DescriptionAttribute(activityDescription)); builder.AddCustomAttributes(typeof(DocumentTranslator), new CategoryAttribute(Properties.Resources.CognitiveActivitiesTranslationCategories)); }
public static void RegisterMetadata(AttributeTableBuilder builder) { Type type = typeof(TransactionScope); builder.AddCustomAttributes(type, new DesignerAttribute(typeof(TransactionScopeDesigner))); builder.AddCustomAttributes(type, type.GetProperty("Body"), BrowsableAttribute.No); }
public static void RegisterMetadata(AttributeTableBuilder builder) { Type type = typeof(NoPersistScope); builder.AddCustomAttributes(type, new DesignerAttribute(typeof(NoPersistScopeDesigner))); builder.AddCustomAttributes(type, type.GetProperty(NoPersistScopeDesigner.BodyPropertyName), BrowsableAttribute.No); }
public static void RegisterMetadata(AttributeTableBuilder builder) { System.Type type = typeof(RandomNumber); builder.AddCustomAttributes(type, new DesignerAttribute(typeof(RandomNumberDesigner))); //builder.AddCustomAttributes(type, new ActivityDesignerOptionsAttribute { AlwaysCollapseChildren = true, AllowDrillIn = false }); builder.AddCustomAttributes(type, type.GetProperty("DisplayName"), BrowsableAttribute.No); }
public static void RegisterMetadata(AttributeTableBuilder builder) { string activityDescription = "Runs scripts created in R. This activity needs to be used inside the R Scope activity."; builder.AddCustomAttributes(typeof(RunRScript), new DesignerAttribute(typeof(RunRScriptDesigner))); builder.AddCustomAttributes(typeof(RunRScript), new DescriptionAttribute(activityDescription)); }
/// <summary> /// The designer class' internal metadata registration method /// </summary> /// <param name="builder"></param> public static void RegisterMetadata(AttributeTableBuilder builder) { // Text translator attribute builder.AddCustomAttributes(typeof(EmailTicketClassifier), new DesignerAttribute(typeof(EmailTicketClassifierDesigner))); builder.AddCustomAttributes(typeof(EmailTicketClassifier), new DescriptionAttribute(activityDescription)); builder.AddCustomAttributes(typeof(EmailTicketClassifier), new CategoryAttribute(Properties.Resources.MachineLearningModelActivitesCategory)); }
internal static void RegisterMetadata(AttributeTableBuilder builder) { var serviceType = typeof(WorkflowService); var advancedAttribute = new EditorBrowsableAttribute(EditorBrowsableState.Advanced); var categoryAttribute = new CategoryAttribute(EditorCategoryTemplateDictionary.Instance.GetCategoryTitle(MiscellaneousCategoryLabelKey)); builder.AddCustomAttributes(serviceType, new DesignerAttribute(typeof(ServiceDesigner))); builder.AddCustomAttributes(serviceType, "Name", new TypeConverterAttribute(typeof(XNameConverter))); builder.AddCustomAttributes(serviceType, serviceType.GetProperty("Endpoints"), BrowsableAttribute.No); builder.AddCustomAttributes( serviceType, "ImplementedContracts", advancedAttribute, categoryAttribute, PropertyValueEditor.CreateEditorAttribute(typeof(TypeCollectionPropertyEditor)), new EditorOptionAttribute { Name = TypeCollectionPropertyEditor.AllowDuplicate, Value = false }, new EditorOptionAttribute { Name = TypeCollectionPropertyEditor.Filter, Value = ServiceContractImporter.FilterFunction }, new EditorOptionAttribute { Name = TypeCollectionPropertyEditor.DefaultType, Value = null }); builder.AddCustomAttributes(serviceType, serviceType.GetProperty("Body"), BrowsableAttribute.No); }
public void Register() { AttributeTableBuilder builder = new AttributeTableBuilder(); // Designers builder.AddCustomAttributes(typeof(PythonScope), new DesignerAttribute(typeof(PythonScopeDesigner))); builder.AddCustomAttributes(typeof(LoadScript), new DesignerAttribute(typeof(LoadScriptDesigner))); builder.AddCustomAttributes(typeof(RunScript), new DesignerAttribute(typeof(RunScriptDesigner))); // Browsable false // DisplayNames //Categories CategoryAttribute pythonCategoryAttribute = new CategoryAttribute($"{Resources.CategoryAppInvoker}.{Resources.CategoryPython}"); builder.AddCustomAttributes(typeof(PythonScope), pythonCategoryAttribute); builder.AddCustomAttributes(typeof(RunScript), pythonCategoryAttribute); builder.AddCustomAttributes(typeof(LoadScript), pythonCategoryAttribute); builder.AddCustomAttributes(typeof(InvokeMethod), pythonCategoryAttribute); builder.AddCustomAttributes(typeof(GetObject <>), pythonCategoryAttribute); // Generic TypeArgument Type attrType = Type.GetType("System.Activities.Presentation.FeatureAttribute, System.Activities.Presentation"); Type argType = Type.GetType("System.Activities.Presentation.UpdatableGenericArgumentsFeature, System.Activities.Presentation"); var genericTypeArgument = Activator.CreateInstance(attrType, new object[] { argType }) as Attribute; builder.AddCustomAttributes(typeof(GetObject <>), genericTypeArgument); builder.AddCustomAttributes(typeof(GetObject <>), new DefaultTypeArgumentAttribute(typeof(object))); AddDisplayNameToActivities(builder, typeof(PythonScope).Assembly, nameof(Activity.DisplayName), new DisplayNameAttribute(Resources.DisplayName)); MetadataStore.AddAttributeTable(builder.CreateTable()); }
public static void RegisterMetadata(AttributeTableBuilder builder) { Type activityType = GetTypeByQualifiedName(InteropDesigner.InteropTypeAssemblyQualifiedName); //activityType will be null in ClientSKU since System.Workflow.Runtime.dll is not a part of clientSKU. if (activityType != null) { builder.AddCustomAttributes(activityType, new DesignerAttribute(typeof(InteropDesigner))); builder.AddCustomAttributes( activityType, "ActivityType", new EditorOptionAttribute { Name = TypePropertyEditor.BrowseTypeDirectly, Value = true }); builder.AddCustomAttributes( activityType, "ActivityType", new EditorOptionAttribute { Name = TypePropertyEditor.Filter, Value = Filter }); builder.AddCustomAttributes( activityType, "ActivityType", new RefreshPropertiesAttribute(RefreshProperties.All)); builder.AddCustomAttributes(activityType, new ActivityDesignerOptionsAttribute { AllowDrillIn = false }); } }
public void Register <TActivity>(Attribute attribute, params Expression <Func <TActivity, object> >[] members) { foreach (var member in members) { _tableBuilder.AddCustomAttributes(_activityType, GetMemberName(member), attribute); } }
/// <summary> /// The register metadata. /// </summary> /// <param name="builder"> /// The builder. /// </param> public static void RegisterMetadata(AttributeTableBuilder builder) { builder.AddCustomAttributes( typeof(HttpWorkflowService), new DesignerAttribute(typeof(HttpWorkflowServiceDesigner))); builder.AddCustomAttributes( typeof(HttpWorkflowService), new DescriptionAttribute("A Workflow Service that uses HTTP Messaging")); }
/// <summary> /// Регистрация атрибутов компонента /// </summary> public static void RegisterMetadata(AttributeTableBuilder builder) { builder.AddCustomAttributes(typeof(DynamicAssign <>), new DesignerAttribute(typeof(DynamicAssignActivityDesigner))); //builder.AddCustomAttributes(typeof(DynamicAssign<>), new ToolboxBitmapAttribute(typeof(DynamicAssign<>), "DCLDefault16.png")); //builder.AddCustomAttributes(typeof(DynamicAssign<>), new CategoryAttribute(@"General")); builder.AddCustomAttributes(typeof(DynamicAssign <>), new DisplayNameAttribute(@"Присвоить значение полю")); builder.AddCustomAttributes(typeof(DynamicAssign <>), new DescriptionAttribute(@"Присваивает значение указанному полю сущности")); }
/// <summary> /// Регистрация атрибутов компонента /// </summary> public static void RegisterMetadata(AttributeTableBuilder builder) { builder.AddCustomAttributes(typeof(ExecuteProcedureActivity), new DesignerAttribute(typeof(ExecuteProcedureActivityDesigner))); //builder.AddCustomAttributes(typeof(ExecuteProcedureActivity), new ToolboxBitmapAttribute(typeof(ExecuteProcedureActivity), "DCLDefault16.png")); //builder.AddCustomAttributes(typeof(ExecuteProcedureActivity), new CategoryAttribute(@"Процессы")); builder.AddCustomAttributes(typeof(ExecuteProcedureActivity), new DisplayNameAttribute(@"Запуск API")); builder.AddCustomAttributes(typeof(ExecuteProcedureActivity), new DescriptionAttribute(@"Запуск процесса (через API функцию)")); }
public void Register() { AttributeTableBuilder attributeTableBuilder = new AttributeTableBuilder(); attributeTableBuilder.AddCustomAttributes(typeof(ListRooms), new DesignerAttribute(typeof(ListRoomsDesigner))); attributeTableBuilder.AddCustomAttributes(typeof(SendMessage), new DesignerAttribute(typeof(SendMessageDesigner))); MetadataStore.AddAttributeTable(attributeTableBuilder.CreateTable()); }
// since designer and activity are in same assembly register in static constructor static SimpleCodeActivity() { AttributeTableBuilder builder = new AttributeTableBuilder(); builder.AddCustomAttributes(typeof(SimpleCodeActivity), "RepeatCount", new EditorAttribute(typeof(CustomInlineEditor), typeof(PropertyValueEditor))); builder.AddCustomAttributes(typeof(SimpleCodeActivity), "FileName", new EditorAttribute(typeof(FilePickerEditor), typeof(DialogPropertyValueEditor))); MetadataStore.AddAttributeTable(builder.CreateTable()); }
/// <summary> /// The designer class' internal metadata registration method /// </summary> /// <param name="builder"></param> public static void RegisterMetadata(AttributeTableBuilder builder) { // Text moderator attributes string description = activityDescription; builder.AddCustomAttributes(typeof(TextModerator), new DesignerAttribute(typeof(TextModeratorDesigner))); builder.AddCustomAttributes(typeof(TextModerator), new DescriptionAttribute(description)); builder.AddCustomAttributes(typeof(TextModerator), new CategoryAttribute(Properties.Resources.CognitiveActivitiesContentModerationCategories)); }
public void Register() { AttributeTableBuilder attributeTableBuilder = new AttributeTableBuilder(); attributeTableBuilder.AddCustomAttributes(typeof(WizardActivity), new CategoryAttribute(Resources.WizardActivityCategory)); attributeTableBuilder.AddCustomAttributes(typeof(WizardActivity), new DesignerAttribute(typeof(WizardActivityDesigner))); MetadataStore.AddAttributeTable(attributeTableBuilder.CreateTable()); }
/// <summary> /// Регистрация атрибутов компонента. /// </summary> public static void RegisterMetadata(AttributeTableBuilder builder) { builder.AddCustomAttributes(typeof(CreateExpandoObjectViewModelActivity), new DesignerAttribute(typeof(CreateExpandoObjectViewModelActivityDesigner))); //builder.AddCustomAttributes(typeof(ShowCustomObjectViewModelActivity), new ToolboxBitmapAttribute(typeof(ShowCustomObjectViewModelActivity<>), "DCLDefault16.png")); //builder.AddCustomAttributes(typeof(ShowCustomObjectViewModelActivity), new CategoryAttribute(@"General")); builder.AddCustomAttributes(typeof(CreateExpandoObjectViewModelActivity), new DisplayNameAttribute(@"Показываем модель")); builder.AddCustomAttributes(typeof(CreateExpandoObjectViewModelActivity), new DescriptionAttribute(@"Показываем модель")); }
/// <summary> /// Category、Displayname、Descriptionをセットで設定します /// </summary> /// <param name="builder"></param> /// <param name="t"></param> /// <param name="nameOf"></param> /// <param name="DisplayName"></param> /// <param name="Category"></param> /// <param name="Description"></param> public static void RegisterHelper(ref AttributeTableBuilder builder, Type t, string nameOf, string DisplayName, string Category, string Description) { // \nのReplaceを、こちらで、アドホックに対応しているのですが、リソースファイルに、きれいに埋め込む方法は・・・? builder.AddCustomAttributes(t, nameOf, new DisplayNameAttribute(DisplayName)); builder.AddCustomAttributes(t, nameOf, new CategoryAttribute(Category)); builder.AddCustomAttributes(t, nameOf, new DescriptionAttribute(Description.Replace(@"\n", System.Environment.NewLine))); }
static void RegisterCustomMetadata() { var builder = new AttributeTableBuilder(); builder.AddCustomAttributes(typeof(CreateFolder), new DesignerAttribute(typeof(CreateFolderDesigner))); builder.AddCustomAttributes(typeof(DeleteFolder), new DesignerAttribute(typeof(DeleteFolderDesigner))); MetadataStore.AddAttributeTable(builder.CreateTable()); }
// since designer and activity are in same assembly register in static constructor static ImageDectorActivity() { AttributeTableBuilder builder = new AttributeTableBuilder(); builder.AddCustomAttributes(typeof(ImageDectorActivity), "Capacity", new EditorAttribute(typeof(CustomInlineEditor), typeof(PropertyValueEditor))); builder.AddCustomAttributes(typeof(ImageDectorActivity), "ImageFileName", new EditorAttribute(typeof(FilePickerEditor), typeof(DialogPropertyValueEditor))); MetadataStore.AddAttributeTable(builder.CreateTable()); }
/// <summary> /// Регистрация атрибутов компонента /// </summary> public static void RegisterMetadata(AttributeTableBuilder builder) { builder.AddCustomAttributes(typeof(MultipleDynamicAssignActivity <>), new DesignerAttribute(typeof(MultipleDynamicAssignActivityDesigner))); //builder.AddCustomAttributes(typeof(MultipleDynamicAssignActivity), new ToolboxBitmapAttribute(typeof(MultipleDynamicAssignActivity), "DCLDefault16.png")); //builder.AddCustomAttributes(typeof(MultipleDynamicAssignActivity), new CategoryAttribute(@"General")); builder.AddCustomAttributes(typeof(MultipleDynamicAssignActivity <>), new DisplayNameAttribute(@"Множественное присваивание")); builder.AddCustomAttributes(typeof(MultipleDynamicAssignActivity <>), new DescriptionAttribute(@"Позволяет заполнить поля сущности")); }
static HotKeyActivity() { AttributeTableBuilder builder = new AttributeTableBuilder(); builder.AddCustomAttributes(typeof(HotKeyActivity), "ClickType", new EditorAttribute(typeof(MouseClickTypeEditor), typeof(PropertyValueEditor))); builder.AddCustomAttributes(typeof(HotKeyActivity), "MouseButton", new EditorAttribute(typeof(MouseButtonTypeEditor), typeof(PropertyValueEditor))); MetadataStore.AddAttributeTable(builder.CreateTable()); }
private static void RegisterMetadataForMessagingActivitiesPropertyEditors(AttributeTableBuilder builder) { EndpointDesigner.RegisterMetadata(builder); builder.AddCustomAttributes(typeof(InArgument <CorrelationHandle>), new EditorReuseAttribute(false)); builder.AddCustomAttributes(typeof(InArgument <Uri>), new EditorReuseAttribute(false)); builder.AddCustomAttributes(typeof(MessageQuerySet), PropertyValueEditor.CreateEditorAttribute(typeof(CorrelatesOnValueEditor))); }
public InvokePythonScriptActivity() { var builder = new AttributeTableBuilder(); builder.AddCustomAttributes(typeof(InvokePythonScriptActivity), "Arguments", new EditorAttribute(typeof(DictionaryArgumentEditor), typeof(DialogPropertyValueEditor))); builder.AddCustomAttributes(typeof(InvokePythonScriptActivity), "Code", new EditorAttribute(typeof(PythonScriptEditor), typeof(DialogPropertyValueEditor))); MetadataStore.AddAttributeTable(builder.CreateTable()); }
void RegisterCustomMetadata() { AttributeTableBuilder builder = new AttributeTableBuilder(); builder.AddCustomAttributes(typeof(Statistical.R.RScope), new DesignerAttribute(typeof(Statistical.R.Design.RScopeDesigner))); builder.AddCustomAttributes(typeof(Statistical.R.RunRScript), new DesignerAttribute(typeof(Statistical.R.Design.RunRScriptDesigner))); MetadataStore.AddAttributeTable(builder.CreateTable()); }
public FileChangeTriggerActivity() { AttributeTableBuilder builder = new AttributeTableBuilder(); builder.AddCustomAttributes(typeof(FileChangeTriggerActivity), "ChangeType", new EditorAttribute(typeof(ChangeTypeEditor), typeof(PropertyValueEditor))); builder.AddCustomAttributes(typeof(FileChangeTriggerActivity), "_NotifyFilters", new EditorAttribute(typeof(NotifyFiltersEditor), typeof(PropertyValueEditor))); MetadataStore.AddAttributeTable(builder.CreateTable()); }
/// <summary> /// Add design time attributes. /// </summary> /// <param name="builder">The assembly attribute table builder.</param> private static void AddAttributes(AttributeTableBuilder builder) { builder.AddCustomAttributes( typeof(SignInButton), new Attribute[] { new DefaultPropertyAttribute("ClientId"), new DefaultEventAttribute("SessionChanged"), new ToolboxBrowsableAttribute(true), new ToolboxCategoryAttribute(LiveServicesCategory), new ToolboxTabNameAttribute(LiveServicesCategory)}); EditorBrowsableAttribute browsableAlways = new EditorBrowsableAttribute(EditorBrowsableState.Always); CategoryAttribute categoryLive = new CategoryAttribute(LiveServicesCategory); DescriptionAttribute description = new DescriptionAttribute(StringResources.DescriptionBrandingType); builder.AddCustomAttributes( typeof(SignInButton), "Branding", new Attribute[] { browsableAlways, categoryLive, description }); description = new DescriptionAttribute(StringResources.DescriptionClientId); builder.AddCustomAttributes( typeof(SignInButton), "ClientId", new Attribute[] { browsableAlways, categoryLive, description }); description = new DescriptionAttribute(StringResources.DescriptionRedirectUri); builder.AddCustomAttributes( typeof(SignInButton), "RedirectUri", new Attribute[] { browsableAlways, categoryLive, description }); description = new DescriptionAttribute(StringResources.DescriptionScopes); DefaultValueAttribute defaultValue = new DefaultValueAttribute("wl.signin"); builder.AddCustomAttributes( typeof(SignInButton), "Scopes", new Attribute[] { browsableAlways, categoryLive, description, defaultValue }); description = new DescriptionAttribute(StringResources.DescriptionTextType); builder.AddCustomAttributes( typeof(SignInButton), "TextType", new Attribute[] { browsableAlways, categoryLive, description }); description = new DescriptionAttribute(StringResources.DescriptionSigninText); builder.AddCustomAttributes( typeof(SignInButton), "SignInText", new Attribute[] { browsableAlways, categoryLive, description }); description = new DescriptionAttribute(StringResources.DescriptionSignoutText); builder.AddCustomAttributes( typeof(SignInButton), "SignOutText", new Attribute[] { browsableAlways, categoryLive, description }); }
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()); }
private void AddMonthViewDesigners() { var builder = new AttributeTableBuilder(); builder.AddCustomAttributes(typeof (FXMonthView), new FeatureAttribute(typeof (MonthViewDesignAdorner))); MetadataStore.AddAttributeTable(builder.CreateTable()); }
public void Register() { AttributeTableBuilder tableBuilder = new AttributeTableBuilder(); tableBuilder.AddCustomAttributes(typeof(PieChart), new FeatureAttribute(typeof(PieChartDesignModeValueProvider))); MetadataStore.AddAttributeTable(tableBuilder.CreateTable()); }
public VectorMetadata() { var builder = new AttributeTableBuilder(); builder.AddCustomAttributes(typeof (Node), "Position", PropertyValueEditor.CreateEditorAttribute(typeof (VectorEditor)), new AlternateContentPropertyAttribute() ); AttributeTable = builder.CreateTable(); }
private void AddGenerateCodeAttributes(ref AttributeTableBuilder builder) { builder.AddCustomAttributes( typeof(CanvasSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(CanvasSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(CanvasSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(CanvasSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ControlSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(ControlSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(ControlSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(ControlSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ContentControlSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(ContentControlSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(ContentControlSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(ContentControlSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(WindowSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(WindowSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(WindowSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(WindowSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(NavigationWindowSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(NavigationWindowSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(NavigationWindowSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(NavigationWindowSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(StickyNoteControlSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(StickyNoteControlSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(StickyNoteControlSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(StickyNoteControlSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ItemsControlSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(ItemsControlSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(ItemsControlSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(ItemsControlSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ContextMenuSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(ContextMenuSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(ContextMenuSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(ContextMenuSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(HeaderedItemsControlSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(HeaderedItemsControlSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(HeaderedItemsControlSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(HeaderedItemsControlSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(MenuItemSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(MenuItemSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(MenuItemSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(MenuItemSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(FlowDocumentScrollViewerSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(FlowDocumentScrollViewerSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(FlowDocumentScrollViewerSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(FlowDocumentScrollViewerSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(FlowDocumentPageViewerSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(FlowDocumentPageViewerSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(FlowDocumentPageViewerSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(FlowDocumentPageViewerSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(AccessTextSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(AccessTextSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(AccessTextSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(AccessTextSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(AdornedElementPlaceholderSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(AdornedElementPlaceholderSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(AdornedElementPlaceholderSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(AdornedElementPlaceholderSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(DecoratorSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(DecoratorSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(DecoratorSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(DecoratorSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(BorderSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(BorderSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(BorderSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(BorderSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ButtonSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(ButtonSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(ButtonSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(ButtonSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(CalendarSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(CalendarSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(CalendarSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(CalendarSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ToggleButtonSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(ToggleButtonSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(ToggleButtonSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(ToggleButtonSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(CheckBoxSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(CheckBoxSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(CheckBoxSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(CheckBoxSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ComboBoxSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(ComboBoxSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(ComboBoxSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(ComboBoxSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ListBoxItemSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(ListBoxItemSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(ListBoxItemSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(ListBoxItemSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ComboBoxItemSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(ComboBoxItemSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(ComboBoxItemSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(ComboBoxItemSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ContentPresenterSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(ContentPresenterSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(ContentPresenterSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(ContentPresenterSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(DataGridSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(DataGridSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(DataGridSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(DataGridSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(DataGridCellSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(DataGridCellSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(DataGridCellSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(DataGridCellSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(DataGridCellsPanelSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(DataGridCellsPanelSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(DataGridCellsPanelSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(DataGridCellsPanelSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(SeparatorSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(SeparatorSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(SeparatorSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(SeparatorSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(DataGridRowSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(DataGridRowSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(DataGridRowSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(DataGridRowSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(DatePickerSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(DatePickerSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(DatePickerSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(DatePickerSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(DockPanelSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(DockPanelSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(DockPanelSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(DockPanelSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(DocumentViewerSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(DocumentViewerSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(DocumentViewerSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(DocumentViewerSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(HeaderedContentControlSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(HeaderedContentControlSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(HeaderedContentControlSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(HeaderedContentControlSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ExpanderSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(ExpanderSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(ExpanderSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(ExpanderSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(FlowDocumentReaderSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(FlowDocumentReaderSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(FlowDocumentReaderSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(FlowDocumentReaderSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(FrameSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(FrameSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(FrameSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(FrameSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(GridSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(GridSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(GridSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(GridSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(GridViewColumnHeaderSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(GridViewColumnHeaderSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(GridViewColumnHeaderSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(GridViewColumnHeaderSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(GridViewHeaderRowPresenterSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(GridViewHeaderRowPresenterSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(GridViewHeaderRowPresenterSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(GridViewHeaderRowPresenterSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(GridViewRowPresenterSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(GridViewRowPresenterSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(GridViewRowPresenterSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(GridViewRowPresenterSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ThumbSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(ThumbSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(ThumbSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(ThumbSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(GridSplitterSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(GridSplitterSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(GridSplitterSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(GridSplitterSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(GroupBoxSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(GroupBoxSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(GroupBoxSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(GroupBoxSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(GroupItemSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(GroupItemSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(GroupItemSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(GroupItemSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ImageSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(ImageSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(ImageSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(ImageSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(InkCanvasSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(InkCanvasSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(InkCanvasSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(InkCanvasSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(InkCanvasSetStateToControlBehavior), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToControl)); builder.AddCustomAttributes( typeof(InkCanvasSetStateToControlBehavior), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Description)); builder.AddCustomAttributes( typeof(InkCanvasSetStateToControlBehavior), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Property_Description)); builder.AddCustomAttributes( typeof(InkCanvasSetStateToControlBehavior), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Source_Description)); builder.AddCustomAttributes( typeof(InkPresenterSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(InkPresenterSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(InkPresenterSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(InkPresenterSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ItemsPresenterSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(ItemsPresenterSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(ItemsPresenterSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(ItemsPresenterSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(LabelSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(LabelSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(LabelSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(LabelSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ListBoxSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(ListBoxSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(ListBoxSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(ListBoxSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ListViewSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(ListViewSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(ListViewSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(ListViewSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ListViewItemSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(ListViewItemSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(ListViewItemSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(ListViewItemSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(MediaElementSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(MediaElementSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(MediaElementSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(MediaElementSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(MediaElementSetStateToControlBehavior), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToControl)); builder.AddCustomAttributes( typeof(MediaElementSetStateToControlBehavior), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Description)); builder.AddCustomAttributes( typeof(MediaElementSetStateToControlBehavior), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Property_Description)); builder.AddCustomAttributes( typeof(MediaElementSetStateToControlBehavior), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Source_Description)); builder.AddCustomAttributes( typeof(MenuSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(MenuSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(MenuSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(MenuSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(PageSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(PageSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(PageSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(PageSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(PageSetStateToControlBehavior), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToControl)); builder.AddCustomAttributes( typeof(PageSetStateToControlBehavior), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Description)); builder.AddCustomAttributes( typeof(PageSetStateToControlBehavior), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Property_Description)); builder.AddCustomAttributes( typeof(PageSetStateToControlBehavior), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Source_Description)); builder.AddCustomAttributes( typeof(PasswordBoxSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(PasswordBoxSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(PasswordBoxSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(PasswordBoxSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(PasswordBoxSetStateToControlBehavior), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToControl)); builder.AddCustomAttributes( typeof(PasswordBoxSetStateToControlBehavior), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Description)); builder.AddCustomAttributes( typeof(PasswordBoxSetStateToControlBehavior), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Property_Description)); builder.AddCustomAttributes( typeof(PasswordBoxSetStateToControlBehavior), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Source_Description)); builder.AddCustomAttributes( typeof(BulletDecoratorSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(BulletDecoratorSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(BulletDecoratorSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(BulletDecoratorSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(CalendarButtonSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(CalendarButtonSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(CalendarButtonSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(CalendarButtonSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(CalendarDayButtonSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(CalendarDayButtonSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(CalendarDayButtonSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(CalendarDayButtonSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(CalendarItemSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(CalendarItemSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(CalendarItemSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(CalendarItemSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(DataGridCellsPresenterSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(DataGridCellsPresenterSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(DataGridCellsPresenterSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(DataGridCellsPresenterSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(DataGridColumnHeaderSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(DataGridColumnHeaderSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(DataGridColumnHeaderSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(DataGridColumnHeaderSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(DataGridColumnHeadersPresenterSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(DataGridColumnHeadersPresenterSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(DataGridColumnHeadersPresenterSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(DataGridColumnHeadersPresenterSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(DataGridDetailsPresenterSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(DataGridDetailsPresenterSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(DataGridDetailsPresenterSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(DataGridDetailsPresenterSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(DataGridRowHeaderSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(DataGridRowHeaderSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(DataGridRowHeaderSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(DataGridRowHeaderSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(VirtualizingStackPanelSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(VirtualizingStackPanelSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(VirtualizingStackPanelSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(VirtualizingStackPanelSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(VirtualizingStackPanelSetStateToControlBehavior), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToControl)); builder.AddCustomAttributes( typeof(VirtualizingStackPanelSetStateToControlBehavior), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Description)); builder.AddCustomAttributes( typeof(VirtualizingStackPanelSetStateToControlBehavior), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Property_Description)); builder.AddCustomAttributes( typeof(VirtualizingStackPanelSetStateToControlBehavior), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Source_Description)); builder.AddCustomAttributes( typeof(DataGridRowsPresenterSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(DataGridRowsPresenterSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(DataGridRowsPresenterSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(DataGridRowsPresenterSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(DataGridRowsPresenterSetStateToControlBehavior), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToControl)); builder.AddCustomAttributes( typeof(DataGridRowsPresenterSetStateToControlBehavior), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Description)); builder.AddCustomAttributes( typeof(DataGridRowsPresenterSetStateToControlBehavior), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Property_Description)); builder.AddCustomAttributes( typeof(DataGridRowsPresenterSetStateToControlBehavior), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Source_Description)); builder.AddCustomAttributes( typeof(TextBoxSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(TextBoxSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(TextBoxSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(TextBoxSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(TextBoxSetStateToControlBehavior), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToControl)); builder.AddCustomAttributes( typeof(TextBoxSetStateToControlBehavior), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Description)); builder.AddCustomAttributes( typeof(TextBoxSetStateToControlBehavior), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Property_Description)); builder.AddCustomAttributes( typeof(TextBoxSetStateToControlBehavior), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Source_Description)); builder.AddCustomAttributes( typeof(DatePickerTextBoxSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(DatePickerTextBoxSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(DatePickerTextBoxSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(DatePickerTextBoxSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(DatePickerTextBoxSetStateToControlBehavior), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToControl)); builder.AddCustomAttributes( typeof(DatePickerTextBoxSetStateToControlBehavior), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Description)); builder.AddCustomAttributes( typeof(DatePickerTextBoxSetStateToControlBehavior), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Property_Description)); builder.AddCustomAttributes( typeof(DatePickerTextBoxSetStateToControlBehavior), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Source_Description)); builder.AddCustomAttributes( typeof(DocumentPageViewSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(DocumentPageViewSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(DocumentPageViewSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(DocumentPageViewSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(PopupSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(PopupSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(PopupSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(PopupSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(RepeatButtonSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(RepeatButtonSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(RepeatButtonSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(RepeatButtonSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ResizeGripSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(ResizeGripSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(ResizeGripSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(ResizeGripSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(SelectiveScrollingGridSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(SelectiveScrollingGridSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(SelectiveScrollingGridSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(SelectiveScrollingGridSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ScrollBarSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(ScrollBarSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(ScrollBarSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(ScrollBarSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ScrollContentPresenterSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(ScrollContentPresenterSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(ScrollContentPresenterSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(ScrollContentPresenterSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ScrollContentPresenterSetStateToControlBehavior), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToControl)); builder.AddCustomAttributes( typeof(ScrollContentPresenterSetStateToControlBehavior), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Description)); builder.AddCustomAttributes( typeof(ScrollContentPresenterSetStateToControlBehavior), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Property_Description)); builder.AddCustomAttributes( typeof(ScrollContentPresenterSetStateToControlBehavior), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Source_Description)); builder.AddCustomAttributes( typeof(StatusBarSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(StatusBarSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(StatusBarSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(StatusBarSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(StatusBarItemSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(StatusBarItemSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(StatusBarItemSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(StatusBarItemSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(TabPanelSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(TabPanelSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(TabPanelSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(TabPanelSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(TickBarSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(TickBarSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(TickBarSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(TickBarSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ToolBarOverflowPanelSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(ToolBarOverflowPanelSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(ToolBarOverflowPanelSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(ToolBarOverflowPanelSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(StackPanelSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(StackPanelSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(StackPanelSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(StackPanelSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(StackPanelSetStateToControlBehavior), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToControl)); builder.AddCustomAttributes( typeof(StackPanelSetStateToControlBehavior), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Description)); builder.AddCustomAttributes( typeof(StackPanelSetStateToControlBehavior), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Property_Description)); builder.AddCustomAttributes( typeof(StackPanelSetStateToControlBehavior), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Source_Description)); builder.AddCustomAttributes( typeof(ToolBarPanelSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(ToolBarPanelSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(ToolBarPanelSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(ToolBarPanelSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ToolBarPanelSetStateToControlBehavior), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToControl)); builder.AddCustomAttributes( typeof(ToolBarPanelSetStateToControlBehavior), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Description)); builder.AddCustomAttributes( typeof(ToolBarPanelSetStateToControlBehavior), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Property_Description)); builder.AddCustomAttributes( typeof(ToolBarPanelSetStateToControlBehavior), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Source_Description)); builder.AddCustomAttributes( typeof(TrackSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(TrackSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(TrackSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(TrackSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(UniformGridSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(UniformGridSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(UniformGridSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(UniformGridSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ProgressBarSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(ProgressBarSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(ProgressBarSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(ProgressBarSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(RadioButtonSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(RadioButtonSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(RadioButtonSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(RadioButtonSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(RichTextBoxSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(RichTextBoxSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(RichTextBoxSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(RichTextBoxSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ScrollViewerSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(ScrollViewerSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(ScrollViewerSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(ScrollViewerSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(SliderSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(SliderSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(SliderSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(SliderSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(TabControlSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(TabControlSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(TabControlSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(TabControlSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(TabItemSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(TabItemSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(TabItemSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(TabItemSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(TextBlockSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(TextBlockSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(TextBlockSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(TextBlockSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ToolBarSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(ToolBarSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(ToolBarSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(ToolBarSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ToolBarTraySetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(ToolBarTraySetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(ToolBarTraySetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(ToolBarTraySetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ToolTipSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(ToolTipSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(ToolTipSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(ToolTipSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(TreeViewSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(TreeViewSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(TreeViewSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(TreeViewSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(TreeViewItemSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(TreeViewItemSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(TreeViewItemSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(TreeViewItemSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(UserControlSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(UserControlSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(UserControlSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(UserControlSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ViewboxSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(ViewboxSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(ViewboxSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(ViewboxSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(Viewport3DSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(Viewport3DSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(Viewport3DSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(Viewport3DSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(ActiveXHostSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(ActiveXHostSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(ActiveXHostSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(ActiveXHostSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(WebBrowserSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(WebBrowserSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(WebBrowserSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(WebBrowserSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(WebBrowserSetStateToControlBehavior), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToControl)); builder.AddCustomAttributes( typeof(WebBrowserSetStateToControlBehavior), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Description)); builder.AddCustomAttributes( typeof(WebBrowserSetStateToControlBehavior), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Property_Description)); builder.AddCustomAttributes( typeof(WebBrowserSetStateToControlBehavior), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToControl_Source_Description)); builder.AddCustomAttributes( typeof(WrapPanelSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(WrapPanelSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(WrapPanelSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(WrapPanelSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(AdornerDecoratorSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(AdornerDecoratorSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(AdornerDecoratorSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(AdornerDecoratorSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(AdornerLayerSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(AdornerLayerSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(AdornerLayerSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(AdornerLayerSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(DocumentReferenceSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(DocumentReferenceSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(DocumentReferenceSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(DocumentReferenceSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(FixedPageSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(FixedPageSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(FixedPageSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(FixedPageSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(GlyphsSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(GlyphsSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(GlyphsSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(GlyphsSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(PageContentSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(PageContentSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(PageContentSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(PageContentSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(EllipseSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(EllipseSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(EllipseSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(EllipseSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(LineSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(LineSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(LineSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(LineSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(PathSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(PathSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(PathSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(PathSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(PolygonSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(PolygonSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(PolygonSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(PolygonSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(PolylineSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(PolylineSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(PolylineSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(PolylineSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); builder.AddCustomAttributes( typeof(RectangleSetStateToSourceAction), new ToolboxCategoryAttribute(Resources.ToolBoxCategory_ControlBindingSupport_OneWayToSource)); builder.AddCustomAttributes( typeof(RectangleSetStateToSourceAction), new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Description)); builder.AddCustomAttributes( typeof(RectangleSetStateToSourceAction), "Property", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Property_Description)); builder.AddCustomAttributes( typeof(RectangleSetStateToSourceAction), "Source", new DescriptionAttribute(Resources.ControlBindingSupport_OneWayToSource_Source_Description)); }
private static void AddPropertyAttributes(AttributeTableBuilder builder) { /// SerialChart builder.AddCustomAttributes(typeof(SerialChart), "Graphs", new CategoryAttribute("Graphs")); builder.AddCustomAttributes(typeof(SerialChart), "DataSource", new CategoryAttribute("Data")); builder.AddCustomAttributes(typeof(SerialChart), "CategoryValuePath", new CategoryAttribute("Data")); builder.AddCustomAttributes(typeof(SerialChart), "ValueFormatString", new CategoryAttribute("Data")); builder.AddCustomAttributes(typeof(SerialChart), "PresetBrushes", new CategoryAttribute("Brushes")); builder.AddCustomAttributes(typeof(SerialChart), "PlotAreaBackground", new CategoryAttribute("Brushes")); builder.AddCustomAttributes(typeof(SerialChart), "AxisForeground", new CategoryAttribute("Brushes")); builder.AddCustomAttributes(typeof(SerialChart), "MinimumValueGridStep", new CategoryAttribute("Grid")); builder.AddCustomAttributes(typeof(SerialChart), "MinimumCategoryGridStep", new CategoryAttribute("Grid")); builder.AddCustomAttributes(typeof(SerialChart), "LegendVisibility", new CategoryAttribute("Appearance")); /// SerialGraph builder.AddCustomAttributes(typeof(SerialGraph), "ValueMemberPath", new CategoryAttribute("Data")); builder.AddCustomAttributes(typeof(SerialGraph), "Title", new CategoryAttribute("Data")); builder.AddCustomAttributes(typeof(SerialGraph), "Brush", new CategoryAttribute("Brushes")); /// LineGraph builder.AddCustomAttributes(typeof(LineGraph), "StrokeThickness", new CategoryAttribute("Appearance")); /// ColumnGraph builder.AddCustomAttributes(typeof(ColumnGraph), "ColumnWidthAllocation", new CategoryAttribute("Appearance")); /// Pie Chart builder.AddCustomAttributes(typeof(PieChart), "DataSource", new CategoryAttribute("Data")); builder.AddCustomAttributes(typeof(PieChart), "TitleMemberPath", new CategoryAttribute("Data")); builder.AddCustomAttributes(typeof(PieChart), "ValueMemberPath", new CategoryAttribute("Data")); builder.AddCustomAttributes(typeof(PieChart), "LegendVisibility", new CategoryAttribute("Appearance")); }
private static void AddToolboxBrowsableFalseAttributes(AttributeTableBuilder builder) { builder.AddCustomAttributes( typeof(SerialGraph), new ToolboxBrowsableAttribute(false) ); builder.AddCustomAttributes( typeof(LineGraph), new ToolboxBrowsableAttribute(false) ); builder.AddCustomAttributes( typeof(ColumnGraph), new ToolboxBrowsableAttribute(false) ); builder.AddCustomAttributes( typeof(AreaGraph), new ToolboxBrowsableAttribute(false) ); builder.AddCustomAttributes( typeof(CategoryAxis), new ToolboxBrowsableAttribute(false) ); builder.AddCustomAttributes( typeof(ValueAxis), new ToolboxBrowsableAttribute(false) ); builder.AddCustomAttributes( typeof(ValueGrid), new ToolboxBrowsableAttribute(false) ); builder.AddCustomAttributes( typeof(Indicator), new ToolboxBrowsableAttribute(false) ); builder.AddCustomAttributes( typeof(Legend), new ToolboxBrowsableAttribute(false) ); builder.AddCustomAttributes( typeof(Slice), new ToolboxBrowsableAttribute(false) ); builder.AddCustomAttributes( typeof(Balloon), new ToolboxBrowsableAttribute(false) ); }
private static void AddDefaultPropertyAttributes(AttributeTableBuilder builder) { #if !SILVERLIGHT builder.AddCustomAttributes( typeof(SerialChart), new DefaultPropertyAttribute("Graphs") ); builder.AddCustomAttributes( typeof(SerialGraph), new DefaultPropertyAttribute("ValueMemberPath") ); #endif }
private static void AddNewItemTypesAttributes(AttributeTableBuilder builder) { builder.AddCustomAttributes(typeof(SerialChart), "Graphs", new NewItemTypesAttribute( typeof(LineGraph), typeof(AreaGraph), typeof(ColumnGraph))); builder.AddCustomAttributes(typeof(SerialChart), "PresetBrushes", new NewItemTypesAttribute(typeof(System.Windows.Media.SolidColorBrush), typeof(System.Windows.Media.LinearGradientBrush), typeof(System.Windows.Media.RadialGradientBrush), typeof(System.Windows.Media.ImageBrush))); builder.AddCustomAttributes(typeof(PieChart), "Brushes", new NewItemTypesAttribute(typeof(System.Windows.Media.SolidColorBrush), typeof(System.Windows.Media.LinearGradientBrush), typeof(System.Windows.Media.RadialGradientBrush), typeof(System.Windows.Media.ImageBrush))); }
void RegisterMetadata() { AttributeTableBuilder builder = new AttributeTableBuilder(); // Register Designers. builder.AddCustomAttributes(typeof(Sequence), new DesignerAttribute(typeof(SequenceDesigner))); // Apply the metadata MetadataStore.AddAttributeTable(builder.CreateTable()); }
/// <summary> /// Provide a place to add custom attributes without creating a AttributeTableBuilder subclass. /// </summary> /// <param name="builder">The assembly attribute table builder.</param> protected override void AddAttributes(AttributeTableBuilder builder) { builder.AddCustomAttributes(typeof(SSWC.Frame), Extensions.GetMemberName<SSWC.Frame>(x => x.UriMapper), new CategoryAttribute(Properties.Resources.CommonProperties)); builder.AddCustomAttributes(typeof(SSWC.Frame), Extensions.GetMemberName<SSWC.Frame>(x => x.UriMapper), new EditorBrowsableAttribute(EditorBrowsableState.Advanced)); builder.AddCustomAttributes(typeof(SSWC.Frame), Extensions.GetMemberName<SSWC.Frame>(x => x.UriMapper), new TypeConverterAttribute(typeof(ExpandableObjectConverter))); }
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()); }
/// <summary> /// Provide a place to add custom attributes without creating a AttributeTableBuilder subclass. /// </summary> /// <param name="builder">The assembly attribute table builder.</param> protected virtual void AddAttributes(AttributeTableBuilder builder) { // Allow FilterDescriptor.IgnoredValue to be edited as a string builder.AddCustomAttributes(typeof(FilterDescriptor), "IgnoredValue", new TypeConverterAttribute(typeof(StringConverter))); // Allow FilterDescriptor.Value to be edited as a string builder.AddCustomAttributes(typeof(FilterDescriptor), "Value", new TypeConverterAttribute(typeof(StringConverter))); // Allow Parameter.Value (for QueryParameters) to be edited as a string builder.AddCustomAttributes(typeof(Parameter), "Value", new TypeConverterAttribute(typeof(StringConverter))); }