DataGridViewImageCell DataGridViewImageCell DataGridViewImageCell DataGridViewImageCell Class

정의

DataGridView 컨트롤에 그래픽을 표시합니다.Displays a graphic in a DataGridView control.

public ref class DataGridViewImageCell : System::Windows::Forms::DataGridViewCell
public class DataGridViewImageCell : System.Windows.Forms.DataGridViewCell
type DataGridViewImageCell = class
    inherit DataGridViewCell
Public Class DataGridViewImageCell
Inherits DataGridViewCell
상속

예제

다음 코드 예제에 사용 하 여 이미지 셀의 이미지를 변경 하는 방법을 보여 줍니다. DataGridViewCell합니다.The following code example demonstrates how to change the image in an image cell using DataGridViewCell. 이 코드 예제는 항목에 대해 제공 된 큰 예제의 일부입니다 방법: Windows Forms DataGridView 컨트롤에서 이미지 열 작업합니다.This code example is part of a larger example provided for the topic How to: Work with Image Columns in the Windows Forms DataGridView Control.

void dataGridView1_CellClick( Object^ sender, DataGridViewCellEventArgs^ e )
{
   if ( turn->Equals( gameOverString ) )
   {
      return;
   }

   DataGridViewImageCell^ cell = dynamic_cast<DataGridViewImageCell^>(dataGridView1->Rows[ e->RowIndex ]->Cells[ e->ColumnIndex ]);
   if ( cell->Value == blank )
   {
      if ( IsOsTurn() )
      {
         cell->Value = o;
      }
      else
      {
         cell->Value = x;
      }

      ToggleTurn();
   }

   if ( IsAWin( cell ) )
   {
      turn->Text = gameOverString;
   }
}


private void dataGridView1_CellClick(object sender,
    DataGridViewCellEventArgs e)
{

    if (turn.Text.Equals(gameOverString)) { return; }

    DataGridViewImageCell cell = (DataGridViewImageCell)
        dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex];

    if (cell.Value == blank)
    {
        if (IsOsTurn())
        {
            cell.Value = o;
        }
        else
        {
            cell.Value = x;
        }
        ToggleTurn();
    }
    if (IsAWin())
    {
        turn.Text = gameOverString;
    }
}
Private Sub dataGridView1_CellClick(ByVal sender As Object, _
    ByVal e As DataGridViewCellEventArgs) _
    Handles dataGridView1.CellClick

    If turn.Text.Equals(gameOverString) Then Return

    Dim cell As DataGridViewImageCell = _
        CType(dataGridView1.Rows(e.RowIndex). _
            Cells(e.ColumnIndex), DataGridViewImageCell)
    If (cell.Value Is blank) Then
        If IsOsTurn() Then
            cell.Value = o
        Else
            cell.Value = x
        End If
        ToggleTurn()
        ToolTip(e)
    End If
    If IsAWin() Then
        turn.Text = gameOverString
    End If
End Sub

설명

합니다 DataGridViewImageCell 클래스는 특수 한 유형의 DataGridViewCell 표시 하는 데는 Image 또는 Icon의 값에 따라는 ValueIsIcon 속성입니다.The DataGridViewImageCell class is a specialized type of DataGridViewCell used to display an Image or an Icon, depending on the value of the ValueIsIcon property. 일반적으로 ReadOnly 의 속성을 DataGridViewImageCell 로 설정 된 true 나타내는 셀의 내용을 편집할 수 없습니다.Typically, the ReadOnly property of a DataGridViewImageCell is set to true to indicate that the user cannot edit the cell contents.

DataGridViewImageColumn 열 형식이이 형식의 셀을 포함 하도록 특수화 합니다.The DataGridViewImageColumn is the column type specialized to hold cells of this type. 기본적으로 DataGridViewImageColumn.CellTemplate 새 인스턴스화될 DataGridViewImageCell합니다.By default, the DataGridViewImageColumn.CellTemplate is initialized to a new DataGridViewImageCell. 기존 열 내의 셀 패턴 DataGridViewImageCell, 열 설정 CellTemplate 속성 패턴으로 사용 하 여 셀을 합니다.To pattern the cells within a column after an existing DataGridViewImageCell, set the column's CellTemplate property to the cell to use as a pattern.

열의 셀 관련 속성을는 비슷한 이름의 템플릿 셀 속성에 대 한 래퍼입니다.The cell-related properties of the column are wrappers for the similarly-named properties of the template cell. 템플릿 셀의 속성 값을 변경 하면 셀만 템플릿을 기반으로 변경 된 후 추가 된 적용 됩니다.Changing the property values of the template cell will affect only cells based on the template that are added after the change. 그러나 열의 셀 관련 속성 값을 변경, 템플릿 셀과 열에 다른 모든 셀을 업데이트 되며 필요한 경우 열 표시를 새로 고칩니다.Changing the cell-related property values of the column, however, will update the template cell and all other cells in the column, and refresh the column display if necessary.

상속자 참고

파생 하는 경우 DataGridViewImageCell 파생된 클래스에 새 속성 추가 재정의 해야 합니다 Clone() 복제 작업 중 새 속성을 복사 하는 방법입니다.When you derive from DataGridViewImageCell and add new properties to the derived class, be sure to override the Clone() method to copy the new properties during cloning operations. 또한 기본 클래스를 호출 해야 Clone() 메서드는 기본 클래스의 속성이 새로운 셀에 복사 되도록 합니다.You should also call the base class's Clone() method so that the properties of the base class are copied to the new cell.

생성자

DataGridViewImageCell() DataGridViewImageCell() DataGridViewImageCell() DataGridViewImageCell()

