IExplorerListViewItemRenderer.DrawItem 方法

定義

在總管中渲染清單檢視單元的內容。

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

代表圖形的物件。

r
Rectangle

矩形的格子邊界。

text
String

清單中物件的字串值。

tag
Object

要收納的物品。

item
ListViewItem

清單上的那一項。

適用於