Skip to content

TableLayoutPanel

Radu Martin edited this page Apr 15, 2017 · 2 revisions

Field generation

GenerateFields(object DataSource, params FieldDataDescriptor[] Fields)

FieldDataDescriptor helps the generator to recognize the created field:

FieldDataDescriptor(string CaptionText, DataColumn Column, 
    FieldEditorMode Mode = FieldEditorMode.Auto,
    EditorDataStyle? Style = null, 
    int? SizeWidth = null, 
    object NullValue = null, 
    bool IsReadOnly = false,
    decimal? Minimum = null,
    decimal? Maximum = null,
    object DataSource = null, 
    string ValueMember = null, 
    string DisplayMember = null,
    GetListBoxItemsDelegate GetListBoxItemsMethod = null,
    FormatValueDelegate FormatValueMethod = null)