C# 클래스 Accord.Controls.Extensions

Extension methods for Windows Forms' controls.
파일 보기 프로젝트 열기: accord-net/framework

공개 메소드들

메소드 설명
AllowNestedProperties ( this dataGridView, bool value ) : void

Enables the display of recursively nested properties in the Windows.Forms' DataGridView control.

This method will register a custom cell formatting event in the DataGridView and retrieve any nested property specified in the column's DataPropertyName property using reflection. This method is based on th idea by Antonio Bello, originally shared in: http://www.developer-corner.com/2007/07/datagridview-how-to-bind-nested-objects_18.html

비공개 메소드들

메소드 설명
BindProperty ( object property, string propertyName, string format, IFormatProvider provider ) : string
dataGridView1_CellFormatting ( object sender, System.Windows.Forms.DataGridViewCellFormattingEventArgs e ) : void

메소드 상세

AllowNestedProperties() 공개 정적인 메소드

Enables the display of recursively nested properties in the Windows.Forms' DataGridView control.
This method will register a custom cell formatting event in the DataGridView and retrieve any nested property specified in the column's DataPropertyName property using reflection. This method is based on th idea by Antonio Bello, originally shared in: http://www.developer-corner.com/2007/07/datagridview-how-to-bind-nested-objects_18.html
public static AllowNestedProperties ( this dataGridView, bool value ) : void
dataGridView this The to enable nested properties.
value bool True to use nested properties, false otherwise.
리턴 void