63 references to Empty
System.Windows.Forms (63)
winforms\Managed\System\WinForms\ArrangedElement.cs (2)
55
get { return Padding.
Empty
; }
59
get { return Padding.
Empty
; }
winforms\Managed\System\WinForms\Control.cs (1)
2205
get { return Padding.
Empty
; }
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 (3)
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\Layout\DockAndAnchorLayout.cs (2)
513
Padding containerPadding = Padding.
Empty
;
520
containerPadding = CommonProperties.GetPadding(container, Padding.
Empty
);
winforms\Managed\System\WinForms\MDIControlStrip.cs (2)
63
item.Padding = Padding.
Empty
;
77
system.Padding = Padding.
Empty
;
winforms\Managed\System\WinForms\PropertyStore.cs (1)
114
return Padding.
Empty
;
winforms\Managed\System\WinForms\ScrollBar.cs (1)
209
return Padding.
Empty
;
winforms\Managed\System\WinForms\ToolStrip.cs (1)
668
get { return Padding.
Empty
; }
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
722
return Padding.
Empty
;
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
207
return Padding.
Empty
;
winforms\Managed\System\WinForms\ToolStripOverflowButton.cs (1)
61
return Padding.
Empty
;
winforms\Managed\System\WinForms\ToolStripPanel.cs (2)
174
get { return Padding.
Empty
; }
177
get { return Padding.
Empty
; }
winforms\Managed\System\WinForms\ToolStripPanelCell.cs (1)
102
this.Margin = Padding.
Empty
;
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (1)
175
get { return Padding.
Empty
; }
winforms\Managed\System\WinForms\ToolStripScrollButton.cs (2)
57
return Padding.
Empty
;
62
return Padding.
Empty
;
winforms\Managed\System\WinForms\ToolStripSeparator.cs (1)
101
return Padding.
Empty
;