TokenListCell.GetPreferredSize Method

Krypton OutlookGrid

TokenListCellGetPreferredSize Method
Krypton OutlookGrid v1.6.0
Overrides GetPreferredSize

Namespace: JDHSoftware.Krypton.Toolkit.KryptonOutlookGrid.CustomColumns
Assembly: JDHSoftware.Krypton.Toolkit.KryptonOutlookGrid (in JDHSoftware.Krypton.Toolkit.KryptonOutlookGrid.dll) Version: 1.6.0.0 (1.6.0.0)
Syntax
protected override Size GetPreferredSize(
	Graphics graphics,
	DataGridViewCellStyle cellStyle,
	int rowIndex,
	Size constraintSize
)
Protected Overrides Function GetPreferredSize ( 
	graphics As Graphics,
	cellStyle As DataGridViewCellStyle,
	rowIndex As Integer,
	constraintSize As Size
) As Size

Parameters

graphics
Type: System.DrawingGraphics

[Missing <param name="graphics"/> documentation for "M:JDHSoftware.Krypton.Toolkit.KryptonOutlookGrid.CustomColumns.TokenListCell.GetPreferredSize(System.Drawing.Graphics,System.Windows.Forms.DataGridViewCellStyle,System.Int32,System.Drawing.Size)"]

cellStyle
Type: System.Windows.FormsDataGridViewCellStyle

[Missing <param name="cellStyle"/> documentation for "M:JDHSoftware.Krypton.Toolkit.KryptonOutlookGrid.CustomColumns.TokenListCell.GetPreferredSize(System.Drawing.Graphics,System.Windows.Forms.DataGridViewCellStyle,System.Int32,System.Drawing.Size)"]

rowIndex
Type: SystemInt32

[Missing <param name="rowIndex"/> documentation for "M:JDHSoftware.Krypton.Toolkit.KryptonOutlookGrid.CustomColumns.TokenListCell.GetPreferredSize(System.Drawing.Graphics,System.Windows.Forms.DataGridViewCellStyle,System.Int32,System.Drawing.Size)"]

constraintSize
Type: System.DrawingSize

[Missing <param name="constraintSize"/> documentation for "M:JDHSoftware.Krypton.Toolkit.KryptonOutlookGrid.CustomColumns.TokenListCell.GetPreferredSize(System.Drawing.Graphics,System.Windows.Forms.DataGridViewCellStyle,System.Int32,System.Drawing.Size)"]

Return Value

Type: Size

[Missing <returns> documentation for "M:JDHSoftware.Krypton.Toolkit.KryptonOutlookGrid.CustomColumns.TokenListCell.GetPreferredSize(System.Drawing.Graphics,System.Windows.Forms.DataGridViewCellStyle,System.Int32,System.Drawing.Size)"]

See Also