Пример #1
0
        public RadCommandBarOverflowButton(CommandBarStripElement owner)
        {
            this.dialogProvider = new CommandBarCustomizeDialogProvider();

            this.owner = owner;
            this.dropDownMenuElement             = new RadDropDownMenu();
            this.dropDownMenuElement.MinimumSize = this.owner.OverflowMenuMinSize;
            this.dropDownMenuElement.MaximumSize = this.owner.OverflowMenuMaxSize;
            this.dropDownMenuElement.RightToLeft = this.RightToLeft ? System.Windows.Forms.RightToLeft.Yes : System.Windows.Forms.RightToLeft.No;

            panel = new RadCommandBarOverflowPanelElement();
            RadMenuSeparatorItem separator = new RadMenuSeparatorItem();

            panel.Visibility     = ElementVisibility.Collapsed;
            separator.Visibility = ElementVisibility.Collapsed;
            this.dropDownMenuElement.Items.Add(panel);
            this.dropDownMenuElement.Items.Add(separator);

            addRemoveButtonsMenuItem = new RadMenuItem(CommandBarLocalizationProvider.CurrentProvider.GetLocalizedString(CommandBarStringId.OverflowMenuAddOrRemoveButtonsText));

            this.dropDownMenuElement.Items.Add(addRemoveButtonsMenuItem);

            this.dropDownMenuElement.Items.Add(new RadMenuSeparatorItem());

            this.customizeButtonMenuItem = new RadMenuItem(CommandBarLocalizationProvider.CurrentProvider.GetLocalizedString(CommandBarStringId.OverflowMenuCustomizeText));


            this.dropDownMenuElement.Items.Add(customizeButtonMenuItem);

            this.layout         = panel.Layout;
            this.layout.MaxSize = this.owner.OverflowMenuMaxSize;

            WireEvents();
        }
Пример #2
0
        public RadCommandBarOverflowButton(CommandBarStripElement owner)
        {
            this.dialogProvider      = new CommandBarCustomizeDialogProvider();
            this.owner               = owner;
            this.dropDownMenuElement = new RadDropDownMenu((RadElement)this);
            this.dropDownMenuElement.HorizontalAlignmentCorrectionMode = AlignmentCorrectionMode.SnapToEdges;
            this.dropDownMenuElement.MinimumSize = this.owner.OverflowMenuMinSize;
            this.dropDownMenuElement.MaximumSize = this.owner.OverflowMenuMaxSize;
            this.dropDownMenuElement.RightToLeft = this.RightToLeft ? RightToLeft.Yes : RightToLeft.No;
            this.panel = new RadCommandBarOverflowPanelElement();
            RadMenuSeparatorItem menuSeparatorItem = new RadMenuSeparatorItem();

            this.panel.Visibility        = ElementVisibility.Collapsed;
            menuSeparatorItem.Visibility = ElementVisibility.Collapsed;
            this.dropDownMenuElement.Items.Add((RadItem)this.panel);
            this.dropDownMenuElement.Items.Add((RadItem)menuSeparatorItem);
            this.addRemoveButtonsMenuItem = new RadMenuItem(LocalizationProvider <CommandBarLocalizationProvider> .CurrentProvider.GetLocalizedString("OverflowMenuAddOrRemoveButtonsText"));
            this.dropDownMenuElement.Items.Add((RadItem)this.addRemoveButtonsMenuItem);
            this.dropDownMenuElement.Items.Add((RadItem) new RadMenuSeparatorItem());
            this.customizeButtonMenuItem = new RadMenuItem(LocalizationProvider <CommandBarLocalizationProvider> .CurrentProvider.GetLocalizedString("OverflowMenuCustomizeText"));
            this.dropDownMenuElement.Items.Add((RadItem)this.customizeButtonMenuItem);
            this.layout         = this.panel.Layout;
            this.layout.MaxSize = this.owner.OverflowMenuMaxSize;
            this.WireEvents();
        }
