MaxCustomControls::MaxSpinEditViewInfo Class Reference


Detailed Description

Specializes BaseSpinEditViewInfo to control when buttons are drawn in the editor.

List of all members.

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.

Constructor & Destructor Documentation

MaxCustomControls::MaxSpinEditViewInfo::MaxSpinEditViewInfo ( RepositoryItem  item ) [inline]

Constructor.

Parameters:
item An item to build the view info on.

Member Function Documentation

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.

Returns:
String the will be displayed in the tree list cell.

Property Documentation

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.


MaxCustomControls::MaxSpinEditViewInfo MaxCustomControls::MaxSpinEditViewInfo MaxCustomControls::MaxSpinEditViewInfo MaxCustomControls::MaxSpinEditViewInfo MaxCustomControls::MaxSpinEditViewInfo MaxCustomControls::MaxSpinEditViewInfo MaxCustomControls::MaxSpinEditViewInfo MaxCustomControls::MaxSpinEditViewInfo MaxCustomControls::MaxSpinEditViewInfo MaxCustomControls::MaxSpinEditViewInfo
MaxCustomControls::MaxSpinEditViewInfo MaxCustomControls::MaxSpinEditViewInfo MaxCustomControls::MaxSpinEditViewInfo MaxCustomControls::MaxSpinEditViewInfo MaxCustomControls::MaxSpinEditViewInfo MaxCustomControls::MaxSpinEditViewInfo MaxCustomControls::MaxSpinEditViewInfo MaxCustomControls::MaxSpinEditViewInfo MaxCustomControls::MaxSpinEditViewInfo MaxCustomControls::MaxSpinEditViewInfo