Method RenderMark
RenderMark(ListView, int, int, bool, bool)
Renders the mark indicator for an item. Override to customize mark rendering.
bool RenderMark(ListView listView, int item, int row, bool isMarked, bool markMultiple)
Parameters
listViewListViewThe ListView rendering to.
itemintThe zero-based index of the item.
rowintThe row in the viewport where the item is being rendered.
isMarkedboolWhether the item is currently marked.
markMultipleboolWhether multiple marking is enabled (checkbox vs radio button style).
Returns
Remarks
The default implementation returns false, causing ListView to use its
default mark rendering (checkbox glyphs when markMultiple is true,
radio button glyphs when false).
Override and return true to provide custom mark glyphs, positioning, or attributes. When this returns true, you must render marks yourself (if desired) and Render(ListView, bool, int, int, int, int, int) will be called starting at column 0.