Пример #3
0
        protected override void CreateChildElements()
        {
            this.fillPrimitive         = new FillPrimitive();
            fillPrimitive.Class        = "ListBoxItemSelectionFill";
            fillPrimitive.Visibility   = ElementVisibility.Hidden;
            fillPrimitive.AutoSizeMode = RadAutoSizeMode.FitToAvailableSize;

            this.borderElement              = new BorderPrimitive();
            this.borderElement.Class        = "ListBoxItemSelectionBorder";
            this.borderElement.Visibility   = ElementVisibility.Hidden;
            this.borderElement.AutoSizeMode = RadAutoSizeMode.FitToAvailableSize;

            this.imagePrimitive = new ImagePrimitive();
            this.imagePrimitive.SetValue(ImageAndTextLayoutPanel.IsImagePrimitiveProperty, true);
            this.imagePrimitive.BindProperty(ImagePrimitive.ImageIndexProperty, this, RadListBoxItem.ImageIndexProperty, PropertyBindingOptions.TwoWay);
            this.imagePrimitive.BindProperty(ImagePrimitive.ImageProperty, this, RadListBoxItem.ImageProperty, PropertyBindingOptions.TwoWay);
            this.imagePrimitive.BindProperty(ImagePrimitive.ImageKeyProperty, this, RadListBoxItem.ImageKeyProperty, PropertyBindingOptions.TwoWay);

            this.textPrimitive             = new TextPrimitive();
            this.textPrimitive.Class       = "ListBoxItemText";
            this.textPrimitive.UseMnemonic = false;
            this.textPrimitive.BindProperty(TextPrimitive.TextProperty, this, RadListBoxItem.TextProperty, PropertyBindingOptions.OneWay);
            this.textPrimitive.BindProperty(TextPrimitive.AlignmentProperty, this, RadListBoxItem.TextAlignmentProperty, PropertyBindingOptions.OneWay);

            this.descriptionTextPrimitive             = new TextPrimitive();
            this.descriptionTextPrimitive.Class       = "ListBoxItemDescriptionText";
            this.descriptionTextPrimitive.UseMnemonic = false;
            this.descriptionTextPrimitive.BindProperty(TextPrimitive.FontProperty, this, RadListBoxItem.DescriptionFontProperty, PropertyBindingOptions.OneWay);

            StackLayoutPanel textPanel = new StackLayoutPanel();

            textPanel.Orientation        = Orientation.Vertical;
            textPanel.EqualChildrenWidth = true;
            textPanel.Children.Add(this.textPrimitive);

            textSeparator = new RadMenuSeparatorItem();
            textSeparator.NotifyParentOnMouseInput = true;
            textSeparator.Class        = "ListBoxItemTextSeparator";
            textSeparator.AutoSizeMode = RadAutoSizeMode.WrapAroundChildren;
            textSeparator.Visibility   = ElementVisibility.Collapsed;

            textPanel.Children.Add(textSeparator);
            textPanel.Children.Add(this.descriptionTextPrimitive);
            textPanel.SetValue(ImageAndTextLayoutPanel.IsTextPrimitiveProperty, true);

            this.layoutPanel = new ImageAndTextLayoutPanel();
            this.layoutPanel.StretchHorizontally = false;
            this.layoutPanel.BindProperty(ImageAndTextLayoutPanel.DisplayStyleProperty, this, RadListBoxItem.DisplayStyleProperty, PropertyBindingOptions.OneWay);
            this.layoutPanel.BindProperty(ImageAndTextLayoutPanel.ImageAlignmentProperty, this, RadListBoxItem.ImageAlignmentProperty, PropertyBindingOptions.OneWay);
            this.layoutPanel.BindProperty(ImageAndTextLayoutPanel.TextAlignmentProperty, this, RadListBoxItem.TextAlignmentProperty, PropertyBindingOptions.OneWay);
            this.layoutPanel.BindProperty(ImageAndTextLayoutPanel.TextImageRelationProperty, this, RadListBoxItem.TextImageRelationProperty, PropertyBindingOptions.OneWay);
            this.layoutPanel.Children.Add(this.imagePrimitive);
            this.layoutPanel.Children.Add(textPanel);

            this.Children.Add(fillPrimitive);
            this.Children.Add(this.borderElement);
            this.Children.Add(this.layoutPanel);
        }
