IExplorerListViewItemRenderer.DrawItem 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在總管中渲染清單檢視單元的內容。
public:
void DrawItem(System::Drawing::Graphics ^ g, System::Drawing::Rectangle r, System::String ^ text, System::Object ^ tag, System::Windows::Forms::ListViewItem ^ item);
public void DrawItem(System.Drawing.Graphics g, System.Drawing.Rectangle r, string text, object tag, System.Windows.Forms.ListViewItem item);
abstract member DrawItem : System.Drawing.Graphics * System.Drawing.Rectangle * string * obj * System.Windows.Forms.ListViewItem -> unit
Public Sub DrawItem (g As Graphics, r As Rectangle, text As String, tag As Object, item As ListViewItem)
參數
- g
- Graphics
代表圖形的物件。
矩形的格子邊界。
- text
- String
清單中物件的字串值。
- tag
- Object
要收納的物品。
- item
- ListViewItem
清單上的那一項。