Public Member Functions | |
override void | OnDown () |
override void | OnLeave () |
override void | OnPageDown () |
override void | OnPageUp () |
override void | OnUp () |
delegate void | OverflowEventHandler (object sender, OverflowEvent evt) |
EditIntField | SetDisplayName (string newDisplayName) |
EditIntField | SetEmptyChar (char emptyChar) |
EditIntField | SetIn (int min, int max) |
EditIntField | SetMaxWidth (int width) |
EditIntField | SetMinWidth (int width) |
EditIntField | SetTextAttributes (TextAttr attr) |
override bool | SetTextValue (string value) |
EditIntField | SetWidth (int width) |
delegate void | UnderflowEventHandler (object sender, UnderflowEvent evt) |
Static Public Member Functions | |
static EditIntField | New (string name) |
static EditIntField | New () |
Public Attributes | |
int | MaxValue = int.MaxValue |
int | MinValue = int.MinValue |
event OverflowEventHandler | OnOverflow |
event UnderflowEventHandler | OnUnderflow |
Properties | |
override object | Object [get, set] |
override string[] | PredefinedChoices [get] |
override string | TextValue [get] |
override string | TooltipText [get] |
int | Value [get, set] |
Classes | |
class | OverflowEvent |
class | UnderflowEvent |
static EditIntField wx.MaskedEdit.EditIntField.New | ( | string | name | ) | [static] |
Creates an instance of a particular name. This name may be used to identify the field in event handlers.
static EditIntField wx.MaskedEdit.EditIntField.New | ( | ) | [static] |
override void wx.MaskedEdit.EditIntField.OnDown | ( | ) | [virtual] |
Reimplemented from wx.MaskedEdit.EditField.
override void wx.MaskedEdit.EditIntField.OnLeave | ( | ) | [virtual] |
Reimplemented from wx.MaskedEdit.EditField.
override void wx.MaskedEdit.EditIntField.OnPageDown | ( | ) | [virtual] |
Reimplemented from wx.MaskedEdit.EditField.
override void wx.MaskedEdit.EditIntField.OnPageUp | ( | ) | [virtual] |
Reimplemented from wx.MaskedEdit.EditField.
override void wx.MaskedEdit.EditIntField.OnUp | ( | ) | [virtual] |
Reimplemented from wx.MaskedEdit.EditField.
delegate void wx.MaskedEdit.EditIntField.OverflowEventHandler | ( | object | sender, | |
OverflowEvent | evt | |||
) |
EditIntField wx.MaskedEdit.EditIntField.SetDisplayName | ( | string | newDisplayName | ) |
Changes property TooltipText and returns this.
newDisplayName | Thsi will be used by the edit field to dispay ots purpose e.g. in tooltip texts. |
EditIntField wx.MaskedEdit.EditIntField.SetEmptyChar | ( | char | emptyChar | ) |
Sets the EmptyChar
to the provided value and return this
.
Samples:
StringField.New().SetEmptyChar(
'_') StringField.New().SetEmptyChar(
'0')null
.
EditIntField wx.MaskedEdit.EditIntField.SetIn | ( | int | min, | |
int | max | |||
) |
Setting MinValue
and MaxValue
.
EditIntField wx.MaskedEdit.EditIntField.SetMaxWidth | ( | int | width | ) |
Sets the MaxWidth
.
EditIntField wx.MaskedEdit.EditIntField.SetMinWidth | ( | int | width | ) |
Sets the MinWidth
.
EditIntField wx.MaskedEdit.EditIntField.SetTextAttributes | ( | TextAttr | attr | ) |
Defines text and background colour. Provide null
if you do not want to specify text attributes explicitely.
override bool wx.MaskedEdit.EditIntField.SetTextValue | ( | string | newTextValue | ) | [virtual] |
This will change TextValue
. Setting this property will start interpretation of the string. The result is true on success, i.e. TextValue
has been changed. This does not necessarily mean, that TextValue
equals newTextValue
because TextValue
may contain leading EmptyChar
etc.
Implements wx.MaskedEdit.EditField.
EditIntField wx.MaskedEdit.EditIntField.SetWidth | ( | int | width | ) |
Sets minimal and maximal width.
delegate void wx.MaskedEdit.EditIntField.UnderflowEventHandler | ( | object | sender, | |
UnderflowEvent | evt | |||
) |
int wx.MaskedEdit.EditIntField.MaxValue = int.MaxValue |
int wx.MaskedEdit.EditIntField.MinValue = int.MinValue |
event OverflowEventHandler wx.MaskedEdit.EditIntField.OnOverflow |
event UnderflowEventHandler wx.MaskedEdit.EditIntField.OnUnderflow |
override object wx.MaskedEdit.EditIntField.Object [get, set] |
This returns the data object of the field.
Reimplemented from wx.MaskedEdit.EditField.
override string [] wx.MaskedEdit.EditIntField.PredefinedChoices [get] |
If this differs from null
, than this property defines a number of predefined choices that may be for instance used in popup menus.
Reimplemented from wx.MaskedEdit.EditField.
override string wx.MaskedEdit.EditIntField.TextValue [get] |
Returns or the text appearance of the current value.
Reimplemented from wx.MaskedEdit.EditField.
override string wx.MaskedEdit.EditIntField.TooltipText [get] |
A tooltip text created from the DisplayName
(or if empty from the Name
).
Reimplemented from wx.MaskedEdit.EditField.
int wx.MaskedEdit.EditIntField.Value [get, set] |
Return the value of this field. Setting the value will raise MaskedEditFieldValueChangingEvent and MaskedEditFieldValueChangedEvent(s).