DataGridViewImageCell 클래스의 새 인스턴스를 초기화하고, 이 인스턴스를 Icon 개체 이외의 셀 값에 사용할 수 있도록 구성합니다.Initializes a new instance of the DataGridViewImageCell class, configuring it for use with cell values other than Icon objects.

DataGridViewImageCell(Boolean) DataGridViewImageCell(Boolean) DataGridViewImageCell(Boolean) DataGridViewImageCell(Boolean)

DataGridViewImageCell 클래스의 새 인스턴스를 초기화하고, 선택적으로 이 인스턴스를 Icon 셀 값에 사용할 수 있도록 구성합니다.Initializes a new instance of the DataGridViewImageCell class, optionally configuring it for use with Icon cell values.

속성

AccessibilityObject AccessibilityObject AccessibilityObject AccessibilityObject

DataGridViewCell.DataGridViewCellAccessibleObject에 할당된 DataGridViewCell를 가져옵니다.Gets the DataGridViewCell.DataGridViewCellAccessibleObject assigned to the DataGridViewCell.

(Inherited from DataGridViewCell)
ColumnIndex ColumnIndex ColumnIndex ColumnIndex

이 셀의 열 인덱스를 가져옵니다.Gets the column index for this cell.

(Inherited from DataGridViewCell)
ContentBounds ContentBounds ContentBounds ContentBounds

셀의 내용 영역을 둘러싸는 경계 사각형을 가져옵니다.Gets the bounding rectangle that encloses the cell's content area.

(Inherited from DataGridViewCell)
ContextMenuStrip ContextMenuStrip ContextMenuStrip ContextMenuStrip

셀과 연결된 바로 가기 메뉴를 가져오거나 설정합니다.Gets or sets the shortcut menu associated with the cell.

(Inherited from DataGridViewCell)
DataGridView DataGridView DataGridView DataGridView

이 요소와 관련된 DataGridView 컨트롤을 가져옵니다.Gets the DataGridView control associated with this element.

(Inherited from DataGridViewElement)
DefaultNewRowValue DefaultNewRowValue DefaultNewRowValue DefaultNewRowValue

새 행을 만드는 데 사용되는 기본값을 가져옵니다.Gets the default value that is used when creating a new row.

Description Description Description Description

이미지와 관련된 텍스트를 가져오거나 설정합니다.Gets or sets the text associated with the image.

Displayed Displayed Displayed Displayed

셀이 현재 화면에 표시되는지 여부를 나타내는 값을 가져옵니다.Gets a value that indicates whether the cell is currently displayed on-screen.

(Inherited from DataGridViewCell)
EditedFormattedValue EditedFormattedValue EditedFormattedValue EditedFormattedValue

셀이 편집 모드에 있고 값이 커밋되지 않았는지 여부와 관계없이 셀의 형식이 지정된 현재 값을 가져옵니다.Gets the current, formatted value of the cell, regardless of whether the cell is in edit mode and the value has not been committed.

(Inherited from DataGridViewCell)
EditType EditType EditType EditType

셀의 호스팅된 편집 컨트롤의 형식을 가져옵니다.Gets the type of the cell's hosted editing control.

ErrorIconBounds ErrorIconBounds ErrorIconBounds ErrorIconBounds

셀에 대한 오류 아이콘의 범위를 가져옵니다.Gets the bounds of the error icon for the cell.

(Inherited from DataGridViewCell)
ErrorText ErrorText ErrorText ErrorText

셀과 연결된 오류 조건을 설명하는 텍스트를 가져오거나 설정합니다.Gets or sets the text describing an error condition associated with the cell.

(Inherited from DataGridViewCell)
FormattedValue FormattedValue FormattedValue FormattedValue

표시를 위해 형식이 지정된 셀 값을 가져옵니다.Gets the value of the cell as formatted for display.

(Inherited from DataGridViewCell)
FormattedValueType FormattedValueType FormattedValueType FormattedValueType

셀과 연결된 형식이 지정된 값의 형식을 가져옵니다.Gets the type of the formatted value associated with the cell.

Frozen Frozen Frozen Frozen

셀이 고정되어 있는지 여부를 나타내는 값을 가져옵니다.Gets a value indicating whether the cell is frozen.

(Inherited from DataGridViewCell)
HasStyle HasStyle HasStyle HasStyle

Style 속성이 설정되었는지 여부를 나타내는 값을 가져옵니다.Gets a value indicating whether the Style property has been set.

(Inherited from DataGridViewCell)
ImageLayout ImageLayout ImageLayout ImageLayout

셀의 그래픽 레이아웃을 가져오거나 설정합니다.Gets or sets the graphics layout for the cell.

InheritedState InheritedState InheritedState InheritedState

해당 행과 열의 상태에서 상속된 셀의 현재 상태를 가져옵니다.Gets the current state of the cell as inherited from the state of its row and column.

(Inherited from DataGridViewCell)
InheritedStyle InheritedStyle InheritedStyle InheritedStyle

셀에 현재 적용된 스타일을 가져옵니다.Gets the style currently applied to the cell.

(Inherited from DataGridViewCell)
IsInEditMode IsInEditMode IsInEditMode IsInEditMode

이 셀을 현재 편집하고 있는지 여부를 나타내는 값을 가져옵니다.Gets a value indicating whether this cell is currently being edited.

(Inherited from DataGridViewCell)
OwningColumn OwningColumn OwningColumn OwningColumn

이 셀을 포함하는 열을 가져옵니다.Gets the column that contains this cell.

(Inherited from DataGridViewCell)
OwningRow OwningRow OwningRow OwningRow

