Sugerir traducción
 
Otros han sugerido:

progress indicator
No hay más sugerencias.
Evaluar y enviar comentarios
Contraer todo/Expandir todo Contraer todo
Ver contenido:  en paraleloVer contenido: en paralelo
.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)
Visual Basic
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
C#
public virtual Rectangle PositionEditingPanel(
    Rectangle cellBounds,
    Rectangle cellClip,
    DataGridViewCellStyle cellStyle,
    bool singleVerticalBorderAdded,
    bool singleHorizontalBorderAdded,
    bool isFirstDisplayedColumn,
    bool isFirstDisplayedRow
)
Visual C++
public:
virtual Rectangle PositionEditingPanel(
    Rectangle cellBounds, 
    Rectangle cellClip, 
    DataGridViewCellStyle^ cellStyle, 
    bool singleVerticalBorderAdded, 
    bool singleHorizontalBorderAdded, 
    bool isFirstDisplayedColumn, 
    bool isFirstDisplayedRow
)
F#
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 

Parameters

cellBounds
Type: System.Drawing..::.Rectangle
A Rectangle that defines the cell bounds.
cellClip
Type: System.Drawing..::.Rectangle
The area that will be used to paint the editing panel.
cellStyle
Type: System.Windows.Forms..::.DataGridViewCellStyle
A DataGridViewCellStyle that represents the style of the cell being edited.
singleVerticalBorderAdded
Type: System..::.Boolean
true to add a vertical border to the cell; otherwise, false.
singleHorizontalBorderAdded
Type: System..::.Boolean
true to add a horizontal border to the cell; otherwise, false.
isFirstDisplayedColumn
Type: System..::.Boolean
true if the cell is in the first column currently displayed in the control; otherwise, false.
isFirstDisplayedRow
Type: System..::.Boolean
true if the cell is in the first row currently displayed in the control; otherwise, false.

Return Value

Type: System.Drawing..::.Rectangle
A Rectangle that represents the normal bounds of the editing control within the editing panel.
ExceptionCondition
InvalidOperationException

The cell has not been added to a DataGridView control.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

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.
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)
Visual Basic
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
C#
public virtual Rectangle PositionEditingPanel(
    Rectangle cellBounds,
    Rectangle cellClip,
    DataGridViewCellStyle cellStyle,
    bool singleVerticalBorderAdded,
    bool singleHorizontalBorderAdded,
    bool isFirstDisplayedColumn,
    bool isFirstDisplayedRow
)
Visual C++
public:
virtual Rectangle PositionEditingPanel(
    Rectangle cellBounds, 
    Rectangle cellClip, 
    DataGridViewCellStyle^ cellStyle, 
    bool singleVerticalBorderAdded, 
    bool singleHorizontalBorderAdded, 
    bool isFirstDisplayedColumn, 
    bool isFirstDisplayedRow
)
F#
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 

Parámetros

cellBounds
Tipo: System.Drawing..::.Rectangle
Rectangle que define los límites de la celda.
cellClip
Tipo: System.Drawing..::.Rectangle
Área que se va a utilizar para dibujar el panel de edición.
cellStyle
Tipo: System.Windows.Forms..::.DataGridViewCellStyle
DataGridViewCellStyle que representa el estilo de la celda que se está editando.
singleVerticalBorderAdded
Tipo: System..::.Boolean
true para agregar un borde vertical a la celda; de lo contrario, false.
singleHorizontalBorderAdded
Tipo: System..::.Boolean
true para agregar un borde horizontal a la celda; de lo contrario, false.
isFirstDisplayedColumn
Tipo: System..::.Boolean
true si la celda está actualmente en la primera columna que muestra el control; de lo contrario, false.
isFirstDisplayedRow
Tipo: System..::.Boolean
true si la celda está actualmente en la primera fila que muestra el control; de lo contrario, false.

Valor devuelto

Tipo: System.Drawing..::.Rectangle
Rectangle que representa los límites normales del control de edición dentro del panel de edición.
ExcepciónCondición
InvalidOperationException

La celda no se ha agregado a un control DataGridView.

.NET Framework

Compatible con: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Compatible con: 4, 3.5 SP1

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.
Contenido de la comunidad   ¿Qué es Community Content?
Agregar contenido nuevo RSS  Anotaciones
Processing
© 2012 Microsoft. Reservados todos los derechos. Términos de uso | Marcas Registradas | Privacidad
Page view tracker