BFormatTextAttribute - Esempi
Normalizzazione nell'editor testuale
using B.BAttributes;
public class ProductEditor
{
[BFormatText(BFormatTextAttribute.eTextFormat.MAIUSCOLO)]
public string Code { get; set; } = "";
[BFormatText(BFormatTextAttribute.eTextFormat.MINUSCOLO)]
public string Email { get; set; } = "";
}
BPropertyGrid trasferisce MAIUSCOLO, MINUSCOLO o NESSUNO all'editor testuale. L'attributo descrive il comportamento dell'interfaccia e non garantisce da solo la normalizzazione di valori assegnati da codice.
