Specializes BaseSpinEditViewInfo to control when buttons are drawn in the editor.
Public Member Functions |
|
MaxSpinEditViewInfo (RepositoryItem item) | |
Constructor. |
|
Protected Member Functions |
|
override string | GetDisplayText () |
Overridden to prevent DevExpress from
truncating the significant figures when a non-integral type is
displayed in a tree list cell. |
|
Properties |
|
override bool |
IsDrawButtons [get] |
Overridden to prevent drawing buttons if the
editor is read-only or unfocused. |
|
override object |
EditValue [get, set] |
Overridden to inform the user when the value
exceeds the maximum value of the decimal type. |
MaxCustomControls::MaxSpinEditViewInfo::MaxSpinEditViewInfo | ( | RepositoryItem | item | ) | [inline] |
Constructor.
item | An item to build the view info on. |
override string MaxCustomControls::MaxSpinEditViewInfo::GetDisplayText | ( | ) | [inline, protected] |
Overridden to prevent DevExpress from truncating the significant figures when a non-integral type is displayed in a tree list cell.
override bool
MaxCustomControls::MaxSpinEditViewInfo::IsDrawButtons [get,
protected] |
Overridden to prevent drawing buttons if the editor is read-only or unfocused.
override object
MaxCustomControls::MaxSpinEditViewInfo::EditValue [get,
set] |
Overridden to inform the user when the value exceeds the maximum value of the decimal type.
This is necessary because SpinEdit's base type is decimal, which has a smaller range than Max's spinner controls whose type is float.