MaxCustomControls::MaxColorEditViewInfo Class Reference


Detailed Description

Overrides the default DevExpress ColorEditViewInfo to suppress drawing the dropdown menu button when the editor does not have focus.

Inheritance diagram for MaxCustomControls::MaxColorEditViewInfo:
Inheritance graph
[legend]

List of all members.

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.

Constructor & Destructor Documentation

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

Constructor.

Parameters:
item The repository item to which this view belongs.

Member Function Documentation

bool MaxCustomControls::MaxColorEditViewInfo::IfMouseClickInAcceptedRegion ( System.Drawing.Point  mouseClickLocation ) [inline]

This function determine if an editor should be shown based on the given mouse location.

Parameters:
mouseClickLocation The given mouse location
Returns:
True if to show the editor, false otherwise.

Implements MaxCustomControls::IShowEditorConfig.


Property Documentation

override bool MaxCustomControls::MaxColorEditViewInfo::IsDrawButtons [get, protected]

Overrides the standard ColorEditViewInfo behavior and the dropdown button will never be drawn.


MaxCustomControls::MaxColorEditViewInfo MaxCustomControls::MaxColorEditViewInfo MaxCustomControls::MaxColorEditViewInfo MaxCustomControls::MaxColorEditViewInfo MaxCustomControls::MaxColorEditViewInfo MaxCustomControls::MaxColorEditViewInfo MaxCustomControls::MaxColorEditViewInfo MaxCustomControls::MaxColorEditViewInfo MaxCustomControls::MaxColorEditViewInfo MaxCustomControls::MaxColorEditViewInfo
MaxCustomControls::MaxColorEditViewInfo MaxCustomControls::MaxColorEditViewInfo MaxCustomControls::MaxColorEditViewInfo MaxCustomControls::MaxColorEditViewInfo MaxCustomControls::MaxColorEditViewInfo MaxCustomControls::MaxColorEditViewInfo MaxCustomControls::MaxColorEditViewInfo MaxCustomControls::MaxColorEditViewInfo MaxCustomControls::MaxColorEditViewInfo MaxCustomControls::MaxColorEditViewInfo