C# Class SidebarLibrary.WinControls.ListViewEx

Inheritance: System.Windows.Forms.ListView
Datei anzeigen Open project: sillsdev/FieldWorks Class Usage Examples

Private Properties

Property Type Description
AdjustFirstItemRect System.Drawing.Rectangle
DoHeaderCustomDrawing void
DoListCustomDrawing void
DrawDownArrow void
DrawUpArrow void
GetHeaderCtrlRect System.Drawing.Rectangle
GetRowSorterHelper RowSorterHelper
GetSubItemRect System.Drawing.Rectangle
GetSubItemText string
HasHeaderImage bool
InitializeCheckBoxesImageList void
IsRowSelected bool
NotifyHeaderCustomDraw bool
NotifyListCustomDraw bool
PaintBackground void

Public Methods

Method Description
GetHeaderItemRect ( int index ) : Rectangle
ListViewEx ( ) : System
SetColumnSortFormat ( int columnIndex, SortedListViewFormatType format ) : void
SetColumnSortFormat ( int columnIndex, SortedListViewFormatType format, ListSortEvent callBack ) : void
SetHeaderIcon ( int headerIndex, int iconIndex ) : void

Protected Methods

Method Description
GetHeaderItemText ( int index ) : string
IsCursorOnDivider ( ) : bool
OnHandleCreated ( EventArgs e ) : void
WndProc ( Message &message ) : void

Private Methods

Method Description
AdjustFirstItemRect ( Rectangle rc ) : Rectangle
DoHeaderCustomDrawing ( Message &m ) : void
DoListCustomDrawing ( Message &m ) : void
DrawDownArrow ( Graphics g, Rectangle rc ) : void
DrawUpArrow ( Graphics g, Rectangle rc ) : void
GetHeaderCtrlRect ( ) : Rectangle
GetRowSorterHelper ( ) : RowSorterHelper
GetSubItemRect ( int row, int col ) : Rectangle
GetSubItemText ( int row, int col ) : string
HasHeaderImage ( int headerIndex, int &imageIndex ) : bool
InitializeCheckBoxesImageList ( ) : void
IsRowSelected ( int row ) : bool
NotifyHeaderCustomDraw ( Message &m ) : bool
NotifyListCustomDraw ( Message &m ) : bool
PaintBackground ( IntPtr hDC ) : void

Method Details

GetHeaderItemRect() public method

public GetHeaderItemRect ( int index ) : Rectangle
index int
return System.Drawing.Rectangle

GetHeaderItemText() protected method

protected GetHeaderItemText ( int index ) : string
index int
return string

IsCursorOnDivider() protected method

protected IsCursorOnDivider ( ) : bool
return bool

ListViewEx() public method

public ListViewEx ( ) : System
return System

OnHandleCreated() protected method

protected OnHandleCreated ( EventArgs e ) : void
e System.EventArgs
return void

SetColumnSortFormat() public method

public SetColumnSortFormat ( int columnIndex, SortedListViewFormatType format ) : void
columnIndex int
format SortedListViewFormatType
return void

SetColumnSortFormat() public method

public SetColumnSortFormat ( int columnIndex, SortedListViewFormatType format, ListSortEvent callBack ) : void
columnIndex int
format SortedListViewFormatType
callBack ListSortEvent
return void

SetHeaderIcon() public method

public SetHeaderIcon ( int headerIndex, int iconIndex ) : void
headerIndex int
iconIndex int
return void

WndProc() protected method

protected WndProc ( Message &message ) : void
message Message
return void