wx.MaskedEdit.EditIntField Class Reference

Inheritance diagram for wx.MaskedEdit.EditIntField:


List of all members.

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


override object Object [get, set]
override string[] PredefinedChoices [get]
override string TextValue [get]
override string TooltipText [get]
int Value [get, set]


class  OverflowEvent
class  UnderflowEvent

Detailed Description

Defines a text field containing an integer number.

Member Function Documentation

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.


Use decimals es empty character if you want to prevent this field from returning result value null.

EditIntField wx.MaskedEdit.EditIntField.SetIn ( int  min,
int  max 

Setting MinValue and MaxValue.

this instance

EditIntField wx.MaskedEdit.EditIntField.SetMaxWidth ( int  width  ) 

Sets the MaxWidth.

this instance

EditIntField wx.MaskedEdit.EditIntField.SetMinWidth ( int  width  ) 

Sets the MinWidth.

this instance

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 

Member Data Documentation

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

Property Documentation

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).

Manual of the wx.NET   (c) 2003-2011 the wx.NET project at   Get wx.NET at SourceForge.net. Fast, secure and Free Open Source software downloads