ListView.UseCompatibleStateImageBehavior Property

Definition

Gets or sets a value indicating whether the ListView uses state image behavior that is compatible with .NET Framework 1.1 or .NET Framework 2.0 and later.

public:
 property bool UseCompatibleStateImageBehavior { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(false)]
public bool UseCompatibleStateImageBehavior { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.UseCompatibleStateImageBehavior : bool with get, set
Public Property UseCompatibleStateImageBehavior As Boolean

Property Value

true if the state image behavior is compatible with .NET Framework 1.1; false if the behavior is compatible with .NET Framework 2.0 and later. The default is true.

Attributes

Remarks

Changes to the ListView control in .NET Framework 2.0 enabled custom state images to be set to indicate whether an item is checked or unchecked or in an indeterminate state. If you created applications that depend on the behavior in .NET Framework 1.1, check that the UseCompatibleStateImageBehavior property is set to true, which is the default value. To fully take advantage of custom state images, set UseCompatibleStateImageBehavior to false.

Applies to