112 instantiations of Padding
System.Web.Entity.Design (7)
System\Data\WebControls\Design\Util\WizardForm.cs (7)
136
this._previousButton.Margin = new System.Windows.Forms.
Padding
(0);
145
this._dummyLabel1.Margin = new System.Windows.Forms.
Padding
(0);
155
this._nextButton.Margin = new System.Windows.Forms.
Padding
(0);
164
this._dummyLabel2.Margin = new System.Windows.Forms.
Padding
(0);
175
this._finishButton.Margin = new System.Windows.Forms.
Padding
(0);
184
this._dummyLabel3.Margin = new System.Windows.Forms.
Padding
(0);
195
this._cancelButton.Margin = new System.Windows.Forms.
Padding
(0);
System.Windows.Forms (94)
winforms\Managed\System\WinForms\GroupBox.cs (1)
176
return new
Padding
(3);
winforms\Managed\System\WinForms\Label.cs (1)
388
return new
Padding
(3, 0, 3, 0);
winforms\Managed\System\WinForms\Layout\CommonProperties.cs (3)
46
internal static readonly Padding DefaultMargin = new
Padding
(3);
249
Debug.Assert(value != GetPadding(element, new
Padding
(-7105)),
256
Debug.Assert(GetPadding(element, new
Padding
(-7105)) == value, "Error detected setting Padding.");
winforms\Managed\System\WinForms\MDIWindowDialog.cs (2)
116
this.okButton.Margin = new System.Windows.Forms.
Padding
(0, 0, 3, 0);
123
this.cancelButton.Margin = new System.Windows.Forms.
Padding
(3, 0, 0, 0);
winforms\Managed\System\WinForms\MenuStrip.cs (6)
81
DpiHelper.LogicalToDeviceUnits(new
Padding
(2, 2, 0, 2), DeviceDpi) :
82
new
Padding
(2, 2, 0, 2);
101
DpiHelper.LogicalToDeviceUnits(new
Padding
(3, 2, 0, 2), DeviceDpi) :
102
new
Padding
(3, 2, 0, 2);
105
DpiHelper.LogicalToDeviceUnits(new
Padding
(6, 2, 0, 2), DeviceDpi) :
106
new
Padding
(6, 2, 0, 2);
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
466
get { return new
Padding
(9); }
winforms\Managed\System\WinForms\Padding.cs (6)
29
public static readonly Padding Empty = new
Padding
(0);
183
return new
Padding
(p1.Left + p2.Left, p1.Top + p2.Top, p1.Right + p2.Right, p1.Bottom + p2.Bottom );
195
return new
Padding
(p1.Left - p2.Left, p1.Top - p2.Top, p1.Right - p2.Right, p1.Bottom - p2.Bottom );
328
return new
Padding
(values[0], values[1], values[2], values[3]);
397
return new
Padding
(all);
400
return new
Padding
(
winforms\Managed\System\WinForms\PropertyGridInternal\GridErrorDlg.cs (3)
173
this.lblMessage.Margin = new System.Windows.Forms.
Padding
(3, 30, 3, 0);
192
this.detailsBtn.Margin = new System.Windows.Forms.
Padding
(12, 3, 29, 3);
251
this.cancelBtn.Margin = new System.Windows.Forms.
Padding
(0, 3, 3, 3);
winforms\Managed\System\WinForms\ScrollableControl.cs (1)
1566
owner.Padding = new
Padding
(value);
winforms\Managed\System\WinForms\SplitterPanel.cs (1)
234
return new
Padding
(0, 0, 0, 0);
winforms\Managed\System\WinForms\StatusStrip.cs (3)
91
return new
Padding
(1, 0, 14, 0);
94
return new
Padding
(14, 0, 1, 0);
101
return new
Padding
(1, 3, 1, DefaultSize.Height);
winforms\Managed\System\WinForms\ToolStrip.cs (2)
100
private static readonly Padding defaultPadding = new
Padding
(0, 0, 1, 0);
101
private static readonly Padding defaultGripMargin = new
Padding
(2);
winforms\Managed\System\WinForms\ToolStripComboBox.cs (2)
38
private static readonly Padding dropDownPadding = new
Padding
(2);
39
private static readonly Padding padding = new
Padding
(1, 0, 1, 0);
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
60
private static readonly Padding defaultPadding = new
Padding
(1, 2, 1, 2);
winforms\Managed\System\WinForms\ToolStripDropDownButton.cs (1)
236
private static Padding dropDownArrowPadding = new
Padding
(DROP_DOWN_ARROW_PADDING);
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (7)
26
private static readonly Padding ImagePadding = new
Padding
(2);
27
private static readonly Padding TextPadding = new
Padding
(8,1,9,1);
28
private static readonly Padding CheckPadding = new
Padding
(5,2,2,2);
29
private static readonly Padding ArrowPadding = new
Padding
(0,0,8,0);
127
return new
Padding
(1,2,padding,2);
129
return new
Padding
(padding,2,1,2);
142
rect = LayoutUtils.InflateRect(rect, new
Padding
(0, this.Padding.Top, 0, this.Padding.Bottom));
winforms\Managed\System\WinForms\ToolStripGrip.cs (1)
27
private static readonly Padding defaultPadding = new
Padding
(2);
winforms\Managed\System\WinForms\ToolStripItem.cs (2)
69
private static readonly Padding defaultMargin = new
Padding
(0, 1, 0, 2);
70
private static readonly Padding defaultStatusStripMargin = new
Padding
(0, 2, 0, 0);
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (2)
61
private static readonly Padding defaultPadding = new
Padding
(4, 0, 4, 0);
62
private static readonly Padding defaultDropDownPadding = new
Padding
(0, 1, 0, 1);
winforms\Managed\System\WinForms\ToolStripPanel.cs (2)
34
private static readonly Padding rowMargin = new
Padding
(3,0,0,0);
72
internal static readonly Padding DragMargin = new
Padding
(10);
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (5)
40
private Padding scaledDropDownMenuItemPaintPadding = new
Padding
(DROP_DOWN_MENU_ITEM_PAINT_PADDING_SIZE + 1, 0, DROP_DOWN_MENU_ITEM_PAINT_PADDING_SIZE, 0);
265
Padding deflatePadding = item.RightToLeft == RightToLeft.Yes ? new
Padding
(0, 1, 1, 1) : new
Padding
(1, 1, 0, 1);
1413
scaledDropDownMenuItemPaintPadding = new
Padding
(scaledSize + 1, 0, scaledSize, 0);
1433
scaledDropDownMenuItemPaintPadding = new
Padding
(scaledSize + 1, 0, scaledSize, 0);
winforms\Managed\System\WinForms\ToolStripProgressBar.cs (2)
22
private static readonly Padding defaultMargin = new
Padding
(1, 2, 1, 1);
23
private static readonly Padding defaultStatusStripMargin = new
Padding
(1, 3, 1, 3);
winforms\Managed\System\WinForms\ToolStripStatusLabel.cs (1)
30
private static readonly Padding defaultMargin = new
Padding
(0, 3, 0, 2);
winforms\Managed\System\WinForms\ToolStripTextBox.cs (2)
33
private static readonly Padding defaultMargin = new
Padding
(1, 0, 1, 0);
34
private static readonly Padding defaultDropDownMargin = new
Padding
(1);
winforms\Managed\System\WinForms\TrustManagerMoreInformation.cs (15)
228
this.tableLayoutPanel.Margin = new System.Windows.Forms.
Padding
(12);
243
this.pictureBoxPublisher.Margin = new System.Windows.Forms.
Padding
(0, 0, 3, 0);
251
this.pictureBoxMachineAccess.Margin = new System.Windows.Forms.
Padding
(0, 10, 3, 0);
259
this.pictureBoxInstallation.Margin = new System.Windows.Forms.
Padding
(0, 10, 3, 0);
267
this.pictureBoxLocation.Margin = new System.Windows.Forms.
Padding
(0, 10, 3, 0);
275
this.lblPublisher.Margin = new System.Windows.Forms.
Padding
(3, 0, 0, 0);
281
this.lblPublisherContent.Margin = new System.Windows.Forms.
Padding
(3, 0, 0, 10);
287
this.lblMachineAccess.Margin = new System.Windows.Forms.
Padding
(3, 10, 0, 0);
293
this.lblMachineAccessContent.Margin = new System.Windows.Forms.
Padding
(3, 0, 0, 10);
299
this.lblInstallation.Margin = new System.Windows.Forms.
Padding
(3, 10, 0, 0);
305
this.lblInstallationContent.Margin = new System.Windows.Forms.
Padding
(3, 0, 0, 10);
311
this.lblLocation.Margin = new System.Windows.Forms.
Padding
(3, 10, 0, 0);
317
this.lblLocationContent.Margin = new System.Windows.Forms.
Padding
(3, 0, 0, 10);
325
this.btnClose.Margin = new System.Windows.Forms.
Padding
(0, 10, 0, 0);
328
this.btnClose.Padding = new System.Windows.Forms.
Padding
(10, 0, 10, 0);
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (20)
193
this.tableLayoutPanelOuter.Margin = new System.Windows.Forms.
Padding
(0, 0, 0, 12);
209
this.warningTextTableLayoutPanel.Margin = new System.Windows.Forms.
Padding
(12, 6, 0, 0);
216
this.pictureBoxWarning.Margin = new System.Windows.Forms.
Padding
(0, 0, 3, 0);
223
this.linkLblMoreInformation.Margin = new System.Windows.Forms.
Padding
(3, 0, 3, 0);
235
this.tableLayoutPanelQuestion.Margin = new System.Windows.Forms.
Padding
(0);
242
this.lblQuestion.Margin = new System.Windows.Forms.
Padding
(12, 12, 12, 0);
248
this.pictureBoxQuestion.Margin = new System.Windows.Forms.
Padding
(0);
259
this.tableLayoutPanelButtons.Margin = new System.Windows.Forms.
Padding
(0, 6, 12, 12);
267
this.btnInstall.Margin = new System.Windows.Forms.
Padding
(0, 0, 3, 0);
270
this.btnInstall.Padding = new System.Windows.Forms.
Padding
(10, 0, 10, 0);
277
this.btnCancel.Margin = new System.Windows.Forms.
Padding
(3, 0, 0, 0);
280
this.btnCancel.Padding = new System.Windows.Forms.
Padding
(10, 0, 10, 0);
293
this.tableLayoutPanelInfo.Margin = new System.Windows.Forms.
Padding
(30, 22, 12, 3);
305
this.lblName.Margin = new System.Windows.Forms.
Padding
(0, 0, 3, 0);
311
this.lblFrom.Margin = new System.Windows.Forms.
Padding
(0, 8, 3, 0);
317
this.lblPublisher.Margin = new System.Windows.Forms.
Padding
(0, 8, 3, 0);
324
this.linkLblName.Margin = new System.Windows.Forms.
Padding
(3, 0, 3, 8);
334
this.linkLblFromUrl.Margin = new System.Windows.Forms.
Padding
(3, 0, 3, 8);
345
this.linkLblPublisher.Margin = new System.Windows.Forms.
Padding
(3, 0, 3, 0);
355
this.lineLabel.Margin = new System.Windows.Forms.
Padding
(0);
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (1)
837
return new
Padding
(margins.cxLeftWidth, margins.cyTopHeight, margins.cxRightWidth, margins.cyBottomHeight);
System.Workflow.ComponentModel (9)
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (9)
162
this.themeNameLabel.Margin = new System.Windows.Forms.
Padding
(0, 0, 3, 3);
168
this.themeLocationLabel.Margin = new System.Windows.Forms.
Padding
(0, 3, 3, 0);
175
this.themeNameTextBox.Margin = new System.Windows.Forms.
Padding
(3, 0, 0, 3);
196
this.themeLocationButton.Margin = new System.Windows.Forms.
Padding
(3, 3, 0, 0);
202
this.themeLocationTextBox.Margin = new System.Windows.Forms.
Padding
(3, 3, 3, 0);
214
this.okButton.Margin = new System.Windows.Forms.
Padding
(0, 0, 3, 0);
221
this.cancelButton.Margin = new System.Windows.Forms.
Padding
(3, 0, 3, 0);
231
this.themePanel.Margin = new System.Windows.Forms.
Padding
(4);
266
this.previewButton.Margin = new System.Windows.Forms.
Padding
(3, 0, 0, 0);
System.WorkflowServices (2)
System\Workflow\Activities\Design\OperationPickerDialog.designer.cs (2)
68
this.toolStripLabel1.Padding = new System.Windows.Forms.
Padding
(15, 0, 0, 0);
116
this.operationsPanel.Padding = new System.Windows.Forms.
Padding
(3);
278 references to Padding
System.Windows.Forms (278)
winforms\Managed\System\WinForms\ArrangedElement.cs (6)
54
protected virtual
Padding
DefaultMargin {
55
get { return
Padding
.Empty; }
58
protected virtual
Padding
DefaultPadding {
59
get { return
Padding
.Empty; }
73
public
Padding
Margin {
84
public virtual
Padding
Padding {
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (2)
956
internal
Padding
padding;
1507
internal static LayoutOptions CommonLayout(Rectangle clientRectangle,
Padding
padding, bool isDefault, Font font, string text, bool enabled, ContentAlignment textAlign, RightToLeft rtl)
winforms\Managed\System\WinForms\ButtonInternal\ButtonFlatAdapter.cs (1)
287
internal static LayoutOptions PaintFlatLayout(Graphics g, bool up, bool check, int borderSize, Rectangle clientRectangle,
Padding
padding,
winforms\Managed\System\WinForms\ButtonInternal\ButtonPopupAdapter.cs (1)
159
internal static LayoutOptions PaintPopupLayout(Graphics g, bool up, int paintedBorder, Rectangle clientRectangle,
Padding
padding,
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxPopupAdapter.cs (1)
117
internal static LayoutOptions PaintPopupLayout(Graphics g, bool show3D, int checkSize, Rectangle clientRectangle,
Padding
padding,
winforms\Managed\System\WinForms\CheckedListBox.cs (1)
486
public new
Padding
Padding {
winforms\Managed\System\WinForms\ComboBox.cs (1)
889
public new
Padding
Padding {
winforms\Managed\System\WinForms\Control.cs (7)
2189
protected virtual
Padding
DefaultMargin {
2204
protected virtual
Padding
DefaultPadding {
2205
get { return
Padding
.Empty; }
3260
public
Padding
Margin
4770
public
Padding
Padding {
11502
Padding
padding = Padding;
11503
Padding
margins = Margin;
winforms\Managed\System\WinForms\DataGridView.cs (1)
3861
public new
Padding
Padding
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (3)
741
if (cellStyle.Padding !=
Padding
.Empty)
962
Padding
.Empty,
991
Padding
.Empty,
winforms\Managed\System\WinForms\DataGridViewButtonColumn.cs (1)
245
!defaultCellStyle.Padding.Equals(
Padding
.Empty));
winforms\Managed\System\WinForms\DataGridViewCell.cs (6)
2530
if (cellStyle != null && cellStyle.Padding !=
Padding
.Empty)
2534
else if (rowStyle != null && rowStyle.Padding !=
Padding
.Empty)
2538
else if (this.DataGridView.RowsDefaultCellStyle.Padding !=
Padding
.Empty &&
2539
(rowIndex % 2 == 0 || this.DataGridView.AlternatingRowsDefaultCellStyle.Padding ==
Padding
.Empty))
2543
else if (rowIndex % 2 == 1 && this.DataGridView.AlternatingRowsDefaultCellStyle.Padding !=
Padding
.Empty)
2547
else if (columnStyle != null && columnStyle.Padding !=
Padding
.Empty)
winforms\Managed\System\WinForms\DataGridViewCellStyle.cs (5)
421
public
Padding
Padding
448
internal
Padding
PaddingInternal
654
if (dataGridViewCellStyle.Padding !=
Padding
.Empty)
800
return this.Padding !=
Padding
.Empty;
907
if (this.Padding !=
Padding
.Empty)
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (4)
1224
if (cellStyle.Padding !=
Padding
.Empty)
1475
Padding
.Empty,
1523
Padding
.Empty,
1567
Padding
.Empty,
winforms\Managed\System\WinForms\DataGridViewCheckBoxColumn.cs (1)
350
!defaultCellStyle.Padding.Equals(
Padding
.Empty));
winforms\Managed\System\WinForms\DataGridViewColumn.cs (2)
326
!defaultCellStyle.Padding.Equals(
Padding
.Empty));
746
if (columnStyle != null && columnStyle.Padding !=
Padding
.Empty)
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (5)
497
if (cellStyle != null && cellStyle.Padding !=
Padding
.Empty)
501
else if (columnHeadersStyle.Padding !=
Padding
.Empty)
804
if (cellStyle.Padding !=
Padding
.Empty)
806
if (cellStyle.Padding !=
Padding
.Empty)
900
if (cellStyle.Padding !=
Padding
.Empty)
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
2174
if (cellStyle.Padding !=
Padding
.Empty)
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (1)
826
if (cellStyle.Padding !=
Padding
.Empty)
winforms\Managed\System\WinForms\DataGridViewImageColumn.cs (1)
342
!defaultCellStyle.Padding.Equals(
Padding
.Empty));
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (1)
1026
if (cellStyle.Padding !=
Padding
.Empty)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (2)
2999
if (cellStyle != null && cellStyle.Padding !=
Padding
.Empty)
3003
else if (columnHeadersStyle.Padding !=
Padding
.Empty)
winforms\Managed\System\WinForms\DataGridViewRow.cs (6)
855
if (cellStyle != null && cellStyle.Padding !=
Padding
.Empty)
859
else if (rowHeadersStyle.Padding !=
Padding
.Empty)
1100
if (rowStyle != null && rowStyle.Padding !=
Padding
.Empty)
1104
else if (rowsDefaultCellStyle.Padding !=
Padding
.Empty &&
1105
(rowIndex % 2 == 0 || alternatingRowsDefaultCellStyle.Padding ==
Padding
.Empty))
1109
else if (rowIndex % 2 == 1 && alternatingRowsDefaultCellStyle.Padding !=
Padding
.Empty)
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (4)
623
if (cellStyle != null && cellStyle.Padding !=
Padding
.Empty)
627
else if (rowHeadersStyle.Padding !=
Padding
.Empty)
795
if (cellStyle.Padding !=
Padding
.Empty)
873
if (cellStyle.Padding !=
Padding
.Empty)
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (1)
722
if (cellStyle.Padding !=
Padding
.Empty)
winforms\Managed\System\WinForms\DataGridViewTopLeftHeaderCell.cs (1)
318
if (cellStyle.Padding !=
Padding
.Empty)
winforms\Managed\System\WinForms\DateTimePicker.cs (1)
850
public new
Padding
Padding {
winforms\Managed\System\WinForms\DomainUpDown.cs (1)
111
public new
Padding
Padding {
winforms\Managed\System\WinForms\Form.cs (1)
1653
public new
Padding
Margin {
winforms\Managed\System\WinForms\GroupBox.cs (2)
174
protected override
Padding
DefaultPadding {
219
Padding
padding = Padding;
winforms\Managed\System\WinForms\Label.cs (1)
386
protected override
Padding
DefaultMargin {
winforms\Managed\System\WinForms\Layout\CommonProperties.cs (8)
46
internal static readonly
Padding
DefaultMargin = new Padding(3);
104
internal static
Padding
GetMargin(IArrangedElement element) {
106
Padding
padding = element.Properties.GetPadding(_marginProperty, out found);
143
internal static
Padding
GetPadding(IArrangedElement element,
Padding
defaultPadding) {
145
Padding
padding = element.Properties.GetPadding(_paddingProperty, out found);
191
internal static void SetMargin(IArrangedElement element,
Padding
value) {
248
internal static void SetPadding(IArrangedElement element,
Padding
value) {
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (4)
513
Padding
containerPadding =
Padding
.Empty;
520
containerPadding = CommonProperties.GetPadding(container,
Padding
.Empty);
830
Padding
margin = CommonProperties.GetMargin(element);
winforms\Managed\System\WinForms\Layout\FlowLayout.cs (2)
576
public virtual
Padding
Margin {
624
public override
Padding
Margin {
winforms\Managed\System\WinForms\Layout\LayoutUtils.cs (6)
137
public static
Padding
ClampNegativePaddingToZero(
Padding
padding) {
323
public static Rectangle InflateRect(Rectangle rect,
Padding
padding) {
331
public static Rectangle DeflateRect(Rectangle rect,
Padding
padding) {
354
public static
Padding
FlipPadding(
Padding
padding) {
winforms\Managed\System\WinForms\Layout\TableLayout.cs (3)
740
Padding
margin = CommonProperties.GetMargin(element);
845
Padding
margin = CommonProperties.GetMargin(element);
1219
Padding
elementMargin = CommonProperties.GetMargin(element);
winforms\Managed\System\WinForms\LinkLabel.cs (1)
453
public new
Padding
Padding {
winforms\Managed\System\WinForms\ListBox.cs (1)
1247
public new
Padding
Padding {
winforms\Managed\System\WinForms\ListView.cs (1)
2124
public new
Padding
Padding {
winforms\Managed\System\WinForms\MDIControlStrip.cs (2)
63
item.Padding =
Padding
.Empty;
77
system.Padding =
Padding
.Empty;
winforms\Managed\System\WinForms\MenuStrip.cs (2)
76
protected override
Padding
DefaultGripMargin {
95
protected override
Padding
DefaultPadding {
winforms\Managed\System\WinForms\MonthCalendar.cs (2)
465
protected override
Padding
DefaultMargin {
717
public new
Padding
Padding {
winforms\Managed\System\WinForms\NumericUpDown.cs (1)
269
public new
Padding
Padding {
winforms\Managed\System\WinForms\Padding.cs (32)
29
public static readonly
Padding
Empty = new Padding(0);
156
public static
Padding
Add(
Padding
p1,
Padding
p2) {
161
public static
Padding
Subtract(
Padding
p1,
Padding
p2) {
168
if(other is
Padding
) {
169
return ((
Padding
)other) == this;
179
/// Performs vector addition of two <see cref='System.Windows.Forms.
Padding
'/> objects.
182
public static
Padding
operator +(
Padding
p1,
Padding
p2) {
194
public static
Padding
operator -(
Padding
p1,
Padding
p2) {
200
/// Tests whether two <see cref='System.Windows.Forms.
Padding
'/> objects
203
public static bool operator ==(
Padding
p1,
Padding
p2) {
210
/// Tests whether two <see cref='System.Windows.Forms.
Padding
'/> objects are different.
213
public static bool operator !=(
Padding
p1,
Padding
p2) {
347
if (value is
Padding
) {
349
Padding
padding = (
Padding
)value;
368
Padding
padding = (
Padding
) value;
372
typeof(
Padding
).GetConstructor(new Type[] {typeof(int)}),
377
typeof(
Padding
).GetConstructor(new Type[] {typeof(int), typeof(int), typeof(int), typeof(int)}),
393
Padding
original = (
Padding
) context.PropertyDescriptor.GetValue(context.Instance);
413
PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(
Padding
), attributes);
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (2)
408
new public
Padding
Margin {
479
new public
Padding
Padding {
winforms\Managed\System\WinForms\ProgressBar.cs (1)
477
public new
Padding
Padding {
winforms\Managed\System\WinForms\PropertyGrid.cs (2)
240
Padding
toolStripPadding = toolStrip.Padding;
1048
public new
Padding
Padding {
winforms\Managed\System\WinForms\PropertyStore.cs (6)
88
public
Padding
GetPadding(int key) {
95
public
Padding
GetPadding(int key, out bool found) {
114
return
Padding
.Empty;
638
public void SetPadding(int key,
Padding
value) {
929
public
Padding
Padding;
930
public PaddingWrapper(
Padding
padding){
winforms\Managed\System\WinForms\ScrollableControl.cs (4)
1595
Padding
padding = owner.Padding;
1625
Padding
padding = owner.Padding;
1655
Padding
padding = owner.Padding;
1685
Padding
padding = owner.Padding;
winforms\Managed\System\WinForms\ScrollBar.cs (2)
207
protected override
Padding
DefaultMargin {
209
return
Padding
.Empty;
winforms\Managed\System\WinForms\SplitContainer.cs (1)
649
public new
Padding
Padding {
winforms\Managed\System\WinForms\SplitterPanel.cs (1)
232
protected override
Padding
DefaultMargin {
winforms\Managed\System\WinForms\StatusStrip.cs (2)
87
protected override
Padding
DefaultPadding {
144
public new
Padding
Padding {
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
891
public new
Padding
Padding {
winforms\Managed\System\WinForms\ToolStrip.cs (17)
100
private static readonly
Padding
defaultPadding = new Padding(0, 0, 1, 0);
101
private static readonly
Padding
defaultGripMargin = new Padding(2);
102
private
Padding
scaledDefaultPadding = defaultPadding;
103
private
Padding
scaledDefaultGripMargin = defaultGripMargin;
659
protected override
Padding
DefaultPadding {
667
protected override
Padding
DefaultMargin {
668
get { return
Padding
.Empty; }
677
protected virtual
Padding
DefaultGripMargin {
976
public
Padding
GripMargin {
2457
Padding
padding = Padding;
2459
Padding
newPadding = Padding;
2493
Padding
itemMargin = item.Margin;
2513
Padding
overflowItemMargin = overflowItem.Margin;
2523
Padding
gripMargin = toolStrip.GripMargin;
2549
Padding
itemMargin = item.Margin;
2568
Padding
overflowItemMargin = overflowItem.Margin;
2577
Padding
gripMargin = toolStrip.GripMargin;
winforms\Managed\System\WinForms\ToolStripComboBox.cs (5)
38
private static readonly
Padding
dropDownPadding = new Padding(2);
39
private static readonly
Padding
padding = new Padding(1, 0, 1, 0);
41
private
Padding
scaledDropDownPadding = dropDownPadding;
42
private
Padding
scaledPadding = padding;
217
protected internal override
Padding
DefaultMargin {
winforms\Managed\System\WinForms\ToolStripDropDown.cs (4)
60
private static readonly
Padding
defaultPadding = new Padding(1, 2, 1, 2);
61
private
Padding
scaledDefaultPadding = defaultPadding;
363
protected override
Padding
DefaultPadding {
531
public new
Padding
GripMargin{
winforms\Managed\System\WinForms\ToolStripDropDownButton.cs (2)
236
private static
Padding
dropDownArrowPadding = new Padding(DROP_DOWN_ARROW_PADDING);
237
private
Padding
scaledDropDownArrowPadding = dropDownArrowPadding;
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (9)
26
private static readonly
Padding
ImagePadding = new Padding(2);
27
private static readonly
Padding
TextPadding = new Padding(8,1,9,1);
28
private static readonly
Padding
CheckPadding = new Padding(5,2,2,2);
29
private static readonly
Padding
ArrowPadding = new Padding(0,0,8,0);
64
private
Padding
scaledImagePadding = ImagePadding;
65
private
Padding
scaledTextPadding = TextPadding;
66
private
Padding
scaledCheckPadding = CheckPadding;
67
private
Padding
scaledArrowPadding = ArrowPadding;
118
protected override
Padding
DefaultPadding {
winforms\Managed\System\WinForms\ToolStripGrip.cs (3)
27
private static readonly
Padding
defaultPadding = new Padding(2);
30
private
Padding
scaledDefaultPadding = defaultPadding;
51
protected internal override
Padding
DefaultMargin {
winforms\Managed\System\WinForms\ToolStripItem.cs (9)
69
private static readonly
Padding
defaultMargin = new Padding(0, 1, 0, 2);
70
private static readonly
Padding
defaultStatusStripMargin = new Padding(0, 2, 0, 0);
71
private
Padding
scaledDefaultMargin = defaultMargin;
72
private
Padding
scaledDefaultStatusStripMargin = defaultStatusStripMargin;
705
protected internal virtual
Padding
DefaultMargin {
720
protected virtual
Padding
DefaultPadding {
722
return
Padding
.Empty;
1518
public
Padding
Margin {
1869
public virtual
Padding
Padding {
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (7)
61
private static readonly
Padding
defaultPadding = new Padding(4, 0, 4, 0);
62
private static readonly
Padding
defaultDropDownPadding = new Padding(0, 1, 0, 1);
64
private
Padding
scaledDefaultPadding = defaultPadding;
65
private
Padding
scaledDefaultDropDownPadding = defaultDropDownPadding;
205
protected internal override
Padding
DefaultMargin {
207
return
Padding
.Empty;
211
protected override
Padding
DefaultPadding {
winforms\Managed\System\WinForms\ToolStripOverflowButton.cs (2)
59
protected internal override
Padding
DefaultMargin {
61
return
Padding
.Empty;
winforms\Managed\System\WinForms\ToolStripPanel.cs (8)
34
private static readonly
Padding
rowMargin = new Padding(3,0,0,0);
35
private
Padding
scaledRowMargin = rowMargin;
72
internal static readonly
Padding
DragMargin = new Padding(10);
173
protected override
Padding
DefaultPadding {
174
get { return
Padding
.Empty; }
176
protected override
Padding
DefaultMargin {
177
get { return
Padding
.Empty; }
180
public
Padding
RowMargin {
winforms\Managed\System\WinForms\ToolStripPanelCell.cs (1)
102
this.Margin =
Padding
.Empty;
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (23)
150
protected virtual
Padding
DefaultMargin {
155
Padding
padding = ToolStripPanel.RowMargin;
174
protected virtual
Padding
DefaultPadding {
175
get { return
Padding
.Empty; }
210
public
Padding
Margin {
216
public virtual
Padding
Padding {
1013
Padding
cellMargin = lastCellOnRow.Margin;
1083
Padding
cellMargin = cell.Margin;
1138
Padding
cellMargin;
1250
Padding
nextCellMargin = nextCell.Margin;
1328
Padding
nextCellMargin = nextCell.Margin;
1364
Padding
lastCellMargin = lastCell.Margin;
1382
Padding
newCellMargin = newCell.Margin;
1410
Padding
cellMargin = cell.Margin;
1524
Padding
cellMargin = lastCellOnRow.Margin;
1597
Padding
cellMargin = cell.Margin;
1653
Padding
cellMargin;
1760
Padding
cellMargin = lastCellOnRow.Margin;
1859
Padding
nextCellMargin = nextCell.Margin;
1896
Padding
lastCellMargin = lastCell.Margin;
1916
Padding
newCellMargin = newCell.Margin;
1936
Padding
cellMargin = cell.Margin;
1964
Padding
nextCellMargin = nextCell.Margin;
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (2)
40
private
Padding
scaledDropDownMenuItemPaintPadding = new Padding(DROP_DOWN_MENU_ITEM_PAINT_PADDING_SIZE + 1, 0, DROP_DOWN_MENU_ITEM_PAINT_PADDING_SIZE, 0);
265
Padding
deflatePadding = item.RightToLeft == RightToLeft.Yes ? new Padding(0, 1, 1, 1) : new Padding(1, 1, 0, 1);
winforms\Managed\System\WinForms\ToolStripProgressBar.cs (5)
22
private static readonly
Padding
defaultMargin = new Padding(1, 2, 1, 1);
23
private static readonly
Padding
defaultStatusStripMargin = new Padding(1, 3, 1, 3);
24
private
Padding
scaledDefaultMargin = defaultMargin;
25
private
Padding
scaledDefaultStatusStripMargin = defaultStatusStripMargin;
102
protected internal override
Padding
DefaultMargin {
winforms\Managed\System\WinForms\ToolStripScrollButton.cs (4)
55
protected internal override
Padding
DefaultMargin {
57
return
Padding
.Empty;
60
protected override
Padding
DefaultPadding {
62
return
Padding
.Empty;
winforms\Managed\System\WinForms\ToolStripSeparator.cs (2)
99
protected internal override
Padding
DefaultMargin {
101
return
Padding
.Empty;
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (1)
686
public override
Padding
Padding {
winforms\Managed\System\WinForms\ToolStripSplitStackLayout.cs (3)
320
Padding
itemMargin = item.Margin;
454
Padding
itemMargin = item.Margin;
599
Padding
itemMargin = item.Margin;
winforms\Managed\System\WinForms\ToolStripStatusLabel.cs (3)
30
private static readonly
Padding
defaultMargin = new Padding(0, 3, 0, 2);
31
private
Padding
scaledDefaultMargin = defaultMargin;
163
protected internal override
Padding
DefaultMargin {
winforms\Managed\System\WinForms\ToolStripTextBox.cs (5)
33
private static readonly
Padding
defaultMargin = new Padding(1, 0, 1, 0);
34
private static readonly
Padding
defaultDropDownMargin = new Padding(1);
35
private
Padding
scaledDefaultMargin = defaultMargin;
36
private
Padding
scaledDefaultDropDownMargin = defaultDropDownMargin;
92
protected internal override
Padding
DefaultMargin {
winforms\Managed\System\WinForms\TrackBar.cs (1)
480
public new
Padding
Padding {
winforms\Managed\System\WinForms\TreeView.cs (1)
967
public new
Padding
Padding {
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (1)
819
public
Padding
GetMargins(IDeviceContext dc, MarginProperty prop) {
winforms\Managed\System\WinForms\WebBrowser.cs (1)
530
public new
Padding
Padding {