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.
Namespace: Benday.Presentation
Assembly: Benday.Presentation.dll
Syntax
public interface ISelectableItem : ISelectable, INotifyPropertyChanged
Properties
| Edit this page View SourceId
Gets or sets the id of the item. Typically an integer primary key.
Declaration
int Id { get; set; }
Property Value
Type | Description |
---|---|
int |
Text
Gets or sets the text to display to the user.
Declaration
string Text { get; set; }
Property Value
Type | Description |
---|---|
string |
TooltipText
Gets or sets the tooltip text.
Declaration
string TooltipText { get; set; }
Property Value
Type | Description |
---|---|
string |
Value
Gets or sets the value of the item.
Declaration
string Value { get; set; }
Property Value
Type | Description |
---|---|
string |