Show / Hide Table of Contents

Delegate SelectableCollectionViewModel<T>.BeforeSetSelectedItemDelegate

Delegate for intercepting selected item changes before they are applied. Return false to cancel the selection change.

Namespace: Benday.Presentation
Assembly: Benday.Presentation.dll
Syntax
public delegate bool SelectableCollectionViewModel<T>.BeforeSetSelectedItemDelegate(object sender, T? value)
Parameters
Type Name Description
object sender

The source of the event.

T value

The proposed new selected item.

Returns
Type Description
bool

True to allow the selection change, false to cancel it.

  • Edit this page
  • View Source
In this article
Back to top Copyright © www.benday.com | info@benday.com