Show / Hide Table of Contents

Method Select

| Improve this Doc View Source

Select(RowPresenter, SelectionMode, Boolean, Action)

Selects specified RowPresenter.

Declaration
public void Select(RowPresenter rowPresenter, SelectionMode selectionMode, bool ensureVisible = true, Action beforeSelecting = null)
Parameters
Type Name Description
RowPresenter rowPresenter

The specified RowPresenter.

System.Windows.Controls.SelectionMode selectionMode

The selection mode.

System.Boolean ensureVisible

Indicates whether selected row must be visible.

System.Action beforeSelecting

A delegate will be invoked before selectinng.

Implements
IDataPresenter.Select(RowPresenter, SelectionMode, Boolean, Action)
| Improve this Doc View Source

Select(RowPresenter[])

Selects multiple rows.

Declaration
public void Select(params RowPresenter[] rows)
Parameters
Type Name Description
RowPresenter[] rows

The multiple rows.

Implements
IDataPresenter.Select(RowPresenter[])
| Improve this Doc View Source

Select(RowPresenter, MouseButton, Action)

Selects specified RowPresenter by mouse button click.

Declaration
public void Select(RowPresenter row, MouseButton mouseButton, Action beforeSelecting)
Parameters
Type Name Description
RowPresenter row

The specified RowPresenter.

System.Windows.Input.MouseButton mouseButton

The mouse button click.

System.Action beforeSelecting

The action will be invoked before selecting.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest