语言

ListView.IDataBoundListControl.EnablePersistedSelection 属性

定义

获取或设置一个值,该值指定当用户通过数据绑定控件中的数据页面时所选行是否持久保存。

property bool System::Web::UI::WebControls::IDataBoundListControl::EnablePersistedSelection { bool get(); void set(bool value); };
bool System.Web.UI.WebControls.IDataBoundListControl.EnablePersistedSelection { get; set; }
member this.System.Web.UI.WebControls.IDataBoundListControl.EnablePersistedSelection : bool with get, set
 Property EnablePersistedSelection As Boolean Implements IDataBoundListControl.EnablePersistedSelection

属性值

true 如果所选内容基于数据键,则为否则,为 false.

实现

注解

此成员是显式接口成员实现。 仅当实例强制转换为ListView接口时IDataBoundListControl,才能使用它。

适用于