이 셀을 포함하는 행을 가져옵니다.Gets the row that contains this cell.

(Inherited from DataGridViewCell)
PreferredSize PreferredSize PreferredSize PreferredSize

셀이 들어갈 수 있는 사각형 영역의 크기(픽셀)를 가져옵니다.Gets the size, in pixels, of a rectangular area into which the cell can fit.

(Inherited from DataGridViewCell)
ReadOnly ReadOnly ReadOnly ReadOnly

셀의 데이터를 편집할 수 있는지 여부를 나타내는 값을 가져오거나 설정합니다.Gets or sets a value indicating whether the cell's data can be edited.

(Inherited from DataGridViewCell)
Resizable Resizable Resizable Resizable

셀의 크기를 조정할 수 있는지 여부를 나타내는 값을 가져옵니다.Gets a value indicating whether the cell can be resized.

(Inherited from DataGridViewCell)
RowIndex RowIndex RowIndex RowIndex

셀의 부모 행의 인덱스를 가져옵니다.Gets the index of the cell's parent row.

(Inherited from DataGridViewCell)
Selected Selected Selected Selected

셀이 선택되었는지 여부를 나타내는 값을 가져오거나 설정합니다.Gets or sets a value indicating whether the cell has been selected.

(Inherited from DataGridViewCell)
Size Size Size Size

셀의 크기를 가져옵니다.Gets the size of the cell.

(Inherited from DataGridViewCell)
State State State State

요소의 UI(사용자 인터페이스) 상태를 가져옵니다.Gets the user interface (UI) state of the element.

(Inherited from DataGridViewElement)
Style Style Style Style

셀의 스타일을 가져오거나 설정합니다.Gets or sets the style for the cell.

(Inherited from DataGridViewCell)
Tag Tag Tag Tag

셀에 대한 추가 데이터를 포함하는 개체를 가져오거나 설정합니다.Gets or sets the object that contains supplemental data about the cell.

(Inherited from DataGridViewCell)
ToolTipText ToolTipText ToolTipText ToolTipText

이 셀과 연결된 도구 설명 텍스트를 가져오거나 설정합니다.Gets or sets the ToolTip text associated with this cell.

(Inherited from DataGridViewCell)
Value Value Value Value

이 셀과 연결된 값을 가져오거나 설정합니다.Gets or sets the value associated with this cell.

(Inherited from DataGridViewCell)
ValueIsIcon ValueIsIcon ValueIsIcon ValueIsIcon

이 셀에 Icon 값이 표시되는지 여부를 나타내는 값을 가져오거나 설정합니다.Gets or sets a value indicating whether this cell displays an Icon value.

ValueType ValueType ValueType ValueType

셀에 있는 값의 데이터 형식을 가져오거나 설정합니다.Gets or sets the data type of the values in the cell.

Visible Visible Visible Visible

셀이 숨겨진 행이나 열에 있는지 여부를 나타내는 값을 가져옵니다.Gets a value indicating whether the cell is in a row or column that has been hidden.

(Inherited from DataGridViewCell)

메서드

AdjustCellBorderStyle(DataGridViewAdvancedBorderStyle, DataGridViewAdvancedBorderStyle, Boolean, Boolean, Boolean, Boolean) AdjustCellBorderStyle(DataGridViewAdvancedBorderStyle, DataGridViewAdvancedBorderStyle, Boolean, Boolean, Boolean, Boolean) AdjustCellBorderStyle(DataGridViewAdvancedBorderStyle, DataGridViewAdvancedBorderStyle, Boolean, Boolean, Boolean, Boolean) AdjustCellBorderStyle(DataGridViewAdvancedBorderStyle, DataGridViewAdvancedBorderStyle, Boolean, Boolean, Boolean, Boolean)

지정된 조건에 따라 입력 셀 테두리 스타일을 수정합니다.Modifies the input cell border style according to the specified criteria.

(Inherited from DataGridViewCell)
BorderWidths(DataGridViewAdvancedBorderStyle) BorderWidths(DataGridViewAdvancedBorderStyle) BorderWidths(DataGridViewAdvancedBorderStyle) BorderWidths(DataGridViewAdvancedBorderStyle)

모든 셀 여백의 너비를 나타내는 Rectangle을 반환합니다.Returns a Rectangle that represents the widths of all the cell margins.

(Inherited from DataGridViewCell)
ClickUnsharesRow(DataGridViewCellEventArgs) ClickUnsharesRow(DataGridViewCellEventArgs) ClickUnsharesRow(DataGridViewCellEventArgs) ClickUnsharesRow(DataGridViewCellEventArgs)

셀을 클릭하는 경우 셀의 행을 공유하지 않을 것인지 여부를 나타냅니다.Indicates whether the cell's row will be unshared when the cell is clicked.

(Inherited from DataGridViewCell)
Clone() Clone() Clone() Clone()

이 셀과 정확하게 일치하는 복사본을 만듭니다.Creates an exact copy of this cell.

ContentClickUnsharesRow(DataGridViewCellEventArgs) ContentClickUnsharesRow(DataGridViewCellEventArgs) ContentClickUnsharesRow(DataGridViewCellEventArgs) ContentClickUnsharesRow(DataGridViewCellEventArgs)

셀의 내용을 클릭하는 경우 셀의 행을 공유하지 않을 것인지 여부를 나타냅니다.Indicates whether the cell's row will be unshared when the cell's content is clicked.

(Inherited from DataGridViewCell)
ContentDoubleClickUnsharesRow(DataGridViewCellEventArgs) ContentDoubleClickUnsharesRow(DataGridViewCellEventArgs) ContentDoubleClickUnsharesRow(DataGridViewCellEventArgs) ContentDoubleClickUnsharesRow(DataGridViewCellEventArgs)

