ListViewBase.IsItemClickEnabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
property bool IsItemClickEnabled { bool get(); void set(bool value); };
bool IsItemClickEnabled();
void IsItemClickEnabled(bool value);
public bool IsItemClickEnabled { get; set; }
var boolean = listViewBase.isItemClickEnabled;
listViewBase.isItemClickEnabled = boolean;
Public Property IsItemClickEnabled As Boolean
<listViewBase IsItemClickEnabled="bool" />
Property Value
bool
true if interaction fires 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 fire 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.
Applies to
See also
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin