DataGridColumnStyle.Paint DataGridColumnStyle.Paint DataGridColumnStyle.Paint DataGridColumnStyle.Paint Method

정의

파생 클래스에서 재정의된 경우 DataGrid 컨트롤에 열을 그립니다.When overridden in a derived class, paints the column in a DataGrid control.

오버로드

Paint(Graphics, Rectangle, CurrencyManager, Int32) Paint(Graphics, Rectangle, CurrencyManager, Int32) Paint(Graphics, Rectangle, CurrencyManager, Int32) Paint(Graphics, Rectangle, CurrencyManager, Int32)

지정한 DataGridColumnStyle, Graphics, Rectangle 및 행 번호를 사용하여 CurrencyManager을 그립니다.Paints the DataGridColumnStyle with the specified Graphics, Rectangle, CurrencyManager, and row number.

Paint(Graphics, Rectangle, CurrencyManager, Int32, Boolean) Paint(Graphics, Rectangle, CurrencyManager, Int32, Boolean) Paint(Graphics, Rectangle, CurrencyManager, Int32, Boolean) Paint(Graphics, Rectangle, CurrencyManager, Int32, Boolean)

파생 클래스에서 재정의된 경우 지정한 DataGridColumnStyle, Graphics, Rectangle, 행 번호 및 맞춤을 사용하여 CurrencyManager을 그립니다.When overridden in a derived class, paints a DataGridColumnStyle with the specified Graphics, Rectangle, CurrencyManager, row number, and alignment.

Paint(Graphics, Rectangle, CurrencyManager, Int32, Brush, Brush, Boolean) Paint(Graphics, Rectangle, CurrencyManager, Int32, Brush, Brush, Boolean) Paint(Graphics, Rectangle, CurrencyManager, Int32, Brush, Brush, Boolean) Paint(Graphics, Rectangle, CurrencyManager, Int32, Brush, Brush, Boolean)

지정한 DataGridColumnStyle, Graphics, Rectangle, 행 번호, 배경색, 전경색 및 맞춤을 사용하여 CurrencyManager을 그립니다.Paints a DataGridColumnStyle with the specified Graphics, Rectangle, CurrencyManager, row number, background color, foreground color, and alignment.

Paint(Graphics, Rectangle, CurrencyManager, Int32) Paint(Graphics, Rectangle, CurrencyManager, Int32) Paint(Graphics, Rectangle, CurrencyManager, Int32) Paint(Graphics, Rectangle, CurrencyManager, Int32)

지정한 DataGridColumnStyle, Graphics, Rectangle 및 행 번호를 사용하여 CurrencyManager을 그립니다.Paints the DataGridColumnStyle with the specified Graphics, Rectangle, CurrencyManager, and row number.

protected public:
 abstract void Paint(System::Drawing::Graphics ^ g, System::Drawing::Rectangle bounds, System::Windows::Forms::CurrencyManager ^ source, int rowNum);
protected internal abstract void Paint (System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.CurrencyManager source, int rowNum);
abstract member Paint : System.Drawing.Graphics * System.Drawing.Rectangle * System.Windows.Forms.CurrencyManager * int -> unit
Protected Friend MustOverride Sub Paint (g As Graphics, bounds As Rectangle, source As CurrencyManager, rowNum As Integer)

매개 변수

g
Graphics Graphics Graphics Graphics

그릴 Graphics입니다.The Graphics to draw to.

bounds
Rectangle Rectangle Rectangle Rectangle

그릴 경계 Rectangle입니다.The bounding Rectangle to paint into.

source
CurrencyManager CurrencyManager CurrencyManager CurrencyManager

열이 속하는 CurrencyManager 컨트롤의 DataGrid입니다.The CurrencyManager of the DataGrid control the column belongs to.

rowNum
Int32 Int32 Int32 Int32

참조 중인 내부 데이터의 행 번호입니다.The number of the row in the underlying data being referred to.

Paint(Graphics, Rectangle, CurrencyManager, Int32, Boolean) Paint(Graphics, Rectangle, CurrencyManager, Int32, Boolean) Paint(Graphics, Rectangle, CurrencyManager, Int32, Boolean) Paint(Graphics, Rectangle, CurrencyManager, Int32, Boolean)

파생 클래스에서 재정의된 경우 지정한 DataGridColumnStyle, Graphics, Rectangle, 행 번호 및 맞춤을 사용하여 CurrencyManager을 그립니다.When overridden in a derived class, paints a DataGridColumnStyle with the specified Graphics, Rectangle, CurrencyManager, row number, and alignment.

