Overrides the default DevExpress ColorEditViewInfo to suppress drawing the dropdown menu button when the editor does not have focus.
Public Member Functions |
|
MaxColorEditViewInfo (RepositoryItem item) | |
Constructor. |
|
bool | IfMouseClickInAcceptedRegion (System.Drawing.Point mouseClickLocation) |
This function determine if an editor should
be shown based on the given mouse location. |
|
Properties |
|
override bool |
IsDrawButtons [get] |
Overrides the standard ColorEditViewInfo
behavior and the dropdown button will never be drawn. |
MaxCustomControls::MaxColorEditViewInfo::MaxColorEditViewInfo | ( | RepositoryItem | item | ) | [inline] |
Constructor.
item | The repository item to which this view belongs. |
bool MaxCustomControls::MaxColorEditViewInfo::IfMouseClickInAcceptedRegion | ( | System.Drawing.Point | mouseClickLocation | ) | [inline] |
This function determine if an editor should be shown based on the given mouse location.
mouseClickLocation | The given mouse location |
Implements MaxCustomControls::IShowEditorConfig.
override bool
MaxCustomControls::MaxColorEditViewInfo::IsDrawButtons [get,
protected] |
Overrides the standard ColorEditViewInfo behavior and the dropdown button will never be drawn.