63 references to Empty
System.Windows.Forms (63)
winforms\Managed\System\WinForms\ArrangedElement.cs (2)
55get { return Padding.Empty; } 59get { return Padding.Empty; }
winforms\Managed\System\WinForms\Control.cs (1)
2205get { return Padding.Empty; }
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (3)
741if (cellStyle.Padding != Padding.Empty) 962Padding.Empty, 991Padding.Empty,
winforms\Managed\System\WinForms\DataGridViewButtonColumn.cs (1)
245!defaultCellStyle.Padding.Equals(Padding.Empty));
winforms\Managed\System\WinForms\DataGridViewCell.cs (6)
2530if (cellStyle != null && cellStyle.Padding != Padding.Empty) 2534else if (rowStyle != null && rowStyle.Padding != Padding.Empty) 2538else if (this.DataGridView.RowsDefaultCellStyle.Padding != Padding.Empty && 2539(rowIndex % 2 == 0 || this.DataGridView.AlternatingRowsDefaultCellStyle.Padding == Padding.Empty)) 2543else if (rowIndex % 2 == 1 && this.DataGridView.AlternatingRowsDefaultCellStyle.Padding != Padding.Empty) 2547else if (columnStyle != null && columnStyle.Padding != Padding.Empty)
winforms\Managed\System\WinForms\DataGridViewCellStyle.cs (3)
654if (dataGridViewCellStyle.Padding != Padding.Empty) 800return this.Padding != Padding.Empty; 907if (this.Padding != Padding.Empty)
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (4)
1224if (cellStyle.Padding != Padding.Empty) 1475Padding.Empty, 1523Padding.Empty, 1567Padding.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)); 746if (columnStyle != null && columnStyle.Padding != Padding.Empty)
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (5)
497if (cellStyle != null && cellStyle.Padding != Padding.Empty) 501else if (columnHeadersStyle.Padding != Padding.Empty) 804if (cellStyle.Padding != Padding.Empty) 806if (cellStyle.Padding != Padding.Empty) 900if (cellStyle.Padding != Padding.Empty)
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
2174if (cellStyle.Padding != Padding.Empty)
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (1)
826if (cellStyle.Padding != Padding.Empty)
winforms\Managed\System\WinForms\DataGridViewImageColumn.cs (1)
342!defaultCellStyle.Padding.Equals(Padding.Empty));
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (1)
1026if (cellStyle.Padding != Padding.Empty)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (2)
2999if (cellStyle != null && cellStyle.Padding != Padding.Empty) 3003else if (columnHeadersStyle.Padding != Padding.Empty)
winforms\Managed\System\WinForms\DataGridViewRow.cs (6)
855if (cellStyle != null && cellStyle.Padding != Padding.Empty) 859else if (rowHeadersStyle.Padding != Padding.Empty) 1100if (rowStyle != null && rowStyle.Padding != Padding.Empty) 1104else if (rowsDefaultCellStyle.Padding != Padding.Empty && 1105(rowIndex % 2 == 0 || alternatingRowsDefaultCellStyle.Padding == Padding.Empty)) 1109else if (rowIndex % 2 == 1 && alternatingRowsDefaultCellStyle.Padding != Padding.Empty)
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (4)
623if (cellStyle != null && cellStyle.Padding != Padding.Empty) 627else if (rowHeadersStyle.Padding != Padding.Empty) 795if (cellStyle.Padding != Padding.Empty) 873if (cellStyle.Padding != Padding.Empty)
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (1)
722if (cellStyle.Padding != Padding.Empty)
winforms\Managed\System\WinForms\DataGridViewTopLeftHeaderCell.cs (1)
318if (cellStyle.Padding != Padding.Empty)
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (2)
513Padding containerPadding = Padding.Empty; 520containerPadding = CommonProperties.GetPadding(container, Padding.Empty);
winforms\Managed\System\WinForms\MDIControlStrip.cs (2)
63item.Padding = Padding.Empty; 77system.Padding = Padding.Empty;
winforms\Managed\System\WinForms\PropertyStore.cs (1)
114return Padding.Empty;
winforms\Managed\System\WinForms\ScrollBar.cs (1)
209return Padding.Empty;
winforms\Managed\System\WinForms\ToolStrip.cs (1)
668get { return Padding.Empty; }
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
722return Padding.Empty;
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
207return Padding.Empty;
winforms\Managed\System\WinForms\ToolStripOverflowButton.cs (1)
61return Padding.Empty;
winforms\Managed\System\WinForms\ToolStripPanel.cs (2)
174get { return Padding.Empty; } 177get { return Padding.Empty; }
winforms\Managed\System\WinForms\ToolStripPanelCell.cs (1)
102this.Margin = Padding.Empty;
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (1)
175get { return Padding.Empty; }
winforms\Managed\System\WinForms\ToolStripScrollButton.cs (2)
57return Padding.Empty; 62return Padding.Empty;
winforms\Managed\System\WinForms\ToolStripSeparator.cs (1)
101return Padding.Empty;