셀의 내용을 두 번 클릭하는 경우 셀의 행을 공유하지 않을 것인지 여부를 나타냅니다.Indicates whether the cell's row will be unshared when the cell's content is double-clicked.

(Inherited from DataGridViewCell)
CreateAccessibilityInstance() CreateAccessibilityInstance() CreateAccessibilityInstance() CreateAccessibilityInstance()

DataGridViewImageCell에 대해 액세스 가능한 개체를 새로 만듭니다.Creates a new accessible object for the DataGridViewImageCell.

DetachEditingControl() DetachEditingControl() DetachEditingControl() DetachEditingControl()

DataGridView에서 셀의 편집 컨트롤을 제거합니다.Removes the cell's editing control from the DataGridView.

(Inherited from DataGridViewCell)
Dispose() Dispose() Dispose() Dispose()

DataGridViewCell에서 사용하는 모든 리소스를 해제합니다.Releases all resources used by the DataGridViewCell.

(Inherited from DataGridViewCell)
Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

DataGridViewCell에서 사용하는 관리되지 않는 리소스를 해제하고, 관리되는 리소스를 선택적으로 해제할 수 있습니다.Releases the unmanaged resources used by the DataGridViewCell and optionally releases the managed resources.

(Inherited from DataGridViewCell)
DoubleClickUnsharesRow(DataGridViewCellEventArgs) DoubleClickUnsharesRow(DataGridViewCellEventArgs) DoubleClickUnsharesRow(DataGridViewCellEventArgs) DoubleClickUnsharesRow(DataGridViewCellEventArgs)

셀을 두 번 클릭하는 경우 셀의 행을 공유하지 않을 것인지 여부를 나타냅니다.Indicates whether the cell's row will be unshared when the cell is double-clicked.

(Inherited from DataGridViewCell)
EnterUnsharesRow(Int32, Boolean) EnterUnsharesRow(Int32, Boolean) EnterUnsharesRow(Int32, Boolean) EnterUnsharesRow(Int32, Boolean)

포커스가 셀로 이동하는 경우 부모 행을 공유하지 않을 것인지 여부를 나타냅니다.Indicates whether the parent row will be unshared when the focus moves to the cell.

(Inherited from DataGridViewCell)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

지정한 개체와 현재 개체가 같은지 여부를 확인합니다.Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetClipboardContent(Int32, Boolean, Boolean, Boolean, Boolean, String) GetClipboardContent(Int32, Boolean, Boolean, Boolean, Boolean, String) GetClipboardContent(Int32, Boolean, Boolean, Boolean, Boolean, String) GetClipboardContent(Int32, Boolean, Boolean, Boolean, Boolean, String)

서식이 지정된 셀 값을 검색하여 Clipboard에 복사합니다.Retrieves the formatted value of the cell to copy to the Clipboard.

(Inherited from DataGridViewCell)
GetContentBounds(Graphics, DataGridViewCellStyle, Int32) GetContentBounds(Graphics, DataGridViewCellStyle, Int32) GetContentBounds(Graphics, DataGridViewCellStyle, Int32) GetContentBounds(Graphics, DataGridViewCellStyle, Int32)

지정된 Graphics와 셀 스타일을 사용하여 계산된 셀의 내용 영역을 둘러싸는 경계 사각형을 반환합니다.Returns the bounding rectangle that encloses the cell's content area, which is calculated using the specified Graphics and cell style.

GetContentBounds(Int32) GetContentBounds(Int32) GetContentBounds(Int32) GetContentBounds(Int32)

현재 셀에 적용되는 셀 스타일과 기본 Graphics를 사용하여 셀의 내용 영역을 둘러싸는 경계 사각형을 반환합니다.Returns the bounding rectangle that encloses the cell's content area using a default Graphics and cell style currently in effect for the cell.

(Inherited from DataGridViewCell)
GetEditedFormattedValue(Int32, DataGridViewDataErrorContexts) GetEditedFormattedValue(Int32, DataGridViewDataErrorContexts) GetEditedFormattedValue(Int32, DataGridViewDataErrorContexts) GetEditedFormattedValue(Int32, DataGridViewDataErrorContexts)

셀이 편집 모드에 있고 값이 커밋되지 않았는지 여부와 관계없이 셀의 형식이 지정된 현재 값을 반환합니다.Returns the current, formatted value of the cell, regardless of whether the cell is in edit mode and the value has not been committed.

(Inherited from DataGridViewCell)
GetErrorIconBounds(Graphics, DataGridViewCellStyle, Int32) GetErrorIconBounds(Graphics, DataGridViewCellStyle, Int32) GetErrorIconBounds(Graphics, DataGridViewCellStyle, Int32) GetErrorIconBounds(Graphics, DataGridViewCellStyle, Int32)

셀의 오류 아이콘이 표시되면 이 아이콘을 둘러싸는 경계 사각형을 반환합니다.Returns the bounding rectangle that encloses the cell's error icon, if one is displayed.

GetErrorText(Int32) GetErrorText(Int32) GetErrorText(Int32) GetErrorText(Int32)

셀의 오류를 나타내는 문자열을 반환합니다.Returns a string that represents the error for the cell.

(Inherited from DataGridViewCell)
GetFormattedValue(Object, Int32, DataGridViewCellStyle, TypeConverter, TypeConverter, DataGridViewDataErrorContexts) GetFormattedValue(Object, Int32, DataGridViewCellStyle, TypeConverter, TypeConverter, DataGridViewDataErrorContexts) GetFormattedValue(Object, Int32, DataGridViewCellStyle, TypeConverter, TypeConverter, DataGridViewDataErrorContexts) GetFormattedValue(Object, Int32, DataGridViewCellStyle, TypeConverter, TypeConverter, DataGridViewDataErrorContexts)

