public Form1()
        {
            InitializeComponent();

            this.SetEnabledQsfbButton(QSFButtons.TransparentBackground | QSFButtons.ChangeTheme, false);

            this.view        = new Telerik.WinControls.UI.RadPageView();
            this.view.Size   = new Size(400, 300);
            this.view.Anchor = AnchorStyles.None;
            this.view.Parent = this;
            this.strip       = this.view.ViewElement as RadPageViewStripElement;
            this.view.SelectedPageChanged += new EventHandler(view_SelectedPageChanged);
            this.view.ThemeName            = themeName;

            PageViewLabels.currIndex = 0;

            for (int i = 0; i < 10; i++)
            {
                RadPageViewPage page = new RadPageViewPage();
                page.Text  = PageViewImages.Names[i];
                page.Image = PageViewImages.Images[i];
                page.Controls.Add(PageViewLabels.CreateLabel());

                this.view.Pages.Add(page);
            }

            this.strip.StripButtons           = StripViewButtons.Scroll | StripViewButtons.ItemList;
            this.enableAnimationCheck.Checked = strip.AnimatedStripScrolling;
        }
        protected override void DisposeManagedResources()
        {
            this.itemListMenu.DropDownClosed -= OnItemListMenu_DropDownClosed;
            this.itemListMenu.Dispose();
            this.items.Clear();
            this.selectedItem = null;
            this.owner        = null;

            base.DisposeManagedResources();
        }
 private void UpdateTheme(ControlCollection controls)
 {
     foreach (Control currentControl in controls)
     {
         RadControl current = currentControl as RadControl;
         if (current != null)
         {
             current.ThemeName = this.gridView.ThemeName;
             Telerik.WinControls.UI.RadPageView pageView = current as Telerik.WinControls.UI.RadPageView;
             if (pageView != null)
             {
                 foreach (RadPageViewPage page in pageView.Pages)
                 {
                     this.UpdateTheme(page.Controls);
                 }
             }
         }
     }
 }
 protected override RadElement CreateMainElement()
 {
     this.calendar   = new RadCalendar();
     this.timePicker = new RadTimePickerContent();
     this.timePicker.TimePickerElement.TimeTables   = TimeTables.HoursAndMinutesInOneTable;
     this.timePicker.TimePickerElement.Step         = 30;
     this.timePicker.TimePickerElement.ColumnsCount = 6;
     this.pageView = new RadPageView();
     ((RadPageViewStripElement)this.pageView.ViewElement).ItemFitMode  = StripViewItemFitMode.Fill;
     ((RadPageViewStripElement)this.pageView.ViewElement).StripButtons = StripViewButtons.None;
     this.pageView.Pages.Add(new RadPageViewPage("Date"));
     this.pageView.Pages.Add(new RadPageViewPage("Time"));
     this.pageView.Pages[0].Item.TextAlignment = ContentAlignment.MiddleCenter;
     this.pageView.Pages[1].Item.TextAlignment = ContentAlignment.MiddleCenter;
     this.pageView.Pages[0].Controls.Add((Control)this.calendar);
     this.pageView.Pages[1].Controls.Add((Control)this.timePicker);
     this.calendar.Dock   = DockStyle.Fill;
     this.timePicker.Dock = DockStyle.Fill;
     return((RadElement) new RadHostItem((Control)this.pageView));
 }
Exemple #5
0
 protected internal virtual void Detach()
 {
     this.owner = null;
 }
Exemple #6
0
 protected internal virtual void Attach(RadPageView view)
 {
     this.owner = view;
 }
Exemple #7
0
 public RadPageViewAccessibilityObject(RadPageView owner)
     : base(owner)
 {
     this.ownerPageView = owner;
     this.ownerPageView.SelectedPageChanged += new EventHandler(owner_SelectedPageChanged);
 }