Пример #4
0
 public PropertyGridDefaultContextMenu(PropertyGridTableElement propertyGridElement)
 {
     this.propertyTableElement = propertyGridElement;
     this.resetMenuItem        = new PropertyGridMenuItem("Reset", LocalizationProvider <PropertyGridLocalizationProvider> .CurrentProvider.GetLocalizedString("ContextMenuReset"));
     this.Items.Add((RadItem)this.resetMenuItem);
     this.editMenuItem = new PropertyGridMenuItem("Edit", LocalizationProvider <PropertyGridLocalizationProvider> .CurrentProvider.GetLocalizedString("ContextMenuEdit"));
     this.Items.Add((RadItem)this.editMenuItem);
     this.expandCollapseMenuItem = new PropertyGridMenuItem("Expand", LocalizationProvider <PropertyGridLocalizationProvider> .CurrentProvider.GetLocalizedString("ContextMenuExpand"));
     this.Items.Add((RadItem)this.expandCollapseMenuItem);
     this.firstSeparator = new RadMenuSeparatorItem();
     this.Items.Add((RadItem)this.firstSeparator);
     this.sortMenuItem = new PropertyGridMenuItem("Sort", LocalizationProvider <PropertyGridLocalizationProvider> .CurrentProvider.GetLocalizedString("ContextMenuSort"));
     this.Items.Add((RadItem)this.sortMenuItem);
     this.noSortMenuItem        = new PropertyGridMenuItem("NoSort", LocalizationProvider <PropertyGridLocalizationProvider> .CurrentProvider.GetLocalizedString("ContextMenuNoSort"));
     this.noSortMenuItem.Click += new EventHandler(this.menuItem_Click);
     this.sortMenuItem.Items.Add((RadItem)this.noSortMenuItem);
     this.alphabeticalMenuItem        = new PropertyGridMenuItem("Alphabetical", LocalizationProvider <PropertyGridLocalizationProvider> .CurrentProvider.GetLocalizedString("ContextMenuAlphabetical"));
     this.alphabeticalMenuItem.Click += new EventHandler(this.menuItem_Click);
     this.sortMenuItem.Items.Add((RadItem)this.alphabeticalMenuItem);
     this.categorizedMenuItem        = new PropertyGridMenuItem("Categorized", LocalizationProvider <PropertyGridLocalizationProvider> .CurrentProvider.GetLocalizedString("ContextMenuCategorized"));
     this.categorizedMenuItem.Click += new EventHandler(this.menuItem_Click);
     this.sortMenuItem.Items.Add((RadItem)this.categorizedMenuItem);
     this.categorizedAlphabeticalMenuItem        = new PropertyGridMenuItem("CategorizedAlphabetical", LocalizationProvider <PropertyGridLocalizationProvider> .CurrentProvider.GetLocalizedString("ContextMenuCategorizedAlphabetical"));
     this.categorizedAlphabeticalMenuItem.Click += new EventHandler(this.menuItem_Click);
     this.sortMenuItem.Items.Add((RadItem)this.categorizedAlphabeticalMenuItem);
     this.Items.Add((RadItem) new RadMenuSeparatorItem());
     this.showDescriptionMenuItem = new PropertyGridMenuItem("ShowDescription", LocalizationProvider <PropertyGridLocalizationProvider> .CurrentProvider.GetLocalizedString("ContextMenuShowDescription"));
     this.Items.Add((RadItem)this.showDescriptionMenuItem);
     this.showToolbarMenuItem = new PropertyGridMenuItem("ShowToolbar", LocalizationProvider <PropertyGridLocalizationProvider> .CurrentProvider.GetLocalizedString("ContextMenuShowToolbar"));
     this.Items.Add((RadItem)this.showToolbarMenuItem);
     for (int index = 0; index < this.Items.Count; ++index)
     {
         this.Items[index].Click += new EventHandler(this.menuItem_Click);
     }
     LocalizationProvider <PropertyGridLocalizationProvider> .CurrentProviderChanged += new EventHandler(this.PropertyGridLocalizationProvider_CurrentProviderChanged);
 }
