Overrides the standard DevExpress RepositoryItemSpinEdit.
It mimics Max's spinner behavior more closely such as dragging on the spinner buttons to rapidly scroll the value
Although the class has compile dependencies on ExplorerFramework, it is designed to work for any TreeList, even if ExplorerFramework elements are not present
Public Member Functions |
|
MaxRepositoryItemSpinEdit (System.Type numberType) | |
Constructor. |
|
MaxRepositoryItemSpinEdit () | |
override object | Clone () |
Override of the Clone method to return this
derived class. |
|
override void | Assign (RepositoryItem item) |
An override of the Assign method. |
|
override BaseEdit | CreateEditor () |
Creates an ExtendedSpinEditor
for this repository item's number type. |
|
override BaseEditViewInfo | CreateViewInfo () |
Creates and returns a
MaxSpinEditViewInfo object based on this spinner. |
|
Static Public Member Functions |
|
static void | Register () |
Properties |
|
DevExpress.XtraTreeList.Columns.TreeListColumn |
AssociatedColumn [get, set] |
The column to which the Repository item is
associated. |
|
bool |
AlwaysDrawSpinButtons [get, set] |
System.Type |
NumberType [get, set] |
The numerical type (integer, float, etc.) of
the data in this spinner. |
MaxCustomControls::MaxRepositoryItemSpinEdit::MaxRepositoryItemSpinEdit | ( | System.Type | numberType | ) | [inline] |
Constructor.
numberType | A type object to be used with this spinner. |
MaxCustomControls::MaxRepositoryItemSpinEdit::MaxRepositoryItemSpinEdit | ( | ) | [inline] |
static void MaxCustomControls::MaxRepositoryItemSpinEdit::Register | ( | ) | [inline, static] |
override object MaxCustomControls::MaxRepositoryItemSpinEdit::Clone | ( | ) | [inline] |
Override of the Clone method to return this derived class.
override void MaxCustomControls::MaxRepositoryItemSpinEdit::Assign | ( | RepositoryItem | item | ) | [inline] |
An override of the Assign method.
This version of Assign only works with MaxRepositoryItemSpinEdit objects.
item | An item to assign to this spinner. |
override BaseEdit MaxCustomControls::MaxRepositoryItemSpinEdit::CreateEditor | ( | ) | [inline] |
Creates an ExtendedSpinEditor for this repository item's number type.
override BaseEditViewInfo MaxCustomControls::MaxRepositoryItemSpinEdit::CreateViewInfo | ( | ) | [inline] |
Creates and returns a MaxSpinEditViewInfo object based on this spinner.
DevExpress.XtraTreeList.Columns.TreeListColumn
MaxCustomControls::MaxRepositoryItemSpinEdit::AssociatedColumn
[get, set] |
The column to which the Repository item is associated.
summary> Controls whether the spin editor buttons will be shown or not /summary>
bool
MaxCustomControls::MaxRepositoryItemSpinEdit::AlwaysDrawSpinButtons
[get, set] |
System.Type
MaxCustomControls::MaxRepositoryItemSpinEdit::NumberType
[get, set] |
The numerical type (integer, float, etc.) of the data in this spinner.