Exemple #8
0
 private void InitializeComponent()
 {
     this.radPageView           = new RadPageView();
     this.toolstripsPage        = new RadPageViewPage();
     this.stripsListControl     = new RadListControl();
     this.toolstripItemsPage    = new RadPageViewPage();
     this.resetItemsButton      = new RadButton();
     this.chooseToolstripLabel  = new RadLabel();
     this.moveDownButton        = new RadButton();
     this.moveUpButton          = new RadButton();
     this.stripItemsListControl = new RadListControl();
     this.stripsDropDownList    = new RadDropDownList();
     this.closeButton           = new RadButton();
     this.radPageView.BeginInit();
     this.radPageView.SuspendLayout();
     this.toolstripsPage.SuspendLayout();
     this.stripsListControl.BeginInit();
     this.toolstripItemsPage.SuspendLayout();
     this.resetItemsButton.BeginInit();
     this.chooseToolstripLabel.BeginInit();
     this.moveDownButton.BeginInit();
     this.moveUpButton.BeginInit();
     this.stripItemsListControl.BeginInit();
     this.stripsDropDownList.BeginInit();
     this.closeButton.BeginInit();
     this.BeginInit();
     this.SuspendLayout();
     this.radPageView.Controls.Add((Control)this.toolstripsPage);
     this.radPageView.Controls.Add((Control)this.toolstripItemsPage);
     this.radPageView.Location     = new Point(0, 0);
     this.radPageView.Name         = "radPageView";
     this.radPageView.SelectedPage = this.toolstripItemsPage;
     this.radPageView.Size         = new Size(399, 352);
     this.radPageView.TabIndex     = 0;
     this.radPageView.Text         = "f";
     this.toolstripsPage.Controls.Add((Control)this.stripsListControl);
     this.toolstripsPage.Location    = new Point(10, 37);
     this.toolstripsPage.Name        = "toolstripsPage";
     this.toolstripsPage.Size        = new Size(378, 304);
     this.toolstripsPage.Text        = "Toolstrips";
     this.stripsListControl.Location = new Point(3, 3);
     this.stripsListControl.Name     = "stripsListControl";
     this.stripsListControl.Size     = new Size(372, 298);
     this.stripsListControl.TabIndex = 0;
     this.stripsListControl.Text     = "radListControl1";
     this.toolstripItemsPage.Controls.Add((Control)this.resetItemsButton);
     this.toolstripItemsPage.Controls.Add((Control)this.chooseToolstripLabel);
     this.toolstripItemsPage.Controls.Add((Control)this.moveDownButton);
     this.toolstripItemsPage.Controls.Add((Control)this.moveUpButton);
     this.toolstripItemsPage.Controls.Add((Control)this.stripItemsListControl);
     this.toolstripItemsPage.Controls.Add((Control)this.stripsDropDownList);
     this.toolstripItemsPage.Location    = new Point(10, 37);
     this.toolstripItemsPage.Name        = "toolstripItemsPage";
     this.toolstripItemsPage.Size        = new Size(378, 304);
     this.toolstripItemsPage.Text        = "Toolstrip Items";
     this.resetItemsButton.Location      = new Point(285, 115);
     this.resetItemsButton.Name          = "resetItemsButton";
     this.resetItemsButton.Size          = new Size(91, 24);
     this.resetItemsButton.TabIndex      = 8;
     this.resetItemsButton.Text          = "Reset";
     this.resetItemsButton.Visible       = false;
     this.chooseToolstripLabel.BackColor = Color.Transparent;
     this.chooseToolstripLabel.Location  = new Point(1, 3);
     this.chooseToolstripLabel.Name      = "chooseToolstripLabel";
     this.chooseToolstripLabel.Size      = new Size(165, 18);
     this.chooseToolstripLabel.TabIndex  = 7;
     this.chooseToolstripLabel.Text      = "Choose a toolstrip to rearrange:";
     this.moveDownButton.Location        = new Point(285, 85);
     this.moveDownButton.Name            = "moveDownButton";
     this.moveDownButton.Size            = new Size(90, 24);
     this.moveDownButton.TabIndex        = 6;
     this.moveDownButton.Text            = "Move Down";
     this.moveDownButton.Click          += new EventHandler(this.moveDownButton_Click);
     this.moveUpButton.Location          = new Point(286, 55);
     this.moveUpButton.Name                        = "moveUpButton";
     this.moveUpButton.Size                        = new Size(89, 24);
     this.moveUpButton.TabIndex                    = 5;
     this.moveUpButton.Text                        = "Move Up";
     this.moveUpButton.Click                      += new EventHandler(this.moveUpButton_Click);
     this.stripItemsListControl.Location           = new Point(3, 55);
     this.stripItemsListControl.Name               = "stripItemsListControl";
     this.stripItemsListControl.Size               = new Size(277, 246);
     this.stripItemsListControl.TabIndex           = 1;
     this.stripItemsListControl.Text               = "radListControl1";
     this.stripsDropDownList.Location              = new Point(3, 27);
     this.stripsDropDownList.Name                  = "stripsDropDownList";
     this.stripsDropDownList.Size                  = new Size(372, 20);
     this.stripsDropDownList.TabIndex              = 0;
     this.stripsDropDownList.SelectedValueChanged += new EventHandler(this.toolstripsDownList_SelectedValueChanged);
     this.closeButton.Location                     = new Point(299, 358);
     this.closeButton.Name     = "closeButton";
     this.closeButton.Size     = new Size(93, 24);
     this.closeButton.TabIndex = 2;
     this.closeButton.Text     = "Close";
     this.AutoScaleDimensions  = new SizeF(6f, 13f);
     this.AutoScaleMode        = AutoScaleMode.None;
     this.ClientSize           = new Size(407, 390);
     this.Controls.Add((Control)this.closeButton);
     this.Controls.Add((Control)this.radPageView);
     this.Name = nameof(CommandBarCustomizeDialog);
     this.RootElement.ApplyShapeToControl = true;
     this.StartPosition   = FormStartPosition.CenterScreen;
     this.FormBorderStyle = FormBorderStyle.FixedToolWindow;
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.Text            = "Customize";
     this.radPageView.EndInit();
     this.radPageView.ResumeLayout(false);
     this.toolstripsPage.ResumeLayout(false);
     this.stripsListControl.EndInit();
     this.toolstripItemsPage.ResumeLayout(false);
     this.toolstripItemsPage.PerformLayout();
     this.resetItemsButton.EndInit();
     this.chooseToolstripLabel.EndInit();
     this.moveDownButton.EndInit();
     this.moveUpButton.EndInit();
     this.stripItemsListControl.EndInit();
     this.stripsDropDownList.EndInit();
     this.closeButton.EndInit();
     this.EndInit();
     this.ResumeLayout(false);
 }
 private void InitializeComponent()
 {
     this.panel1            = new Panel();
     this.btnSaveLayout     = new RadButton();
     this.btnLoadLayout     = new RadButton();
     this.itemsListView     = new RadListView();
     this.radPageView1      = new RadPageView();
     this.radPageViewPage1  = new RadPageViewPage();
     this.radPageViewPage2  = new RadPageViewPage();
     this.structureTreeView = new RadTreeView();
     this.btnSaveLayout.BeginInit();
     this.btnLoadLayout.BeginInit();
     this.itemsListView.BeginInit();
     this.radPageView1.BeginInit();
     this.panel1.SuspendLayout();
     this.radPageView1.SuspendLayout();
     this.radPageViewPage1.SuspendLayout();
     this.radPageViewPage2.SuspendLayout();
     this.structureTreeView.BeginInit();
     this.BeginInit();
     this.SuspendLayout();
     this.btnSaveLayout.Location = new Point(7, 12);
     this.btnSaveLayout.Name     = "btnSaveLayout";
     this.btnSaveLayout.Size     = new Size(24, 24);
     this.btnSaveLayout.TabIndex = 0;
     this.btnSaveLayout.Click   += new EventHandler(this.OnSaveLayoutButtonClick);
     this.btnLoadLayout.Location = new Point(34, 12);
     this.btnLoadLayout.Name     = "btnLoadLayout";
     this.btnLoadLayout.Size     = new Size(24, 24);
     this.btnLoadLayout.TabIndex = 0;
     this.btnLoadLayout.Click   += new EventHandler(this.OnLoadLayoutButtonClick);
     this.panel1.Controls.Add((Control)this.btnSaveLayout);
     this.panel1.Controls.Add((Control)this.btnLoadLayout);
     this.panel1.Dock                        = DockStyle.Top;
     this.panel1.Location                    = new Point(0, 0);
     this.panel1.Margin                      = new Padding(3);
     this.panel1.Name                        = "panel1";
     this.panel1.Size                        = new Size(150, 50);
     this.panel1.TabIndex                    = 0;
     this.itemsListView.AllowDragDrop        = true;
     this.itemsListView.AllowEdit            = false;
     this.itemsListView.AllowRemove          = false;
     this.itemsListView.Dock                 = DockStyle.Fill;
     this.itemsListView.EnableCustomGrouping = true;
     this.itemsListView.Location             = new Point(0, 0);
     this.itemsListView.Name                 = "itemsListView";
     this.itemsListView.ShowGroups           = true;
     this.itemsListView.Size                 = new Size(250, 277);
     this.itemsListView.TabIndex             = 0;
     this.itemsListView.Text                 = "radListView1";
     this.radPageView1.Controls.Add((Control)this.radPageViewPage1);
     this.radPageView1.Controls.Add((Control)this.radPageViewPage2);
     this.radPageView1.DefaultPage  = this.radPageViewPage1;
     this.radPageView1.Dock         = DockStyle.Fill;
     this.radPageView1.Location     = new Point(0, 45);
     this.radPageView1.Name         = "radPageView1";
     this.radPageView1.SelectedPage = this.radPageViewPage1;
     this.radPageView1.Size         = new Size(271, 325);
     this.radPageView1.TabIndex     = 2;
     this.radPageView1.Text         = "radPageView1";
     ((RadPageViewStripElement)this.radPageView1.GetChildAt(0)).StripButtons = StripViewButtons.None;
     this.radPageViewPage1.Controls.Add((Control)this.itemsListView);
     this.radPageViewPage1.ItemSize = new SizeF(44f, 28f);
     this.radPageViewPage1.Location = new Point(10, 37);
     this.radPageViewPage1.Name     = "radPageViewPage1";
     this.radPageViewPage1.Size     = new Size(250, 277);
     this.radPageViewPage1.Text     = "Items";
     this.radPageViewPage2.Controls.Add((Control)this.structureTreeView);
     this.radPageViewPage2.ItemSize              = new SizeF(62f, 28f);
     this.radPageViewPage2.Location              = new Point(10, 37);
     this.radPageViewPage2.Name                  = "radPageViewPage2";
     this.radPageViewPage2.Size                  = new Size(362, 282);
     this.radPageViewPage2.Text                  = "Structure";
     this.structureTreeView.AllowEdit            = true;
     this.structureTreeView.AllowRemove          = true;
     this.structureTreeView.Dock                 = DockStyle.Fill;
     this.structureTreeView.Location             = new Point(0, 0);
     this.structureTreeView.Name                 = "structureTreeView";
     this.structureTreeView.Size                 = new Size(362, 282);
     this.structureTreeView.SpacingBetweenNodes  = -1;
     this.structureTreeView.TabIndex             = 0;
     this.structureTreeView.Text                 = "radTreeView1";
     this.structureTreeView.Edited              += new TreeNodeEditedEventHandler(this.OnStructureTreeNodeEdited);
     this.structureTreeView.SelectedNodeChanged += new RadTreeView.RadTreeViewEventHandler(this.OnStructureTreeViewSelectedNodeChanged);
     this.structureTreeView.MouseDown           += new MouseEventHandler(this.OnStructureTreeViewMouseDown);
     this.structureTreeView.MouseMove           += new MouseEventHandler(this.OnStructureTreeViewMouseMove);
     this.structureTreeView.NodeRemoving        += new RadTreeView.RadTreeViewCancelEventHandler(this.OnStructureTreeViewNodeRemoving);
     this.AutoScaleDimensions = new SizeF(6f, 13f);
     this.AutoScaleMode       = AutoScaleMode.None;
     this.ClientSize          = new Size(267, 360);
     this.Controls.Add((Control)this.radPageView1);
     this.Controls.Add((Control)this.panel1);
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name        = nameof(RadLayoutControlCustomizeDialog);
     this.RootElement.ApplyShapeToControl = true;
     this.ShowInTaskbar = false;
     this.StartPosition = FormStartPosition.Manual;
     this.Text          = "Customize";
     this.TopMost       = true;
     this.btnSaveLayout.EndInit();
     this.btnLoadLayout.EndInit();
     this.itemsListView.EndInit();
     this.radPageView1.EndInit();
     this.radPageView1.ResumeLayout(false);
     this.radPageViewPage1.ResumeLayout(false);
     this.radPageViewPage2.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.structureTreeView.EndInit();
     this.EndInit();
     this.ResumeLayout(false);
 }
