System.Windows.Forms.DrawListViewSubItemEventArgs.DrawDefault Property

Gets or sets a value indicating whether the System.Windows.Forms.ListViewItem.ListViewSubItem should be drawn by the operating system instead of owner-drawn.

Syntax

public bool DrawDefault { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use this property when handling the ListView.DrawSubItem event for subitems that you do not want to customize. If you set this property to true, the subitem will be drawn normally using the current values of the System.Windows.Forms.ListViewItem.ListViewSubItem.BackColor, System.Windows.Forms.ListViewItem.ListViewSubItem.ForeColor, and System.Windows.Forms.ListViewItem.ListViewSubItem.Font properties

Note:

The ListViewItem.UseItemStyleForSubItems property of the parent System.Windows.Forms.ListViewItem must be set to false to prevent the ListViewItem.BackColor value of the parent item from overriding the subitem value.

Requirements

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