셀에 표시될 그래픽을 반환합니다.Returns a graphic as it would be displayed in the cell.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

기본 해시 함수로 작동합니다.Serves as the default hash function.

(Inherited from Object)
GetInheritedContextMenuStrip(Int32) GetInheritedContextMenuStrip(Int32) GetInheritedContextMenuStrip(Int32) GetInheritedContextMenuStrip(Int32)

현재 셀의 상속된 바로 가기 메뉴를 가져옵니다.Gets the inherited shortcut menu for the current cell.

(Inherited from DataGridViewCell)
GetInheritedState(Int32) GetInheritedState(Int32) GetInheritedState(Int32) GetInheritedState(Int32)

해당 행과 열의 상태에서 상속된 셀의 현재 상태를 나타내는 값을 반환합니다.Returns a value indicating the current state of the cell as inherited from the state of its row and column.

(Inherited from DataGridViewCell)
GetInheritedStyle(DataGridViewCellStyle, Int32, Boolean) GetInheritedStyle(DataGridViewCellStyle, Int32, Boolean) GetInheritedStyle(DataGridViewCellStyle, Int32, Boolean) GetInheritedStyle(DataGridViewCellStyle, Int32, Boolean)

셀에 적용된 스타일을 가져옵니다.Gets the style applied to the cell.

(Inherited from DataGridViewCell)
GetPreferredSize(Graphics, DataGridViewCellStyle, Int32, Size) GetPreferredSize(Graphics, DataGridViewCellStyle, Int32, Size) GetPreferredSize(Graphics, DataGridViewCellStyle, Int32, Size) GetPreferredSize(Graphics, DataGridViewCellStyle, Int32, Size)

셀의 기본 크기를 픽셀 단위로 계산합니다.Calculates the preferred size, in pixels, of the cell.

GetSize(Int32) GetSize(Int32) GetSize(Int32) GetSize(Int32)

셀의 크기를 가져옵니다.Gets the size of the cell.

(Inherited from DataGridViewCell)
GetType() GetType() GetType() GetType()

현재 인스턴스의 Type을 가져옵니다.Gets the Type of the current instance.

(Inherited from Object)
GetValue(Int32) GetValue(Int32) GetValue(Int32) GetValue(Int32)

셀의 값을 가져옵니다.Gets the value of the cell.

InitializeEditingControl(Int32, Object, DataGridViewCellStyle) InitializeEditingControl(Int32, Object, DataGridViewCellStyle) InitializeEditingControl(Int32, Object, DataGridViewCellStyle) InitializeEditingControl(Int32, Object, DataGridViewCellStyle)

셀을 편집하는 데 사용되는 컨트롤을 초기화합니다.Initializes the control used to edit the cell.

(Inherited from DataGridViewCell)
KeyDownUnsharesRow(KeyEventArgs, Int32) KeyDownUnsharesRow(KeyEventArgs, Int32) KeyDownUnsharesRow(KeyEventArgs, Int32) KeyDownUnsharesRow(KeyEventArgs, Int32)

포커스가 셀에 있는 동안 키를 누르는 경우 부모 행을 공유하지 않을 것인지 여부를 나타냅니다.Indicates whether the parent row is unshared if the user presses a key while the focus is on the cell.

(Inherited from DataGridViewCell)
KeyEntersEditMode(KeyEventArgs) KeyEntersEditMode(KeyEventArgs) KeyEntersEditMode(KeyEventArgs) KeyEntersEditMode(KeyEventArgs)

지정된 키에 따라 편집 모드를 시작할지를 결정합니다.Determines if edit mode should be started based on the given key.

(Inherited from DataGridViewCell)
KeyPressUnsharesRow(KeyPressEventArgs, Int32) KeyPressUnsharesRow(KeyPressEventArgs, Int32) KeyPressUnsharesRow(KeyPressEventArgs, Int32) KeyPressUnsharesRow(KeyPressEventArgs, Int32)

포커스가 행의 셀에 있는 동안 키를 누르는 경우 행을 공유하지 않을 것인지 여부를 나타냅니다.Indicates whether a row will be unshared if a key is pressed while a cell in the row has focus.

(Inherited from DataGridViewCell)
KeyUpUnsharesRow(KeyEventArgs, Int32) KeyUpUnsharesRow(KeyEventArgs, Int32) KeyUpUnsharesRow(KeyEventArgs, Int32) KeyUpUnsharesRow(KeyEventArgs, Int32)

포커스가 셀에 있는 동안 키를 놓는 경우 부모 행을 공유하지 않을 것인지 여부를 나타냅니다.Indicates whether the parent row is unshared when the user releases a key while the focus is on the cell.

(Inherited from DataGridViewCell)
LeaveUnsharesRow(Int32, Boolean) LeaveUnsharesRow(Int32, Boolean) LeaveUnsharesRow(Int32, Boolean) LeaveUnsharesRow(Int32, Boolean)

포커스가 행의 셀을 벗어난 경우 행을 공유하지 않을 것인지 여부를 나타냅니다.Indicates whether a row will be unshared when the focus leaves a cell in the row.

(Inherited from DataGridViewCell)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

현재 Object의 단순 복사본을 만듭니다.Creates a shallow copy of the current Object.

