System.Windows.Forms.ListView.UseCompatibleStateImageBehavior Property

Gets or sets a value indicating whether the System.Windows.Forms.ListView uses state image behavior that is compatible with the dnprdnshort 1.1 or the dnprdnshort 2.0.

Syntax

[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DefaultValue(true)]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
public bool UseCompatibleStateImageBehavior { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Changes to the System.Windows.Forms.ListView control in the dnprdnshort 2.0 enable custom state images to be set to indicate whether an item is checked or unchecked or in an indeterminate state. With the addition of this feature, the dnprdnshort 2.0 has different behavior than the .NET Framework 1.1. If you have created applications that depend on the behavior in the dnprdnshort 1.1, be sure that the ListView.UseCompatibleStateImageBehavior property is set to true, which is the default value. In order to fully take advantage of custom state images, set ListView.UseCompatibleStateImageBehavior to false.

Note:

If you are using the vsprvsext designer, the ListView.UseCompatibleStateImageBehavior property will be set to false.

Requirements

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