Пример #5
0
        protected virtual void CreateFilterOperationsMenuItems()
        {
            FilterDescriptor          filterDescriptor1 = this.GetFilterDescriptor();
            CompositeFilterDescriptor filterDescriptor2 = filterDescriptor1 as CompositeFilterDescriptor;

            CompositeFilterDescriptor.DescriptorType descriptorType = CompositeFilterDescriptor.GetDescriptorType(filterDescriptor2);
            RadMenuItem radMenuItem = new RadMenuItem();

            radMenuItem.IsChecked = false;
            radMenuItem.Text      = LocalizationProvider <RadGridLocalizationProvider> .CurrentProvider.GetLocalizedString("FilterMenuAvailableFilters");

            radMenuItem.StretchVertically = false;
            this.Items.Add((RadItem)radMenuItem);
            RadMenuSeparatorItem menuSeparatorItem = new RadMenuSeparatorItem();

            menuSeparatorItem.StretchVertically = false;
            this.Items.Add((RadItem)menuSeparatorItem);
            System.Type filteringDataType = this.ColumnFilteringDataType;
            foreach (FilterOperationContext filterOperation in FilterOperationContext.GetFilterOperations(filteringDataType))
            {
                if (filterOperation.Operator == FilterOperator.None || filterOperation.Operator == FilterOperator.IsNull || filterOperation.Operator == FilterOperator.IsNotNull)
                {
                    RadFilterOperationMenuItem operationMenuItem = new RadFilterOperationMenuItem(filterOperation);
                    operationMenuItem.Click += new EventHandler(this.FilterMenuItem_Click);
                    if (filterOperation.Operator == FilterOperator.None)
                    {
                        operationMenuItem.Enabled = filterDescriptor2 != null && filterDescriptor2.Operator != FilterOperator.None || operationMenuItem.Operator != filterDescriptor1.Operator;
                        operationMenuItem.Text    = LocalizationProvider <RadGridLocalizationProvider> .CurrentProvider.GetLocalizedString("FilterMenuClearFilters");

                        operationMenuItem.Image             = (Image)Resources.ClearFilter;
                        operationMenuItem.TextImageRelation = TextImageRelation.ImageBeforeText;
                        operationMenuItem.ImageAlignment    = ContentAlignment.MiddleLeft;
                        operationMenuItem.DisplayStyle      = DisplayStyle.ImageAndText;
                        this.Items.Insert(0, (RadItem)operationMenuItem);
                    }
                    else
                    {
                        operationMenuItem.IsChecked = (filterDescriptor2 == null || filterDescriptor2.Operator == FilterOperator.None) && operationMenuItem.Operator == filterDescriptor1.Operator;
                        if (operationMenuItem.IsChecked)
                        {
                            radMenuItem.IsChecked = true;
                        }
                        radMenuItem.Items.Add((RadItem)operationMenuItem);
                    }
                }
                else
                {
                    RadFilterComposeMenuItem filterComposeMenuItem = new RadFilterComposeMenuItem();
                    filterComposeMenuItem.Text                      = filterOperation.Name;
                    filterComposeMenuItem.FilterDescriptor          = filterDescriptor1.Clone() as FilterDescriptor;
                    filterComposeMenuItem.FilterDescriptor.Operator = filterOperation.Operator;
                    filterComposeMenuItem.Click                    += new EventHandler(this.FilterMenuItem_Click);
                    filterComposeMenuItem.IsChecked                 = (filterDescriptor2 == null || filterDescriptor2.Operator == FilterOperator.None) && filterOperation.Operator == filterDescriptor1.Operator;
                    if (filterComposeMenuItem.IsChecked)
                    {
                        radMenuItem.IsChecked = true;
                    }
                    radMenuItem.Items.Add((RadItem)filterComposeMenuItem);
                }
            }
            if (GridViewHelper.IsNumeric(filteringDataType) || (object)filteringDataType == (object)typeof(DateTime))
            {
                RadFilterComposeMenuItem filterComposeMenuItem1 = new RadFilterComposeMenuItem("FilterFunctionsBetween");
                filterComposeMenuItem1.IsChecked = filterDescriptor2 != null && filterDescriptor2.Operator != FilterOperator.None && descriptorType == CompositeFilterDescriptor.DescriptorType.Between;
                if (filterComposeMenuItem1.IsChecked)
                {
                    radMenuItem.IsChecked = true;
                }
                filterComposeMenuItem1.FilterDescriptor = (FilterDescriptor)this.GetCompositeFilterDescriptor(CompositeFilterDescriptor.DescriptorType.Between, filterDescriptor2);
                filterComposeMenuItem1.Click           += new EventHandler(this.FilterMenuItem_Click);
                radMenuItem.Items.Add((RadItem)filterComposeMenuItem1);
                RadFilterComposeMenuItem filterComposeMenuItem2 = new RadFilterComposeMenuItem("FilterFunctionNotBetween");
                filterComposeMenuItem2.IsChecked = descriptorType == CompositeFilterDescriptor.DescriptorType.NotBetween;
                if (filterComposeMenuItem2.IsChecked)
                {
                    radMenuItem.IsChecked = true;
                }
                filterComposeMenuItem2.FilterDescriptor = (FilterDescriptor)this.GetCompositeFilterDescriptor(CompositeFilterDescriptor.DescriptorType.NotBetween, filterDescriptor2);
                filterComposeMenuItem2.Click           += new EventHandler(this.FilterMenuItem_Click);
                radMenuItem.Items.Add((RadItem)filterComposeMenuItem2);
            }
            if ((object)filteringDataType == (object)typeof(Image))
            {
                return;
            }
            RadFilterComposeMenuItem filterComposeMenuItem3 = new RadFilterComposeMenuItem("FilterFunctionsCustom");

            filterComposeMenuItem3.FilterDescriptor = filterDescriptor1.Clone() as FilterDescriptor;
            filterComposeMenuItem3.Click           += new EventHandler(this.FilterMenuItem_Click);
            filterComposeMenuItem3.IsChecked        = filterDescriptor2 != null && filterDescriptor2.Operator != FilterOperator.None && descriptorType == CompositeFilterDescriptor.DescriptorType.Unknown;
            if (filterComposeMenuItem3.IsChecked)
            {
                radMenuItem.IsChecked = true;
            }
            radMenuItem.Items.Add((RadItem)filterComposeMenuItem3);
        }
