84 references to Padding
System.Windows.Forms (75)
winforms\Managed\System\WinForms\Label.cs (1)
388return new Padding(3, 0, 3, 0);
winforms\Managed\System\WinForms\MDIWindowDialog.cs (2)
116this.okButton.Margin = new System.Windows.Forms.Padding(0, 0, 3, 0); 123this.cancelButton.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
winforms\Managed\System\WinForms\MenuStrip.cs (6)
81DpiHelper.LogicalToDeviceUnits(new Padding(2, 2, 0, 2), DeviceDpi) : 82new Padding(2, 2, 0, 2); 101DpiHelper.LogicalToDeviceUnits(new Padding(3, 2, 0, 2), DeviceDpi) : 102new Padding(3, 2, 0, 2); 105DpiHelper.LogicalToDeviceUnits(new Padding(6, 2, 0, 2), DeviceDpi) : 106new Padding(6, 2, 0, 2);
winforms\Managed\System\WinForms\Padding.cs (4)
183return new Padding(p1.Left + p2.Left, p1.Top + p2.Top, p1.Right + p2.Right, p1.Bottom + p2.Bottom ); 195return new Padding(p1.Left - p2.Left, p1.Top - p2.Top, p1.Right - p2.Right, p1.Bottom - p2.Bottom ); 328return new Padding(values[0], values[1], values[2], values[3]); 400return new Padding(
winforms\Managed\System\WinForms\PropertyGridInternal\GridErrorDlg.cs (3)
173this.lblMessage.Margin = new System.Windows.Forms.Padding(3, 30, 3, 0); 192this.detailsBtn.Margin = new System.Windows.Forms.Padding(12, 3, 29, 3); 251this.cancelBtn.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
winforms\Managed\System\WinForms\SplitterPanel.cs (1)
234return new Padding(0, 0, 0, 0);
winforms\Managed\System\WinForms\StatusStrip.cs (3)
91return new Padding(1, 0, 14, 0); 94return new Padding(14, 0, 1, 0); 101return new Padding(1, 3, 1, DefaultSize.Height);
winforms\Managed\System\WinForms\ToolStrip.cs (1)
100private static readonly Padding defaultPadding = new Padding(0, 0, 1, 0);
winforms\Managed\System\WinForms\ToolStripComboBox.cs (1)
39private static readonly Padding padding = new Padding(1, 0, 1, 0);
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
60private static readonly Padding defaultPadding = new Padding(1, 2, 1, 2);
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (6)
27private static readonly Padding TextPadding = new Padding(8,1,9,1); 28private static readonly Padding CheckPadding = new Padding(5,2,2,2); 29private static readonly Padding ArrowPadding = new Padding(0,0,8,0); 127return new Padding(1,2,padding,2); 129return new Padding(padding,2,1,2); 142rect = LayoutUtils.InflateRect(rect, new Padding(0, this.Padding.Top, 0, this.Padding.Bottom));
winforms\Managed\System\WinForms\ToolStripItem.cs (2)
69private static readonly Padding defaultMargin = new Padding(0, 1, 0, 2); 70private static readonly Padding defaultStatusStripMargin = new Padding(0, 2, 0, 0);
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (2)
61private static readonly Padding defaultPadding = new Padding(4, 0, 4, 0); 62private static readonly Padding defaultDropDownPadding = new Padding(0, 1, 0, 1);
winforms\Managed\System\WinForms\ToolStripPanel.cs (1)
34private static readonly Padding rowMargin = new Padding(3,0,0,0);
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (5)
40private Padding scaledDropDownMenuItemPaintPadding = new Padding(DROP_DOWN_MENU_ITEM_PAINT_PADDING_SIZE + 1, 0, DROP_DOWN_MENU_ITEM_PAINT_PADDING_SIZE, 0); 265Padding deflatePadding = item.RightToLeft == RightToLeft.Yes ? new Padding(0, 1, 1, 1) : new Padding(1, 1, 0, 1); 1413scaledDropDownMenuItemPaintPadding = new Padding(scaledSize + 1, 0, scaledSize, 0); 1433scaledDropDownMenuItemPaintPadding = new Padding(scaledSize + 1, 0, scaledSize, 0);
winforms\Managed\System\WinForms\ToolStripProgressBar.cs (2)
22private static readonly Padding defaultMargin = new Padding(1, 2, 1, 1); 23private static readonly Padding defaultStatusStripMargin = new Padding(1, 3, 1, 3);
winforms\Managed\System\WinForms\ToolStripStatusLabel.cs (1)
30private static readonly Padding defaultMargin = new Padding(0, 3, 0, 2);
winforms\Managed\System\WinForms\ToolStripTextBox.cs (1)
33private static readonly Padding defaultMargin = new Padding(1, 0, 1, 0);
winforms\Managed\System\WinForms\TrustManagerMoreInformation.cs (14)
243this.pictureBoxPublisher.Margin = new System.Windows.Forms.Padding(0, 0, 3, 0); 251this.pictureBoxMachineAccess.Margin = new System.Windows.Forms.Padding(0, 10, 3, 0); 259this.pictureBoxInstallation.Margin = new System.Windows.Forms.Padding(0, 10, 3, 0); 267this.pictureBoxLocation.Margin = new System.Windows.Forms.Padding(0, 10, 3, 0); 275this.lblPublisher.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); 281this.lblPublisherContent.Margin = new System.Windows.Forms.Padding(3, 0, 0, 10); 287this.lblMachineAccess.Margin = new System.Windows.Forms.Padding(3, 10, 0, 0); 293this.lblMachineAccessContent.Margin = new System.Windows.Forms.Padding(3, 0, 0, 10); 299this.lblInstallation.Margin = new System.Windows.Forms.Padding(3, 10, 0, 0); 305this.lblInstallationContent.Margin = new System.Windows.Forms.Padding(3, 0, 0, 10); 311this.lblLocation.Margin = new System.Windows.Forms.Padding(3, 10, 0, 0); 317this.lblLocationContent.Margin = new System.Windows.Forms.Padding(3, 0, 0, 10); 325this.btnClose.Margin = new System.Windows.Forms.Padding(0, 10, 0, 0); 328this.btnClose.Padding = new System.Windows.Forms.Padding(10, 0, 10, 0);
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (17)
193this.tableLayoutPanelOuter.Margin = new System.Windows.Forms.Padding(0, 0, 0, 12); 209this.warningTextTableLayoutPanel.Margin = new System.Windows.Forms.Padding(12, 6, 0, 0); 216this.pictureBoxWarning.Margin = new System.Windows.Forms.Padding(0, 0, 3, 0); 223this.linkLblMoreInformation.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0); 242this.lblQuestion.Margin = new System.Windows.Forms.Padding(12, 12, 12, 0); 259this.tableLayoutPanelButtons.Margin = new System.Windows.Forms.Padding(0, 6, 12, 12); 267this.btnInstall.Margin = new System.Windows.Forms.Padding(0, 0, 3, 0); 270this.btnInstall.Padding = new System.Windows.Forms.Padding(10, 0, 10, 0); 277this.btnCancel.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); 280this.btnCancel.Padding = new System.Windows.Forms.Padding(10, 0, 10, 0); 293this.tableLayoutPanelInfo.Margin = new System.Windows.Forms.Padding(30, 22, 12, 3); 305this.lblName.Margin = new System.Windows.Forms.Padding(0, 0, 3, 0); 311this.lblFrom.Margin = new System.Windows.Forms.Padding(0, 8, 3, 0); 317this.lblPublisher.Margin = new System.Windows.Forms.Padding(0, 8, 3, 0); 324this.linkLblName.Margin = new System.Windows.Forms.Padding(3, 0, 3, 8); 334this.linkLblFromUrl.Margin = new System.Windows.Forms.Padding(3, 0, 3, 8); 345this.linkLblPublisher.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0);
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (1)
837return new Padding(margins.cxLeftWidth, margins.cyTopHeight, margins.cxRightWidth, margins.cyBottomHeight);
System.Workflow.ComponentModel (8)
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (8)
162this.themeNameLabel.Margin = new System.Windows.Forms.Padding(0, 0, 3, 3); 168this.themeLocationLabel.Margin = new System.Windows.Forms.Padding(0, 3, 3, 0); 175this.themeNameTextBox.Margin = new System.Windows.Forms.Padding(3, 0, 0, 3); 196this.themeLocationButton.Margin = new System.Windows.Forms.Padding(3, 3, 0, 0); 202this.themeLocationTextBox.Margin = new System.Windows.Forms.Padding(3, 3, 3, 0); 214this.okButton.Margin = new System.Windows.Forms.Padding(0, 0, 3, 0); 221this.cancelButton.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0); 266this.previewButton.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
System.WorkflowServices (1)
System\Workflow\Activities\Design\OperationPickerDialog.designer.cs (1)
68this.toolStripLabel1.Padding = new System.Windows.Forms.Padding(15, 0, 0, 0);