Exemple #10
0
 public RadPageViewControlCollection(RadPageView owner)
     : base(owner)
 {
     this.owner = owner;
 }
 public RadPageViewPageCollection(RadPageView owner)
 {
     this.Owner    = owner;
     this.controls = owner.Controls as RadPageViewControlCollection;
 }
 private void InitializeComponent()
 {
     this.newLabel                  = new RadLabel();
     this.labelOldColor             = new RadLabel();
     this.panel1                    = new Panel();
     this.labelColor                = new TransparentColorBox();
     this.hexHeadingLabel           = new RadLabel();
     this.currentLabel              = new RadLabel();
     this.customColors              = new Telerik.WinControls.UI.RadColorPicker.CustomColors();
     this.textBoxColor              = new RadTextBox();
     this.btnAddNewColor            = new RadButton();
     this.radPageView1              = new RadPageView();
     this.radPageViewPage1          = new RadPageViewPage();
     this.discreteColorHexagon      = new DiscreteColorHexagon();
     this.radPageViewPage2          = new RadPageViewPage();
     this.listBox1                  = new ColorListBox();
     this.radPageViewPage3          = new RadPageViewPage();
     this.listBox2                  = new ColorListBox();
     this.radPageViewPage4          = new RadPageViewPage();
     this.professionalColorsControl = new Telerik.WinControls.UI.RadColorPicker.ProfessionalColors();
     this.radButton3                = new RadButton();
     this.btnScreenColorPick        = new RadButton();
     this.radButton1                = new RadButton();
     this.captureBox                = new CaptureBox();
     this.newLabel.BeginInit();
     this.labelOldColor.BeginInit();
     this.panel1.SuspendLayout();
     this.labelColor.BeginInit();
     this.hexHeadingLabel.BeginInit();
     this.currentLabel.BeginInit();
     this.textBoxColor.BeginInit();
     this.btnAddNewColor.BeginInit();
     this.radPageView1.BeginInit();
     this.radPageView1.SuspendLayout();
     this.radPageViewPage1.SuspendLayout();
     this.radPageViewPage2.SuspendLayout();
     this.listBox1.BeginInit();
     this.radPageViewPage3.SuspendLayout();
     this.listBox2.BeginInit();
     this.radPageViewPage4.SuspendLayout();
     this.radButton3.BeginInit();
     this.btnScreenColorPick.BeginInit();
     this.radButton1.BeginInit();
     this.SuspendLayout();
     this.newLabel.Anchor         = AnchorStyles.Top | AnchorStyles.Right;
     this.newLabel.Location       = new Point(445, 45);
     this.newLabel.Name           = "newLabel";
     this.newLabel.Size           = new Size(29, 18);
     this.newLabel.TabIndex       = 4;
     this.newLabel.Text           = "New";
     this.labelOldColor.Anchor    = AnchorStyles.None;
     this.labelOldColor.BackColor = Color.LightGray;
     this.labelOldColor.Location  = new Point(-6, 25);
     this.labelOldColor.Name      = "labelOldColor";
     this.labelOldColor.Size      = new Size(2, 2);
     this.labelOldColor.TabIndex  = 5;
     this.panel1.Anchor           = AnchorStyles.Top | AnchorStyles.Right;
     this.panel1.BorderStyle      = BorderStyle.FixedSingle;
     this.panel1.Controls.Add((Control)this.labelOldColor);
     this.panel1.Controls.Add((Control)this.labelColor);
     this.panel1.Location                       = new Point(448, 62);
     this.panel1.Name                           = "panel1";
     this.panel1.Size                           = new Size(57, 50);
     this.panel1.TabIndex                       = 7;
     this.labelColor.Anchor                     = AnchorStyles.None;
     this.labelColor.Location                   = new Point(-6, 0);
     this.labelColor.Name                       = "labelColor";
     this.labelColor.Size                       = new Size(67, 25);
     this.labelColor.TabIndex                   = 0;
     this.hexHeadingLabel.Anchor                = AnchorStyles.Top | AnchorStyles.Right;
     this.hexHeadingLabel.Location              = new Point(437, 142);
     this.hexHeadingLabel.Name                  = "hexHeadingLabel";
     this.hexHeadingLabel.Size                  = new Size(13, 18);
     this.hexHeadingLabel.TabIndex              = 19;
     this.hexHeadingLabel.Text                  = "#";
     this.currentLabel.Anchor                   = AnchorStyles.Top | AnchorStyles.Right;
     this.currentLabel.Location                 = new Point(442, 122);
     this.currentLabel.Name                     = "currentLabel";
     this.currentLabel.Size                     = new Size(44, 18);
     this.currentLabel.TabIndex                 = 27;
     this.currentLabel.Text                     = "Current";
     this.customColors.Anchor                   = AnchorStyles.Bottom | AnchorStyles.Left;
     this.customColors.BackColor                = Color.Transparent;
     this.customColors.Location                 = new Point(3, 301);
     this.customColors.Name                     = "customColors";
     this.customColors.Padding                  = new Padding(5);
     this.customColors.SaveCustomColors         = true;
     this.customColors.SelectedColorIndex       = -1;
     this.customColors.Size                     = new Size(290, 32);
     this.customColors.TabIndex                 = 29;
     this.textBoxColor.Anchor                   = AnchorStyles.Top | AnchorStyles.Right;
     this.textBoxColor.Location                 = new Point(448, 138);
     this.textBoxColor.Name                     = "textBoxColor";
     this.textBoxColor.Padding                  = new Padding(2, 2, 2, 3);
     this.textBoxColor.RootElement.AutoSizeMode = RadAutoSizeMode.WrapAroundChildren;
     this.textBoxColor.Size                     = new Size(57, 22);
     this.textBoxColor.TabIndex                 = 28;
     this.textBoxColor.TabStop                  = false;
     this.textBoxColor.TextChanged             += new EventHandler(this.textBoxColor_TextChanged);
     this.btnAddNewColor.Anchor                 = AnchorStyles.Bottom | AnchorStyles.Left;
     this.btnAddNewColor.Location               = new Point(3, 333);
     this.btnAddNewColor.Name                   = "btnAddNewColor";
     this.btnAddNewColor.Size                   = new Size(111, 23);
     this.btnAddNewColor.TabIndex               = 26;
     this.btnAddNewColor.Text                   = "Add Custom Color";
     this.btnAddNewColor.Click                 += new EventHandler(this.radButton4_Click);
     this.radPageView1.Anchor                   = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
     this.radPageView1.Controls.Add((Control)this.radPageViewPage1);
     this.radPageView1.Controls.Add((Control)this.radPageViewPage2);
     this.radPageView1.Controls.Add((Control)this.radPageViewPage3);
     this.radPageView1.Controls.Add((Control)this.radPageViewPage4);
     this.radPageView1.Location     = new Point(0, 0);
     this.radPageView1.Name         = "radPageView1";
     this.radPageView1.SelectedPage = this.radPageViewPage4;
     this.radPageView1.Size         = new Size(433, 300);
     this.radPageView1.TabIndex     = 24;
     this.radPageViewPage1.Controls.Add((Control)this.discreteColorHexagon);
     this.radPageViewPage1.ItemSize     = new SizeF(41f, 28f);
     this.radPageViewPage1.Location     = new Point(10, 37);
     this.radPageViewPage1.Name         = "radPageViewPage1";
     this.radPageViewPage1.Size         = new Size(412, 252);
     this.radPageViewPage1.Text         = "Basic";
     this.discreteColorHexagon.Dock     = DockStyle.Fill;
     this.discreteColorHexagon.Location = new Point(0, 0);
     this.discreteColorHexagon.Name     = "discreteColorHexagon";
     this.discreteColorHexagon.Size     = new Size(412, 252);
     this.discreteColorHexagon.TabIndex = 0;
     this.radPageViewPage2.Controls.Add((Control)this.listBox1);
     this.radPageViewPage2.ItemSize = new SizeF(52f, 28f);
     this.radPageViewPage2.Location = new Point(10, 37);
     this.radPageViewPage2.Name     = "radPageViewPage2";
     this.radPageViewPage2.Size     = new Size(412, 252);
     this.radPageViewPage2.Text     = "System";
     this.listBox1.Dock             = DockStyle.Fill;
     this.listBox1.EnableAnalytics  = false;
     this.listBox1.ItemHeight       = 24;
     this.listBox1.Location         = new Point(0, 0);
     this.listBox1.Name             = "listBox1";
     this.listBox1.Size             = new Size(412, 252);
     this.listBox1.TabIndex         = 0;
     this.radPageViewPage3.Controls.Add((Control)this.listBox2);
     this.radPageViewPage3.ItemSize = new SizeF(39f, 28f);
     this.radPageViewPage3.Location = new Point(10, 37);
     this.radPageViewPage3.Name     = "radPageViewPage3";
     this.radPageViewPage3.Size     = new Size(412, 252);
     this.radPageViewPage3.Text     = "Web";
     this.listBox2.Dock             = DockStyle.Fill;
     this.listBox2.EnableAnalytics  = false;
     this.listBox2.ItemHeight       = 24;
     this.listBox2.Location         = new Point(0, 0);
     this.listBox2.Name             = "listBox2";
     this.listBox2.Size             = new Size(412, 252);
     this.listBox2.TabIndex         = 1;
     this.radPageViewPage4.Controls.Add((Control)this.professionalColorsControl);
     this.radPageViewPage4.ItemSize          = new SizeF(76f, 28f);
     this.radPageViewPage4.Location          = new Point(10, 37);
     this.radPageViewPage4.Name              = "radPageViewPage4";
     this.radPageViewPage4.Size              = new Size(412, 252);
     this.radPageViewPage4.Text              = "Professional";
     this.professionalColorsControl.Anchor   = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
     this.professionalColorsControl.ColorHsl = HslColor.FromAhsl(0.0, 1.0, 1.0);
     this.professionalColorsControl.ColorRgb = Color.FromArgb((int)byte.MaxValue, 0, 0);
     this.professionalColorsControl.Location = new Point(0, 0);
     this.professionalColorsControl.Name     = "professionalColorsControl";
     this.professionalColorsControl.Size     = new Size(415, 251);
     this.professionalColorsControl.TabIndex = 0;
     this.radButton3.Anchor                 = AnchorStyles.Bottom | AnchorStyles.Right;
     this.radButton3.EnableAnalytics        = false;
     this.radButton3.Location               = new Point(431, 333);
     this.radButton3.Name                   = "radButton3";
     this.radButton3.Size                   = new Size(75, 23);
     this.radButton3.TabIndex               = 23;
     this.radButton3.Text                   = "Cancel";
     this.radButton3.Click                 += new EventHandler(this.radButton3_Click);
     this.btnScreenColorPick.Anchor         = AnchorStyles.Top | AnchorStyles.Right;
     this.btnScreenColorPick.DisplayStyle   = DisplayStyle.Image;
     this.btnScreenColorPick.Image          = (Image)Telerik\u002EWinControls\u002EUI\u002EResources.eyedropper;
     this.btnScreenColorPick.ImageAlignment = ContentAlignment.MiddleCenter;
     this.btnScreenColorPick.Location       = new Point(457, 166);
     this.btnScreenColorPick.Name           = "btnScreenColorPick";
     this.btnScreenColorPick.Size           = new Size(38, 32);
     this.btnScreenColorPick.TabIndex       = 22;
     this.btnScreenColorPick.Click         += new EventHandler(this.buttonColorPick_Click);
     this.radButton1.Anchor                 = AnchorStyles.Bottom | AnchorStyles.Right;
     this.radButton1.EnableAnalytics        = false;
     this.radButton1.Location               = new Point(350, 333);
     this.radButton1.Name                   = "radButton1";
     this.radButton1.Size                   = new Size(75, 23);
     this.radButton1.TabIndex               = 21;
     this.radButton1.Text                   = "OK";
     this.radButton1.Click                 += new EventHandler(this.radButton1_Click);
     this.captureBox.CapturedColor          = Color.Empty;
     this.captureBox.Location               = new Point(0, 0);
     this.captureBox.Name                   = "captureBox";
     this.captureBox.Size                   = new Size(166, 131);
     this.captureBox.TabIndex               = 30;
     this.Controls.Add((Control)this.textBoxColor);
     this.Controls.Add((Control)this.currentLabel);
     this.Controls.Add((Control)this.btnAddNewColor);
     this.Controls.Add((Control)this.radPageView1);
     this.Controls.Add((Control)this.radButton3);
     this.Controls.Add((Control)this.btnScreenColorPick);
     this.Controls.Add((Control)this.radButton1);
     this.Controls.Add((Control)this.hexHeadingLabel);
     this.Controls.Add((Control)this.panel1);
     this.Controls.Add((Control)this.newLabel);
     this.Controls.Add((Control)this.captureBox);
     this.Controls.Add((Control)this.customColors);
     this.Name = nameof(RadColorSelector);
     this.Size = new Size(509, 361);
     this.newLabel.EndInit();
     this.labelOldColor.EndInit();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.labelColor.EndInit();
     this.hexHeadingLabel.EndInit();
     this.currentLabel.EndInit();
     this.textBoxColor.EndInit();
     this.btnAddNewColor.EndInit();
     this.radPageView1.EndInit();
     this.radPageView1.ResumeLayout(false);
     this.radPageViewPage1.ResumeLayout(false);
     this.radPageViewPage2.ResumeLayout(false);
     this.listBox1.EndInit();
     this.radPageViewPage3.ResumeLayout(false);
     this.listBox2.EndInit();
     this.radPageViewPage4.ResumeLayout(false);
     this.radButton3.EndInit();
     this.btnScreenColorPick.EndInit();
     this.radButton1.EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemple #13
0
 protected internal virtual void Detach()
 {
     this.owner = (RadPageView)null;
 }
Exemple #14
0
 protected internal virtual void Attach(RadPageView view)
 {
     this.owner = view;
     this.CallBackColorChanged();
 }