protected public:
 abstract void Paint(System::Drawing::Graphics ^ g, System::Drawing::Rectangle bounds, System::Windows::Forms::CurrencyManager ^ source, int rowNum, bool alignToRight);
protected internal abstract void Paint (System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.CurrencyManager source, int rowNum, bool alignToRight);
abstract member Paint : System.Drawing.Graphics * System.Drawing.Rectangle * System.Windows.Forms.CurrencyManager * int * bool -> unit
Protected Friend MustOverride Sub Paint (g As Graphics, bounds As Rectangle, source As CurrencyManager, rowNum As Integer, alignToRight As Boolean)

매개 변수

g
Graphics Graphics Graphics Graphics

그릴 Graphics입니다.The Graphics to draw to.

bounds
Rectangle Rectangle Rectangle Rectangle

그릴 경계 Rectangle입니다.The bounding Rectangle to paint into.

source
CurrencyManager CurrencyManager CurrencyManager CurrencyManager

열이 속하는 CurrencyManager 컨트롤의 DataGrid입니다.The CurrencyManager of the DataGrid control the column belongs to.

rowNum
Int32 Int32 Int32 Int32

참조 중인 내부 데이터의 행 번호입니다.The number of the row in the underlying data being referred to.

alignToRight
Boolean Boolean Boolean Boolean

열의 내용을 오른쪽에 맞출지 여부를 나타내는 값입니다.A value indicating whether to align the column's content to the right. 내용을 오른쪽에 맞추면 true이고, 그렇지 않으면 false입니다.true if the content should be aligned to the right; otherwise false.

Paint(Graphics, Rectangle, CurrencyManager, Int32, Brush, Brush, Boolean) Paint(Graphics, Rectangle, CurrencyManager, Int32, Brush, Brush, Boolean) Paint(Graphics, Rectangle, CurrencyManager, Int32, Brush, Brush, Boolean) Paint(Graphics, Rectangle, CurrencyManager, Int32, Brush, Brush, Boolean)

지정한 DataGridColumnStyle, Graphics, Rectangle, 행 번호, 배경색, 전경색 및 맞춤을 사용하여 CurrencyManager을 그립니다.Paints a DataGridColumnStyle with the specified Graphics, Rectangle, CurrencyManager, row number, background color, foreground color, and alignment.

protected public:
 virtual void Paint(System::Drawing::Graphics ^ g, System::Drawing::Rectangle bounds, System::Windows::Forms::CurrencyManager ^ source, int rowNum, System::Drawing::Brush ^ backBrush, System::Drawing::Brush ^ foreBrush, bool alignToRight);
protected internal virtual void Paint (System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.CurrencyManager source, int rowNum, System.Drawing.Brush backBrush, System.Drawing.Brush foreBrush, bool alignToRight);
abstract member Paint : System.Drawing.Graphics * System.Drawing.Rectangle * System.Windows.Forms.CurrencyManager * int * System.Drawing.Brush * System.Drawing.Brush * bool -> unit
override this.Paint : System.Drawing.Graphics * System.Drawing.Rectangle * System.Windows.Forms.CurrencyManager * int * System.Drawing.Brush * System.Drawing.Brush * bool -> unit
Protected Friend Overridable Sub Paint (g As Graphics, bounds As Rectangle, source As CurrencyManager, rowNum As Integer, backBrush As Brush, foreBrush As Brush, alignToRight As Boolean)

매개 변수

g
Graphics Graphics Graphics Graphics

그릴 Graphics입니다.The Graphics to draw to.

bounds
Rectangle Rectangle Rectangle Rectangle

그릴 경계 Rectangle입니다.The bounding Rectangle to paint into.

source
CurrencyManager CurrencyManager CurrencyManager CurrencyManager

열이 속하는 CurrencyManager 컨트롤의 DataGrid입니다.The CurrencyManager of the DataGrid control the column belongs to.

rowNum
Int32 Int32 Int32 Int32

참조 중인 내부 데이터 테이블의 행 번호입니다.The number of the row in the underlying data table being referred to.

backBrush
Brush Brush Brush Brush

배경색을 칠하는 데 사용된 Brush입니다.A Brush used to paint the background color.

foreBrush
Brush Brush Brush Brush

전경색을 칠하는 데 사용된 Color입니다.A Color used to paint the foreground color.

alignToRight
Boolean Boolean Boolean Boolean

내용을 오른쪽에 맞출지 여부를 나타내는 값입니다.A value indicating whether to align the content to the right. 내용을 오른쪽에 맞추면 true이고, 그렇지 않으면 false입니다.true if the content is aligned to the right, otherwise, false.

적용 대상