(Inherited from Object)
MouseClickUnsharesRow(DataGridViewCellMouseEventArgs) MouseClickUnsharesRow(DataGridViewCellMouseEventArgs) MouseClickUnsharesRow(DataGridViewCellMouseEventArgs) MouseClickUnsharesRow(DataGridViewCellMouseEventArgs)

포인터가 행의 셀에 있는 동안 마우스 단추를 클릭하는 경우 행을 공유하지 않을 것인지 여부를 나타냅니다.Indicates whether a row will be unshared if the user clicks a mouse button while the pointer is on a cell in the row.

(Inherited from DataGridViewCell)
MouseDoubleClickUnsharesRow(DataGridViewCellMouseEventArgs) MouseDoubleClickUnsharesRow(DataGridViewCellMouseEventArgs) MouseDoubleClickUnsharesRow(DataGridViewCellMouseEventArgs) MouseDoubleClickUnsharesRow(DataGridViewCellMouseEventArgs)

행의 셀을 두 번 클릭하는 경우 행을 공유하지 않을 것인지 여부를 나타냅니다.Indicates whether a row will be unshared if the user double-clicks a cell in the row.

(Inherited from DataGridViewCell)
MouseDownUnsharesRow(DataGridViewCellMouseEventArgs) MouseDownUnsharesRow(DataGridViewCellMouseEventArgs) MouseDownUnsharesRow(DataGridViewCellMouseEventArgs) MouseDownUnsharesRow(DataGridViewCellMouseEventArgs)

포인터가 행의 셀에 있는 동안 마우스 단추를 누르고 있는 경우 행을 공유하지 않을 것인지 여부를 나타냅니다.Indicates whether a row will be unshared when the user holds down a mouse button while the pointer is on a cell in the row.

(Inherited from DataGridViewCell)
MouseEnterUnsharesRow(Int32) MouseEnterUnsharesRow(Int32) MouseEnterUnsharesRow(Int32) MouseEnterUnsharesRow(Int32)

마우스 포인터가 행의 셀 위로 이동할 경우 행을 공유하지 않을 것인지 여부를 나타냅니다.Indicates whether a row will be unshared when the mouse pointer moves over a cell in the row.

(Inherited from DataGridViewCell)
MouseLeaveUnsharesRow(Int32) MouseLeaveUnsharesRow(Int32) MouseLeaveUnsharesRow(Int32) MouseLeaveUnsharesRow(Int32)

마우스 포인터가 행을 벗어난 경우 행을 공유하지 않을 것인지 여부를 나타냅니다.Indicates whether a row will be unshared when the mouse pointer leaves the row.

(Inherited from DataGridViewCell)
MouseMoveUnsharesRow(DataGridViewCellMouseEventArgs) MouseMoveUnsharesRow(DataGridViewCellMouseEventArgs) MouseMoveUnsharesRow(DataGridViewCellMouseEventArgs) MouseMoveUnsharesRow(DataGridViewCellMouseEventArgs)

마우스 포인터가 행의 셀 위로 이동할 경우 행을 공유하지 않을 것인지 여부를 나타냅니다.Indicates whether a row will be unshared when the mouse pointer moves over a cell in the row.

(Inherited from DataGridViewCell)
MouseUpUnsharesRow(DataGridViewCellMouseEventArgs) MouseUpUnsharesRow(DataGridViewCellMouseEventArgs) MouseUpUnsharesRow(DataGridViewCellMouseEventArgs) MouseUpUnsharesRow(DataGridViewCellMouseEventArgs)

포인터가 행의 셀에 있는 동안 마우스 단추를 놓는 경우 행을 공유하지 않을 것인지 여부를 나타냅니다.Indicates whether a row will be unshared when the user releases a mouse button while the pointer is on a cell in the row.

(Inherited from DataGridViewCell)
OnClick(DataGridViewCellEventArgs) OnClick(DataGridViewCellEventArgs) OnClick(DataGridViewCellEventArgs) OnClick(DataGridViewCellEventArgs)

셀을 클릭하면 호출됩니다.Called when the cell is clicked.

(Inherited from DataGridViewCell)
OnContentClick(DataGridViewCellEventArgs) OnContentClick(DataGridViewCellEventArgs) OnContentClick(DataGridViewCellEventArgs) OnContentClick(DataGridViewCellEventArgs)

셀의 내용을 클릭하면 호출됩니다.Called when the cell's contents are clicked.

(Inherited from DataGridViewCell)
OnContentDoubleClick(DataGridViewCellEventArgs) OnContentDoubleClick(DataGridViewCellEventArgs) OnContentDoubleClick(DataGridViewCellEventArgs) OnContentDoubleClick(DataGridViewCellEventArgs)

셀의 내용을 두 번 클릭하면 호출됩니다.Called when the cell's contents are double-clicked.

(Inherited from DataGridViewCell)
OnDataGridViewChanged() OnDataGridViewChanged() OnDataGridViewChanged() OnDataGridViewChanged()

셀의 DataGridView 속성이 변경되면 호출됩니다.Called when the DataGridView property of the cell changes.

(Inherited from DataGridViewCell)
OnDoubleClick(DataGridViewCellEventArgs) OnDoubleClick(DataGridViewCellEventArgs) OnDoubleClick(DataGridViewCellEventArgs) OnDoubleClick(DataGridViewCellEventArgs)

셀을 두 번 클릭하면 호출됩니다.Called when the cell is double-clicked.

(Inherited from DataGridViewCell)
OnEnter(Int32, Boolean) OnEnter(Int32, Boolean) OnEnter(Int32, Boolean) OnEnter(Int32, Boolean)

포커스가 셀로 이동하면 호출됩니다.Called when the focus moves to a cell.

