Show / Hide Table of Contents

Interface ISelectableItem

Interface for a view model that can be selected. This is typically used in a list of items where the user can select one or more items. This interface provides a way to get the text and value of the item when using complex objects in a list.

Inherited Members
ISelectable.IsSelected
INotifyPropertyChanged.PropertyChanged
Namespace: Benday.Presentation
Assembly: Benday.Presentation.dll
Syntax
public interface ISelectableItem : ISelectable, INotifyPropertyChanged

Properties

| Edit this page View Source

Id

Gets or sets the id of the item. Typically an integer primary key.

Declaration
int Id { get; set; }
Property Value
Type Description
int
| Edit this page View Source

Text

Gets or sets the text to display to the user.

Declaration
string Text { get; set; }
Property Value
Type Description
string
| Edit this page View Source

TooltipText

Gets or sets the tooltip text.

Declaration
string TooltipText { get; set; }
Property Value
Type Description
string
| Edit this page View Source

Value

Gets or sets the value of the item.

Declaration
string Value { get; set; }
Property Value
Type Description
string
  • Edit this page
  • View Source
In this article
Back to top Copyright © www.benday.com | info@benday.com