Share via


IWpfTableControl2.KeepSelectionInView Property

Definition

Gets or sets a Boolean value indicating whether or not to keep selected entry in the visible viewport after data update.

public:
 property bool KeepSelectionInView { bool get(); void set(bool value); };
public:
 property bool KeepSelectionInView { bool get(); void set(bool value); };
public bool KeepSelectionInView { get; set; }
member this.KeepSelectionInView : bool with get, set
Public Property KeepSelectionInView As Boolean

Property Value

Remarks

If this value is true, the first selected entry will always be kept in viewport after data update. Scrolling may happen in order to keep the selection in viewport.

if this value is false, the previouly selected entry may be out of viewport after data update and the control will not automatically scroll it back into viewport.

Applies to