(Inherited from DataGridViewCell)
OnKeyDown(KeyEventArgs, Int32) OnKeyDown(KeyEventArgs, Int32) OnKeyDown(KeyEventArgs, Int32) OnKeyDown(KeyEventArgs, Int32)

셀에 포커스가 있는 동안 문자 키를 누르면 호출됩니다.Called when a character key is pressed while the focus is on a cell.

(Inherited from DataGridViewCell)
OnKeyPress(KeyPressEventArgs, Int32) OnKeyPress(KeyPressEventArgs, Int32) OnKeyPress(KeyPressEventArgs, Int32) OnKeyPress(KeyPressEventArgs, Int32)

포커스가 셀에 있는 동안 키를 누르면 호출됩니다.Called when a key is pressed while the focus is on a cell.

(Inherited from DataGridViewCell)
OnKeyUp(KeyEventArgs, Int32) OnKeyUp(KeyEventArgs, Int32) OnKeyUp(KeyEventArgs, Int32) OnKeyUp(KeyEventArgs, Int32)

포커스가 셀에 있는 동안 문자 키를 놓으면 호출됩니다.Called when a character key is released while the focus is on a cell.

(Inherited from DataGridViewCell)
OnLeave(Int32, Boolean) OnLeave(Int32, Boolean) OnLeave(Int32, Boolean) OnLeave(Int32, Boolean)

포커스가 셀에서 이동하면 호출됩니다.Called when the focus moves from a cell.

(Inherited from DataGridViewCell)
OnMouseClick(DataGridViewCellMouseEventArgs) OnMouseClick(DataGridViewCellMouseEventArgs) OnMouseClick(DataGridViewCellMouseEventArgs) OnMouseClick(DataGridViewCellMouseEventArgs)

포인터가 셀에 있는 동안 마우스 단추를 클릭하면 호출됩니다.Called when the user clicks a mouse button while the pointer is on a cell.

(Inherited from DataGridViewCell)
OnMouseDoubleClick(DataGridViewCellMouseEventArgs) OnMouseDoubleClick(DataGridViewCellMouseEventArgs) OnMouseDoubleClick(DataGridViewCellMouseEventArgs) OnMouseDoubleClick(DataGridViewCellMouseEventArgs)

포인터가 셀에 있는 동안 마우스 단추를 두 번 클릭하면 호출됩니다.Called when the user double-clicks a mouse button while the pointer is on a cell.

(Inherited from DataGridViewCell)
OnMouseDown(DataGridViewCellMouseEventArgs) OnMouseDown(DataGridViewCellMouseEventArgs) OnMouseDown(DataGridViewCellMouseEventArgs) OnMouseDown(DataGridViewCellMouseEventArgs)

포인터가 셀에 있는 동안 마우스 단추를 누르고 있으면 호출됩니다.Called when the user holds down a mouse button while the pointer is on a cell.

(Inherited from DataGridViewCell)
OnMouseEnter(Int32) OnMouseEnter(Int32) OnMouseEnter(Int32) OnMouseEnter(Int32)

마우스 포인터가 셀 위로 이동하면 호출됩니다.Called when the mouse pointer moves over a cell.

(Inherited from DataGridViewCell)
OnMouseLeave(Int32) OnMouseLeave(Int32) OnMouseLeave(Int32) OnMouseLeave(Int32)

마우스 포인터가 셀을 벗어나면 호출됩니다.Called when the mouse pointer leaves the cell.

(Inherited from DataGridViewCell)
OnMouseMove(DataGridViewCellMouseEventArgs) OnMouseMove(DataGridViewCellMouseEventArgs) OnMouseMove(DataGridViewCellMouseEventArgs) OnMouseMove(DataGridViewCellMouseEventArgs)

마우스 포인터가 셀 안에서 이동하면 호출됩니다.Called when the mouse pointer moves within a cell.

(Inherited from DataGridViewCell)
OnMouseUp(DataGridViewCellMouseEventArgs) OnMouseUp(DataGridViewCellMouseEventArgs) OnMouseUp(DataGridViewCellMouseEventArgs) OnMouseUp(DataGridViewCellMouseEventArgs)

포인터가 셀에 있는 동안 마우스 단추를 놓으면 호출됩니다.Called when the user releases a mouse button while the pointer is on a cell.

(Inherited from DataGridViewCell)
Paint(Graphics, Rectangle, Rectangle, Int32, DataGridViewElementStates, Object, Object, String, DataGridViewCellStyle, DataGridViewAdvancedBorderStyle, DataGridViewPaintParts) Paint(Graphics, Rectangle, Rectangle, Int32, DataGridViewElementStates, Object, Object, String, DataGridViewCellStyle, DataGridViewAdvancedBorderStyle, DataGridViewPaintParts) Paint(Graphics, Rectangle, Rectangle, Int32, DataGridViewElementStates, Object, Object, String, DataGridViewCellStyle, DataGridViewAdvancedBorderStyle, DataGridViewPaintParts) Paint(Graphics, Rectangle, Rectangle, Int32, DataGridViewElementStates, Object, Object, String, DataGridViewCellStyle, DataGridViewAdvancedBorderStyle, DataGridViewPaintParts)

현재 DataGridViewImageCell을 그립니다.Paints the current DataGridViewImageCell.

PaintBorder(Graphics, Rectangle, Rectangle, DataGridViewCellStyle, DataGridViewAdvancedBorderStyle) PaintBorder(Graphics, Rectangle, Rectangle, DataGridViewCellStyle, DataGridViewAdvancedBorderStyle) PaintBorder(Graphics, Rectangle, Rectangle, DataGridViewCellStyle, DataGridViewAdvancedBorderStyle) PaintBorder(Graphics, Rectangle, Rectangle, DataGridViewCellStyle, DataGridViewAdvancedBorderStyle)

