.NET Framework Class Library DataGridViewCell..::.PositionEditingPanel Method Sets the location and size of the editing panel hosted by the cell, and returns the normal bounds of the editing control within the editing panel.
Namespace:
System.Windows.Forms
Assembly:
System.Windows.Forms (in System.Windows.Forms.dll)

Syntax
Public Overridable Function PositionEditingPanel ( _
cellBounds As Rectangle, _
cellClip As Rectangle, _
cellStyle As DataGridViewCellStyle, _
singleVerticalBorderAdded As Boolean, _
singleHorizontalBorderAdded As Boolean, _
isFirstDisplayedColumn As Boolean, _
isFirstDisplayedRow As Boolean _
) As Rectangle
public virtual Rectangle PositionEditingPanel(
Rectangle cellBounds,
Rectangle cellClip,
DataGridViewCellStyle cellStyle,
bool singleVerticalBorderAdded,
bool singleHorizontalBorderAdded,
bool isFirstDisplayedColumn,
bool isFirstDisplayedRow
)
public:
virtual Rectangle PositionEditingPanel(
Rectangle cellBounds,
Rectangle cellClip,
DataGridViewCellStyle^ cellStyle,
bool singleVerticalBorderAdded,
bool singleHorizontalBorderAdded,
bool isFirstDisplayedColumn,
bool isFirstDisplayedRow
)
abstract PositionEditingPanel :
cellBounds:Rectangle *
cellClip:Rectangle *
cellStyle:DataGridViewCellStyle *
singleVerticalBorderAdded:bool *
singleHorizontalBorderAdded:bool *
isFirstDisplayedColumn:bool *
isFirstDisplayedRow:bool -> Rectangle
override PositionEditingPanel :
cellBounds:Rectangle *
cellClip:Rectangle *
cellStyle:DataGridViewCellStyle *
singleVerticalBorderAdded:bool *
singleHorizontalBorderAdded:bool *
isFirstDisplayedColumn:bool *
isFirstDisplayedRow:bool -> Rectangle

Exceptions

Version Information
.NET FrameworkSupported in: 4, 3.5, 3.0, 2.0 .NET Framework Client ProfileSupported in: 4, 3.5 SP1

Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role not supported), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

See Also
|
Biblioteca de clases de .NET Framework DataGridViewCell..::.PositionEditingPanel (Método) Establece la ubicación y tamaño del panel de edición que hospeda la celda y devuelve los límites normales del control de edición dentro del panel de edición.
Espacio de nombres:
System.Windows.Forms
Ensamblado:
System.Windows.Forms (en System.Windows.Forms.dll)

Sintaxis
Public Overridable Function PositionEditingPanel ( _
cellBounds As Rectangle, _
cellClip As Rectangle, _
cellStyle As DataGridViewCellStyle, _
singleVerticalBorderAdded As Boolean, _
singleHorizontalBorderAdded As Boolean, _
isFirstDisplayedColumn As Boolean, _
isFirstDisplayedRow As Boolean _
) As Rectangle
public virtual Rectangle PositionEditingPanel(
Rectangle cellBounds,
Rectangle cellClip,
DataGridViewCellStyle cellStyle,
bool singleVerticalBorderAdded,
bool singleHorizontalBorderAdded,
bool isFirstDisplayedColumn,
bool isFirstDisplayedRow
)
public:
virtual Rectangle PositionEditingPanel(
Rectangle cellBounds,
Rectangle cellClip,
DataGridViewCellStyle^ cellStyle,
bool singleVerticalBorderAdded,
bool singleHorizontalBorderAdded,
bool isFirstDisplayedColumn,
bool isFirstDisplayedRow
)
abstract PositionEditingPanel :
cellBounds:Rectangle *
cellClip:Rectangle *
cellStyle:DataGridViewCellStyle *
singleVerticalBorderAdded:bool *
singleHorizontalBorderAdded:bool *
isFirstDisplayedColumn:bool *
isFirstDisplayedRow:bool -> Rectangle
override PositionEditingPanel :
cellBounds:Rectangle *
cellClip:Rectangle *
cellStyle:DataGridViewCellStyle *
singleVerticalBorderAdded:bool *
singleHorizontalBorderAdded:bool *
isFirstDisplayedColumn:bool *
isFirstDisplayedRow:bool -> Rectangle

Excepciones

Información de versión
.NET FrameworkCompatible con: 4, 3.5, 3.0, 2.0 .NET Framework Client ProfileCompatible con: 4, 3.5 SP1

Plataformas
Windows 7, Windows Vista SP1 o posterior, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (no se admite Server Core), Windows Server 2008 R2 (se admite Server Core con SP1 o posterior), Windows Server 2003 SP2
.NET Framework no admite todas las versiones de todas las plataformas. Para obtener una lista de las versiones compatibles, vea Requisitos de sistema de .NET Framework.

Vea también
|