Public Member Functions | |
FormItemAttribute (string name, string comment, params string[] triplesCanonicalNamePlusPropNamePlusComment) | |
Properties | |
StringInCultures | Comment [get] |
bool | IsReadOnly [get, set] |
StringInCultures | Name [get] |
int | Sort [get, set] |
wx.ComponentModel.FormItemAttribute.FormItemAttribute | ( | string | name, | |
string | comment, | |||
params string[] | triplesCanonicalNamePlusPropNamePlusComment | |||
) |
Creates an attribute defining a string that shall be used as a title on presenting the field.
name | is the neutral name of the property to be shown in the form if this has not been translated into the current culture. | |
comment | is the neutral comment of the property to be displayed if a better translation is not available. | |
triplesCanonicalNamePlusPropNamePlusComment | is a sequence of triples canonical culture name (like "de-DE"), translated name, translated comment. |
class FormData { [FormItemAttribute("Valuation", "A value to be used for valuation.", "de", "Bewertung", "Ein Wert zur Bewertung.")] int _valuation; }
StringInCultures wx.ComponentModel.FormItemAttribute.Comment [get] |
This is a text that describes the meaning of this form field. Usually this will be displayed as tool tip.
bool wx.ComponentModel.FormItemAttribute.IsReadOnly [get, set] |
True iff this shall be presented read-only.
StringInCultures wx.ComponentModel.FormItemAttribute.Name [get] |
Name of this property in the dialog.
int wx.ComponentModel.FormItemAttribute.Sort [get, set] |
If possible, items will be sorted according to this parameter.