현재 DataGridViewCell의 테두리를 그립니다.Paints the border of the current DataGridViewCell.

(Inherited from DataGridViewCell)
PaintErrorIcon(Graphics, Rectangle, Rectangle, String) PaintErrorIcon(Graphics, Rectangle, Rectangle, String) PaintErrorIcon(Graphics, Rectangle, Rectangle, String) PaintErrorIcon(Graphics, Rectangle, Rectangle, String)

현재 DataGridViewCell의 오류 아이콘을 그립니다.Paints the error icon of the current DataGridViewCell.

(Inherited from DataGridViewCell)
ParseFormattedValue(Object, DataGridViewCellStyle, TypeConverter, TypeConverter) ParseFormattedValue(Object, DataGridViewCellStyle, TypeConverter, TypeConverter) ParseFormattedValue(Object, DataGridViewCellStyle, TypeConverter, TypeConverter) ParseFormattedValue(Object, DataGridViewCellStyle, TypeConverter, TypeConverter)

형식이 지정된 표시 값을 실제 셀 값으로 변환합니다.Converts a value formatted for display to an actual cell value.

(Inherited from DataGridViewCell)
PositionEditingControl(Boolean, Boolean, Rectangle, Rectangle, DataGridViewCellStyle, Boolean, Boolean, Boolean, Boolean) PositionEditingControl(Boolean, Boolean, Rectangle, Rectangle, DataGridViewCellStyle, Boolean, Boolean, Boolean, Boolean) PositionEditingControl(Boolean, Boolean, Rectangle, Rectangle, DataGridViewCellStyle, Boolean, Boolean, Boolean, Boolean) PositionEditingControl(Boolean, Boolean, Rectangle, Rectangle, DataGridViewCellStyle, Boolean, Boolean, Boolean, Boolean)

DataGridView 컨트롤의 셀에서 호스팅하는 편집 컨트롤의 위치와 크기를 설정합니다.Sets the location and size of the editing control hosted by a cell in the DataGridView control.

(Inherited from DataGridViewCell)
PositionEditingPanel(Rectangle, Rectangle, DataGridViewCellStyle, Boolean, Boolean, Boolean, Boolean) PositionEditingPanel(Rectangle, Rectangle, DataGridViewCellStyle, Boolean, Boolean, Boolean, Boolean) PositionEditingPanel(Rectangle, Rectangle, DataGridViewCellStyle, Boolean, Boolean, Boolean, Boolean) PositionEditingPanel(Rectangle, Rectangle, DataGridViewCellStyle, Boolean, Boolean, Boolean, Boolean)

셀에서 호스팅하는 편집 패널의 위치와 크기를 설정하고 편집 패널에 있는 편집 컨트롤의 일반 범위를 반환합니다.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.

(Inherited from DataGridViewCell)
RaiseCellClick(DataGridViewCellEventArgs) RaiseCellClick(DataGridViewCellEventArgs) RaiseCellClick(DataGridViewCellEventArgs) RaiseCellClick(DataGridViewCellEventArgs)

CellClick 이벤트를 발생시킵니다.Raises the CellClick event.

(Inherited from DataGridViewElement)
RaiseCellContentClick(DataGridViewCellEventArgs) RaiseCellContentClick(DataGridViewCellEventArgs) RaiseCellContentClick(DataGridViewCellEventArgs) RaiseCellContentClick(DataGridViewCellEventArgs)

CellContentClick 이벤트를 발생시킵니다.Raises the CellContentClick event.

(Inherited from DataGridViewElement)
RaiseCellContentDoubleClick(DataGridViewCellEventArgs) RaiseCellContentDoubleClick(DataGridViewCellEventArgs) RaiseCellContentDoubleClick(DataGridViewCellEventArgs) RaiseCellContentDoubleClick(DataGridViewCellEventArgs)

CellContentDoubleClick 이벤트를 발생시킵니다.Raises the CellContentDoubleClick event.

(Inherited from DataGridViewElement)
RaiseCellValueChanged(DataGridViewCellEventArgs) RaiseCellValueChanged(DataGridViewCellEventArgs) RaiseCellValueChanged(DataGridViewCellEventArgs) RaiseCellValueChanged(DataGridViewCellEventArgs)

CellValueChanged 이벤트를 발생시킵니다.Raises the CellValueChanged event.

(Inherited from DataGridViewElement)
RaiseDataError(DataGridViewDataErrorEventArgs) RaiseDataError(DataGridViewDataErrorEventArgs) RaiseDataError(DataGridViewDataErrorEventArgs) RaiseDataError(DataGridViewDataErrorEventArgs)

DataError 이벤트를 발생시킵니다.Raises the DataError event.

(Inherited from DataGridViewElement)
RaiseMouseWheel(MouseEventArgs) RaiseMouseWheel(MouseEventArgs) RaiseMouseWheel(MouseEventArgs) RaiseMouseWheel(MouseEventArgs)

MouseWheel 이벤트를 발생시킵니다.Raises the MouseWheel event.

(Inherited from DataGridViewElement)
SetValue(Int32, Object) SetValue(Int32, Object) SetValue(Int32, Object) SetValue(Int32, Object)

셀의 값을 설정합니다.Sets the value of the cell.

(Inherited from DataGridViewCell)
ToString() ToString() ToString() ToString()

현재 개체를 설명하는 문자열을 반환합니다.Returns a string that describes the current object.

적용 대상

추가 정보