Beispiel #1
0
        protected void AddTitleBarQuickVariableInputToggle()
        {
            var toggle = ActivityDesignerToggle.Create("pack://application:,,,/Dev2.Activities.Designers;component/Images/ServiceQuickVariableInput-32.png", "Close Quick Variable Input", "pack://application:,,,/Dev2.Activities.Designers;component/Images/ServiceQuickVariableInput-32.png", "Open Quick Variable Input", "QuickVariableInputToggle", this, ShowQuickVariableInputProperty
                                                       );

            TitleBarToggles.Add(toggle);
        }
        protected void AddTitleBarHelpToggle()
        {
            var toggle = ActivityDesignerToggle.Create("pack://application:,,,/Dev2.Activities.Designers;component/Images/ServiceHelp-32.png", "Close Help", "pack://application:,,,/Dev2.Activities.Designers;component/Images/ServiceHelp-32.png", "Open Help", "HelpToggle", this, ShowHelpProperty
                                                       );

            TitleBarToggles.Add(toggle);
        }
        protected void AddTitleBarQuickVariableInputToggle()
        {
            var toggle = ActivityDesignerToggle.Create("ServiceQuickVariableInput", "Close Quick Variable Input", "ServiceQuickVariableInput", "Open Quick Variable Input", "QuickVariableInputToggle", this, ShowQuickVariableInputProperty
                                                       );

            TitleBarToggles.Add(toggle);
        }
Beispiel #4
0
        void AddTitleBarEditToggle()
        {
            // ReSharper disable RedundantArgumentName
            var toggle = ActivityDesignerToggle.Create("ServicePropertyEdit", "Edit", "ServicePropertyEdit", "Edit", "ShowParentToggle",
                                                       autoReset: true,
                                                       target: this,
                                                       dp: ShowParentProperty
                                                       );

            // ReSharper restore RedundantArgumentName
            TitleBarToggles.Add(toggle);
        }
Beispiel #5
0
        void AddTitleBarEditToggle()
        {
            // ReSharper disable RedundantArgumentName
            var toggle = ActivityDesignerToggle.Create("pack://application:,,,/Dev2.Activities.Designers;component/Images/ServicePropertyEdit-32.png", "Edit", "pack://application:,,,/Dev2.Activities.Designers;component/Images/ServicePropertyEdit-32.png", "Edit", "ShowParentToggle",
                                                       autoReset: true,
                                                       target: this,
                                                       dp: ShowParentProperty
                                                       );

            // ReSharper restore RedundantArgumentName
            TitleBarToggles.Add(toggle);
        }