Ribbon for WinForms
DrawItem イベント (RibbonGallery)

C1.Win.Ribbon.4.5.2 アセンブリ > C1.Win.Ribbon 名前空間 > RibbonGallery クラス : DrawItem イベント
Occurs when the item is owner-drawn.
シンタックス
'宣言
 
Public Event DrawItem As EventHandler(Of DrawItemEventArgs)
public event EventHandler<DrawItemEventArgs> DrawItem
イベント データ

イベント ハンドラが、このイベントに関連するデータを含む、DrawItemEventArgs 型の引数を受け取りました。次の DrawItemEventArgs プロパティには、このイベントの固有の情報が記載されます。

プロパティ解説
Gets the rectangle that represents the bounds of the item being drawn.  
Gets the font assigned to the item being drawn.  
Gets the foreground color of the of the item being drawn.  
Gets the graphics surface to draw the item on.  
Gets the RibbonItem that is being OwnerDrawn  
Gets the state of the item being drawn.  
参照