ListViewBase.IsItemClickEnabled property

This topic has not yet been rated - Rate this topic

Gets or sets a value that indicates whether items in the view raise an ItemClick event in response to interaction.

Syntax


public:
property bool IsItemClickEnabled { 
   bool get();
   void set (bool value);
}


<listViewBase IsItemClickEnabled="bool" />

Property value

Type: System.Boolean [.NET] | Platform::Boolean [C++]

True if interaction raises an ItemClick event; otherwise, false. The default is false.

Remarks

By default, a user can select items in the view by tapping or clicking on them. You can change this behavior to make the user interaction raise a click event instead of triggering item selection.

If you set the IsItemClickEnabled property to true, you must set the SelectionMode property to ListViewSelectionMode.None. Handle the ItemClick event to respond to the user interaction.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

ListViewBase
SelectionMode
ItemClick

 

 

Build date: 3/12/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.