System.Windows.Forms.ToolStripItem.ContentRectangle Property

Gets the area where content, such as text and icons, can be placed within a System.Windows.Forms.ToolStripItem without overwriting background borders.

Syntax

[System.ComponentModel.Browsable(false)]
public System.Drawing.Rectangle ContentRectangle { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the ToolStripItem.ContentRectangle property to do custom painting of a System.Windows.Forms.ToolStripItem.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0