Property | Type | Description | |
---|---|---|---|
CalculateColumnHeight | float | ||
CalculateFilterIndicatorWidth | int | ||
DrawImageAndText | void | ||
DrawText | void | ||
DrawVerticalText | void | ||
HandleHeaderCustomDraw | bool | ||
NeedsCustomDraw | bool | ||
NeedsCustomDraw | bool | ||
WndProc | void |
Method | Description | |
---|---|---|
GetItemRect ( int itemIndex ) : |
Return the bounds of the item with the given index
|
|
HeaderControl ( |
Create a header control for the given ObjectListView.
|
|
Invalidate ( ) : void |
Force the header to redraw by invalidating it
|
Method | Description | |
---|---|---|
CalculateFont ( OLVColumn column, bool isHot, bool isPressed ) : |
What font should be used to draw the header text?
|
|
CalculateHeight ( |
Calculate how height the header needs to be
|
|
CalculateStyle ( OLVColumn column, bool isHot, bool isPressed ) : BrightIdeasSoftware.HeaderStateStyle |
What style should be applied to the header?
|
|
CreateToolTip ( ) : void |
Create a native tool tip control for this listview
|
|
CustomDrawHeaderCell ( |
Draw one cell of the header
|
|
DrawFilterIndicator ( |
Draw an indication that this column has a filter applied to it
|
|
DrawHeaderImageAndText ( |
Draw the header's image and text
|
|
DrawThemedBackground ( |
Draw a more-or-less pure themed header background.
|
|
DrawThemedSortIndicator ( |
Draw a sort indicator using themes
|
|
DrawUnthemedBackground ( |
Draw a background for the header, without using Themes.
|
|
DrawUnthemedSortIndicator ( |
Draw a sort indicator without using themes
|
|
HandleDestroy ( |
Handle when the underlying header control is destroyed
|
|
HandleLayout ( |
The message divides a ListView's space between the header and the rows of the listview. The WINDOWPOS structure controls the headers bounds, the RECT controls the listview bounds.
|
|
HandleMouseMove ( |
Handle the MouseMove windows message
|
|
HandleNotify ( |
Handle the Notify windows message
|
|
HandleSetCursor ( |
Handle the SetCursor windows message
|
|
HasFilterIndicator ( OLVColumn column ) : bool |
Should the given column be drawn with a filter indicator against it?
|
|
HasNonThemedSortIndicator ( OLVColumn column ) : bool |
Should the given column show a non-themed sort indicator?
|
|
HasSortIndicator ( OLVColumn column ) : bool |
Should the given column show a sort indicator?
|
|
NeedsCustomDraw ( ) : bool |
Does this header need to be custom drawn? Word wrapping and colored text require custom drawning. Funnily enough, we can change the font natively. |
Method | Description | |
---|---|---|
CalculateColumnHeight ( |
||
CalculateFilterIndicatorWidth ( |
||
DrawImageAndText ( |
||
DrawText ( |
||
DrawVerticalText ( |
||
HandleHeaderCustomDraw ( |
Handle the CustomDraw windows message
|
|
NeedsCustomDraw ( BrightIdeasSoftware.HeaderFormatStyle style ) : bool | ||
NeedsCustomDraw ( BrightIdeasSoftware.HeaderStateStyle style ) : bool | ||
WndProc ( |
protected CalculateFont ( OLVColumn column, bool isHot, bool isPressed ) : |
||
column | OLVColumn | |
isHot | bool | |
isPressed | bool | |
return |
protected CalculateHeight ( |
||
g | ||
return | int |
protected CalculateStyle ( OLVColumn column, bool isHot, bool isPressed ) : BrightIdeasSoftware.HeaderStateStyle | ||
column | OLVColumn | |
isHot | bool | |
isPressed | bool | |
return | BrightIdeasSoftware.HeaderStateStyle |
protected CustomDrawHeaderCell ( |
||
g | ||
columnIndex | int | |
itemState | int | |
return | void |
protected DrawFilterIndicator ( |
||
g | ||
r | ||
return |
protected DrawHeaderImageAndText ( |
||
g | ||
r | ||
column | OLVColumn | |
stateStyle | BrightIdeasSoftware.HeaderStateStyle | |
return | void |
protected DrawThemedBackground ( |
||
g | ||
r | ||
columnIndex | int | |
isSelected | bool | |
return | void |
protected DrawThemedSortIndicator ( |
||
g | ||
r | ||
return | void |
protected DrawUnthemedBackground ( |
||
g | ||
r | ||
columnIndex | int | |
isSelected | bool | |
stateStyle | BrightIdeasSoftware.HeaderStateStyle | |
return | void |
protected DrawUnthemedSortIndicator ( |
||
g | ||
r | ||
return |
public GetItemRect ( int itemIndex ) : |
||
itemIndex | int | |
return |
protected HandleDestroy ( |
||
m | ||
return | bool |
protected HandleLayout ( |
||
m | ||
return | bool |
protected HandleMouseMove ( |
||
m | ||
return | bool |
protected HandleNotify ( |
||
m | ||
return | bool |
protected HandleSetCursor ( |
||
m | ||
return | bool |
protected HasFilterIndicator ( OLVColumn column ) : bool | ||
column | OLVColumn | |
return | bool |
protected HasNonThemedSortIndicator ( OLVColumn column ) : bool | ||
column | OLVColumn | |
return | bool |
protected HasSortIndicator ( OLVColumn column ) : bool | ||
column | OLVColumn | |
return | bool |
public HeaderControl ( |
||
olv | ||
return | System |