B-Arts DocumentationIndice generale

DataGridViewMBTesto

Scopo

Cella testuale specializzata per DataGridView. Applica agli editor della griglia le stesse categorie di BTesto: tipo dato, tipo numerico, decimali, arrotondamento, maiuscolo/proporzionale, lunghezza massima e password.

Proprietà specifiche

  • TipoDiDato: alfanumerico, alfabetico, numerico, valuta, ora o data.

  • TipoNum, CifreDec, NumDecVisibili, NumDecRound.

  • Formato, MaxLength, MaxLengthAuto, PasswordChar.

  • Eventi CellKeyDown e CellKeyPress.

Il tipo viene normalmente creato tramite DataGridViewMBColumn o internamente dai controlli B-Arts. Non usarlo direttamente quando BGriglia e MBGrigliaColonna coprono il requisito.

<!-- BEGIN GENERATED API -->

Riferimento API completo

Identità

  • Namespace: B.BWindows.BControls

  • Assembly: BFrameworkControls

  • Tipo: class

  • Classe base: DataGridViewTextBoxCell

  • Sorgente API: versione 5.0.0

Dichiarazione

public class DataGridViewMBTesto : DataGridViewTextBoxCell

Costruttori

  • DataGridViewMBTesto()

Campi pubblici

Nessun campo pubblico dichiarato.

Proprietà

Proprietà Tipo Accesso
CifreDec byte get/set
DefaultNewRowValue object get
Formato mbeFormato get/set
MaxLength int get/set
MaxLengthAuto bool get/set
NumDecRound byte get/set
NumDecVisibili mbeNumDec get/set
PasswordChar char get/set
TipoDiDato mbeTipoDiDato get/set
TipoNum mbeTipoNum get/set

Eventi CLR

  • CellKeyDown: CellKeyDownEventHandler

  • CellKeyPress: CellKeyPressEventHandler

Metodi

  • object Clone()

  • void DetachEditingControl()

  • void InitializeEditingControl(int rowIndex, object initialFormattedValue, DataGridViewCellStyle dataGridViewCellStyle)

Tipi annidati pubblici

Delegate CellKeyDownEventHandler

  • Firma: void CellKeyDownEventHandler(object sender, KeyEventArgs e)

Delegate CellKeyPressEventHandler

  • Firma: void CellKeyPressEventHandler(object sender, KeyPressEventArgs e)

mbeFormato

  • mbgNessuno = 0

  • mbgMaiuscolo = 1

  • mbgPROPORZIONALE = 2

mbeNumDec

  • mbgAuto = 0

  • mbgnd1 = 1

  • mbgnd2 = 2

  • mbgnd3 = 3

  • mbgnd4 = 4

  • mbgnd5 = 5

mbeTipoDiDato

  • Alfanumerico = 0

  • Alfabetico = 1

  • Numerico = 2

  • Valuta = 3

  • Ora = 4

  • Data = 5

mbeTipoNum

  • mbgByte = 0

  • mbgInteger = 1

  • mbgLong = 2

  • mbgSingle = 3

  • mbgDouble = 4