Пример #6
0
        private void InitializeComponent()
        {
            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(RadPrintPreviewDialog));

            this.printPreviewControl       = new RadPrintPreviewControl();
            this.radCommandBar             = new RadCommandBar();
            this.commandBarRowElement1     = new CommandBarRowElement();
            this.stripElementTools         = new CommandBarStripElement();
            this.buttonPrint               = new CommandBarButton();
            this.buttonSettings            = new CommandBarButton();
            this.commandBarButtonWatermark = new CommandBarButton();
            this.stripElementNavigation    = new CommandBarStripElement();
            this.buttonPrevPage            = new CommandBarButton();
            this.buttonNextPage            = new CommandBarButton();
            this.textBoxCurrentPage        = new CommandBarTextBox();
            this.labelTotalPages           = new CommandBarLabel();
            this.commandBarSeparator1      = new CommandBarSeparator();
            this.buttonZoomOut             = new CommandBarButton();
            this.buttonZoomIn              = new CommandBarButton();
            this.dropDownZoom              = new CommandBarDropDownList();
            this.dropDownButtonLayout      = new CommandBarDropDownButton();
            this.menuItemFile              = new RadMenuItem();
            this.menuItemPrint             = new RadMenuItem();
            this.menuItemExit              = new RadMenuItem();
            this.menuItemView              = new RadMenuItem();
            this.radMenuSeparatorItem1     = new RadMenuSeparatorItem();
            this.menuItemPreviousPage      = new RadMenuItem();
            this.menuItemNextPage          = new RadMenuItem();
            this.radMenuSeparatorItem2     = new RadMenuSeparatorItem();
            this.menuItemLayout            = new RadMenuItem();
            this.menuItemTools             = new RadMenuItem();
            this.menuItemPrintSettings     = new RadMenuItem();
            this.menuItemWatermark         = new RadMenuItem();
            this.radMenu = new RadMenu();
            this.radCommandBar.BeginInit();
            this.radMenu.BeginInit();
            this.BeginInit();
            this.SuspendLayout();
            this.printPreviewControl.AutoZoom             = false;
            this.printPreviewControl.BackColor            = Color.FromArgb(156, 179, 207);
            this.printPreviewControl.Dock                 = DockStyle.Fill;
            this.printPreviewControl.Location             = new Point(0, 58);
            this.printPreviewControl.Name                 = "printPreviewControl";
            this.printPreviewControl.PageBorderColor      = Color.White;
            this.printPreviewControl.PageInnerBorderColor = Color.White;
            this.printPreviewControl.PageShadowColor      = Color.FromArgb(109, 125, 144);
            this.printPreviewControl.ScrollOffset         = new Point(0, 0);
            this.printPreviewControl.ShadowThickness      = 6;
            this.printPreviewControl.Size                 = new Size(713, 399);
            this.printPreviewControl.TabIndex             = 1;
            this.printPreviewControl.StartPageChanged    += new EventHandler(this.printPreviewControl1_StartPageChanged);
            this.printPreviewControl.MouseDown           += new MouseEventHandler(this.printPreviewControl1_MouseDown);
            this.printPreviewControl.MouseMove           += new MouseEventHandler(this.printPreviewControl1_MouseMove);
            this.printPreviewControl.MouseUp             += new MouseEventHandler(this.printPreviewControl1_MouseUp);
            this.printPreviewControl.MouseWheel          += new MouseEventHandler(this.printPreviewControl1_MouseWheel);
            this.radCommandBar.AutoSize = true;
            this.radCommandBar.Dock     = DockStyle.Top;
            this.radCommandBar.Location = new Point(0, 20);
            this.radCommandBar.Name     = "radCommandBar";
            this.radCommandBar.Rows.AddRange(this.commandBarRowElement1);
            this.radCommandBar.Size                = new Size(713, 38);
            this.radCommandBar.TabIndex            = 3;
            this.radCommandBar.Text                = "radCommandBar1";
            this.commandBarRowElement1.DisplayName = (string)null;
            this.commandBarRowElement1.MinSize     = new Size(25, 25);
            this.commandBarRowElement1.Strips.AddRange(this.stripElementTools, this.stripElementNavigation);
            this.stripElementTools.DisplayName = "Tools";
            this.stripElementTools.Items.AddRange((RadCommandBarBaseItem)this.buttonPrint, (RadCommandBarBaseItem)this.buttonSettings, (RadCommandBarBaseItem)this.commandBarButtonWatermark);
            this.stripElementTools.Name            = "commandBarStripElement1";
            this.stripElementTools.Text            = "";
            this.buttonPrint.AccessibleDescription = "Print";
            this.buttonPrint.AccessibleName        = "Print";
            this.buttonPrint.DisplayName           = "Print...";
            this.buttonPrint.DrawText    = false;
            this.buttonPrint.Image       = (Image)componentResourceManager.GetObject("print");
            this.buttonPrint.Name        = "buttonPrint";
            this.buttonPrint.Text        = "Print";
            this.buttonPrint.ToolTipText = "Print...";
            this.buttonPrint.Visibility  = ElementVisibility.Visible;
            this.buttonPrint.MouseDown  += new MouseEventHandler(this.buttonPrint_Click);
            this.buttonSettings.AccessibleDescription = "Settings";
            this.buttonSettings.AccessibleName        = "Settings";
            this.buttonSettings.DisplayName           = "Print Settings...";
            this.buttonSettings.DrawText    = false;
            this.buttonSettings.Image       = (Image)componentResourceManager.GetObject("page-setup");
            this.buttonSettings.Name        = "buttonSettings";
            this.buttonSettings.Text        = "Settings";
            this.buttonSettings.ToolTipText = "Print Settings...";
            this.buttonSettings.Visibility  = ElementVisibility.Visible;
            this.buttonSettings.MouseDown  += new MouseEventHandler(this.buttonSettings_Click);
            this.commandBarButtonWatermark.AccessibleDescription = "Watermark";
            this.commandBarButtonWatermark.AccessibleName        = "Watermark";
            this.commandBarButtonWatermark.DisplayName           = "Watermark";
            this.commandBarButtonWatermark.DrawText    = false;
            this.commandBarButtonWatermark.Image       = (Image)componentResourceManager.GetObject("watermark");
            this.commandBarButtonWatermark.Name        = "commandBarButtonWatermark";
            this.commandBarButtonWatermark.Text        = "Watermark";
            this.commandBarButtonWatermark.ToolTipText = "Watermark";
            this.commandBarButtonWatermark.Visibility  = ElementVisibility.Visible;
            this.commandBarButtonWatermark.MouseUp    += new MouseEventHandler(this.commandBarButtonWatermark_Click);
            this.stripElementNavigation.DisplayName    = "Navigation";
            this.stripElementNavigation.Items.AddRange((RadCommandBarBaseItem)this.buttonPrevPage, (RadCommandBarBaseItem)this.buttonNextPage, (RadCommandBarBaseItem)this.textBoxCurrentPage, (RadCommandBarBaseItem)this.labelTotalPages, (RadCommandBarBaseItem)this.commandBarSeparator1, (RadCommandBarBaseItem)this.buttonZoomOut, (RadCommandBarBaseItem)this.buttonZoomIn, (RadCommandBarBaseItem)this.dropDownZoom, (RadCommandBarBaseItem)this.dropDownButtonLayout);
            this.stripElementNavigation.Name          = "commandBarStripElement2";
            this.stripElementNavigation.Text          = "";
            this.buttonPrevPage.AccessibleDescription = "<";
            this.buttonPrevPage.AccessibleName        = "<";
            this.buttonPrevPage.DisplayName           = "Previous Page";
            this.buttonPrevPage.DrawText                          = false;
            this.buttonPrevPage.Image                             = (Image)componentResourceManager.GetObject("arrow-up");
            this.buttonPrevPage.Name                              = "buttonPrevPage";
            this.buttonPrevPage.Text                              = "<";
            this.buttonPrevPage.ToolTipText                       = "Previous Page";
            this.buttonPrevPage.Visibility                        = ElementVisibility.Visible;
            this.buttonPrevPage.MouseDown                        += new MouseEventHandler(this.buttonPrevPage_Click);
            this.buttonNextPage.AccessibleDescription             = ">";
            this.buttonNextPage.AccessibleName                    = ">";
            this.buttonNextPage.DisplayName                       = "Next Page";
            this.buttonNextPage.DrawText                          = false;
            this.buttonNextPage.Image                             = (Image)componentResourceManager.GetObject("arrow-down");
            this.buttonNextPage.Name                              = "buttonNextPage";
            this.buttonNextPage.Text                              = ">";
            this.buttonNextPage.ToolTipText                       = "Next Page";
            this.buttonNextPage.Visibility                        = ElementVisibility.Visible;
            this.buttonNextPage.MouseDown                        += new MouseEventHandler(this.buttonNextPage_Click);
            this.textBoxCurrentPage.DisplayName                   = "Current Page";
            this.textBoxCurrentPage.Font                          = new Font("Segoe UI Semibold", 12f, FontStyle.Bold, GraphicsUnit.Point, (byte)204);
            this.textBoxCurrentPage.MaxSize                       = new Size(0, 0);
            this.textBoxCurrentPage.Name                          = "textBoxCurrentPage";
            this.textBoxCurrentPage.StretchVertically             = true;
            this.textBoxCurrentPage.Text                          = "";
            this.textBoxCurrentPage.Visibility                    = ElementVisibility.Visible;
            this.textBoxCurrentPage.KeyDown                      += new KeyEventHandler(this.commandBarTextBox1_KeyDown);
            ((RadItem)this.textBoxCurrentPage.GetChildAt(0)).Text = "";
            this.textBoxCurrentPage.GetChildAt(0).Alignment       = ContentAlignment.MiddleCenter;
            this.textBoxCurrentPage.GetChildAt(0).MinSize         = new Size(40, 20);
            this.labelTotalPages.AccessibleDescription            = "of 0";
            this.labelTotalPages.AccessibleName                   = "of 0";
            this.labelTotalPages.DisplayName                      = "Total Pages";
            this.labelTotalPages.Font                             = new Font("Segoe UI Semibold", 12f, FontStyle.Bold, GraphicsUnit.Point, (byte)204);
            this.labelTotalPages.Name                             = "labelTotalPages";
            this.labelTotalPages.Text                             = "/ 0";
            this.labelTotalPages.Visibility                       = ElementVisibility.Visible;
            this.commandBarSeparator1.AccessibleDescription       = "commandBarSeparator1";
            this.commandBarSeparator1.AccessibleName              = "commandBarSeparator1";
            this.commandBarSeparator1.DisplayName                 = "commandBarSeparator1";
            this.commandBarSeparator1.Name                        = "commandBarSeparator1";
            this.commandBarSeparator1.Visibility                  = ElementVisibility.Visible;
            this.commandBarSeparator1.VisibleInOverflowMenu       = false;
            this.buttonZoomOut.AccessibleDescription              = "-";
            this.buttonZoomOut.AccessibleName                     = "-";
            this.buttonZoomOut.DisplayName                        = "Zoom Out";
            this.buttonZoomOut.DrawText                           = false;
            this.buttonZoomOut.Image                              = (Image)componentResourceManager.GetObject("zoom-out");
            this.buttonZoomOut.Name                 = "buttonZoomOut";
            this.buttonZoomOut.Text                 = "-";
            this.buttonZoomOut.ToolTipText          = "Zoom Out";
            this.buttonZoomOut.Visibility           = ElementVisibility.Visible;
            this.buttonZoomIn.AccessibleDescription = "+";
            this.buttonZoomIn.AccessibleName        = "+";
            this.buttonZoomIn.DisplayName           = "Zoom In";
            this.buttonZoomIn.DrawText              = false;
            this.buttonZoomIn.Image                 = (Image)componentResourceManager.GetObject("zoom-in");
            this.buttonZoomIn.Name        = "buttonZoomIn";
            this.buttonZoomIn.Text        = "+";
            this.buttonZoomIn.ToolTipText = "Zoom In";
            this.buttonZoomIn.Visibility  = ElementVisibility.Visible;
            this.dropDownZoom.DisplayName = "Zoom";
            this.dropDownZoom.DropDownAnimationEnabled = true;
            this.dropDownZoom.MinSize    = new Size(90, 22);
            this.dropDownZoom.Name       = "dropDownZoom";
            this.dropDownZoom.Text       = "";
            this.dropDownZoom.Visibility = ElementVisibility.Visible;
            this.dropDownButtonLayout.AccessibleDescription = "commandBarDropDownButton1";
            this.dropDownButtonLayout.AccessibleName        = "commandBarDropDownButton1";
            this.dropDownButtonLayout.DisplayName           = "Layout";
            this.dropDownButtonLayout.Image         = (Image)componentResourceManager.GetObject("view-thumbnail");
            this.dropDownButtonLayout.Name          = "dropDownButtonLayout";
            this.dropDownButtonLayout.Text          = "commandBarDropDownButton1";
            this.dropDownButtonLayout.ToolTipText   = "Layout";
            this.dropDownButtonLayout.Visibility    = ElementVisibility.Visible;
            this.menuItemFile.AccessibleDescription = "File";
            this.menuItemFile.AccessibleName        = "File";
            this.menuItemFile.Items.AddRange((RadItem)this.menuItemPrint, (RadItem)this.menuItemExit);
            this.menuItemFile.Name                   = "menuItemFile";
            this.menuItemFile.Text                   = "File";
            this.menuItemFile.Visibility             = ElementVisibility.Visible;
            this.menuItemPrint.AccessibleDescription = "Print...";
            this.menuItemPrint.AccessibleName        = "Print...";
            this.menuItemPrint.Name                  = "menuItemPrint";
            this.menuItemPrint.Text                  = "Print...";
            this.menuItemPrint.Visibility            = ElementVisibility.Visible;
            this.menuItemPrint.Click                += new EventHandler(this.buttonPrint_Click);
            this.menuItemExit.AccessibleDescription  = "Exit";
            this.menuItemExit.AccessibleName         = "Exit";
            this.menuItemExit.Name                   = "menuItemExit";
            this.menuItemExit.Text                   = "Exit";
            this.menuItemExit.Visibility             = ElementVisibility.Visible;
            this.menuItemExit.Click                 += new EventHandler(this.radMenuItem6_Click);
            this.menuItemView.AccessibleDescription  = "View";
            this.menuItemView.AccessibleName         = "View";
            this.menuItemView.Items.AddRange((RadItem)this.radMenuSeparatorItem1, (RadItem)this.menuItemPreviousPage, (RadItem)this.menuItemNextPage, (RadItem)this.radMenuSeparatorItem2, (RadItem)this.menuItemLayout);
            this.menuItemView.Name                          = "menuItemView";
            this.menuItemView.Text                          = "View";
            this.menuItemView.Visibility                    = ElementVisibility.Visible;
            this.radMenuSeparatorItem1.Name                 = "radMenuSeparatorItem1";
            this.radMenuSeparatorItem1.Visibility           = ElementVisibility.Visible;
            this.menuItemPreviousPage.AccessibleDescription = "Previous Page";
            this.menuItemPreviousPage.AccessibleName        = "Previous Page";
            this.menuItemPreviousPage.Name                  = "menuItemPreviousPage";
            this.menuItemPreviousPage.Text                  = "Previous Page";
            this.menuItemPreviousPage.Visibility            = ElementVisibility.Visible;
            this.menuItemPreviousPage.Click                += new EventHandler(this.buttonPrevPage_Click);
            this.menuItemNextPage.AccessibleDescription     = "Next Page";
            this.menuItemNextPage.AccessibleName            = "Next Page";
            this.menuItemNextPage.Name                      = "menuItemNextPage";
            this.menuItemNextPage.Text                      = "Next Page";
            this.menuItemNextPage.Visibility                = ElementVisibility.Visible;
            this.menuItemNextPage.Click                    += new EventHandler(this.buttonNextPage_Click);
            this.radMenuSeparatorItem2.Name                 = "radMenuSeparatorItem2";
            this.radMenuSeparatorItem2.Visibility           = ElementVisibility.Visible;
            this.menuItemLayout.AccessibleDescription       = "Layout";
            this.menuItemLayout.AccessibleName              = "Layout";
            this.menuItemLayout.Name                        = "menuItemLayout";
            this.menuItemLayout.Text                        = "Layout";
            this.menuItemLayout.Visibility                  = ElementVisibility.Visible;
            this.menuItemTools.AccessibleDescription        = "Tools";
            this.menuItemTools.AccessibleName               = "Tools";
            this.menuItemTools.Items.AddRange((RadItem)this.menuItemPrintSettings, (RadItem)this.menuItemWatermark);
            this.menuItemTools.Name       = "menuItemTools";
            this.menuItemTools.Text       = "Tools";
            this.menuItemTools.Visibility = ElementVisibility.Visible;
            this.menuItemPrintSettings.AccessibleDescription = "Printer Settings";
            this.menuItemPrintSettings.AccessibleName        = "Printer Settings";
            this.menuItemPrintSettings.Name              = "menuItemPrintSettings";
            this.menuItemPrintSettings.Text              = "Printer Settings...";
            this.menuItemPrintSettings.Visibility        = ElementVisibility.Visible;
            this.menuItemPrintSettings.Click            += new EventHandler(this.buttonSettings_Click);
            this.menuItemWatermark.AccessibleDescription = "Watermark Settings...";
            this.menuItemWatermark.AccessibleName        = "Watermark Settings...";
            this.menuItemWatermark.Name       = "menuItemWatermark";
            this.menuItemWatermark.Text       = "Watermark Settings...";
            this.menuItemWatermark.Visibility = ElementVisibility.Visible;
            this.menuItemWatermark.Click     += new EventHandler(this.commandBarButtonWatermark_Click);
            this.radMenu.Items.AddRange((RadItem)this.menuItemFile, (RadItem)this.menuItemView, (RadItem)this.menuItemTools);
            this.radMenu.Location    = new Point(0, 0);
            this.radMenu.Name        = "radMenu";
            this.radMenu.Size        = new Size(713, 20);
            this.radMenu.TabIndex    = 4;
            this.radMenu.Text        = "radMenu1";
            this.radMenu.Visible     = false;
            this.AutoScaleDimensions = new SizeF(96f, 96f);
            this.AutoScaleMode       = AutoScaleMode.Dpi;
            this.ClientSize          = new Size(713, 457);
            this.Controls.Add((Control)this.printPreviewControl);
            this.Controls.Add((Control)this.radCommandBar);
            this.Controls.Add((Control)this.radMenu);
            this.Icon        = (Icon)componentResourceManager.GetObject("$this.Icon");
            this.MinimizeBox = false;
            this.Name        = nameof(RadPrintPreviewDialog);
            this.RootElement.ApplyShapeToControl = true;
            this.ShowInTaskbar = false;
            this.StartPosition = FormStartPosition.CenterScreen;
            this.Text          = "Print Preview";
            this.radCommandBar.EndInit();
            this.radMenu.EndInit();
            this.EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();
        }