Table of Contents

Class SelectChannelViewModel

Namespace
Loehnert.Lisrt.Can.Vector.ViewModels
Assembly
Loehnert.Lisrt.Can.Vector.dll

View model for selecting a channel.

public class SelectChannelViewModel : Screen, IViewAware, IScreen, IHaveDisplayName, IActivate, IDeactivate, IGuardClose, IClose, INotifyPropertyChangedEx, INotifyPropertyChanged, IChild
Inheritance
PropertyChangedBase
ViewAware
Screen
SelectChannelViewModel
Implements
IViewAware
IScreen
IHaveDisplayName
IActivate
IDeactivate
IGuardClose
IClose
INotifyPropertyChangedEx
IChild
Inherited Members
Screen.OnInitialize()
Screen.OnActivate()
Screen.Parent
Screen.DisplayName
Screen.IsActive
Screen.IsInitialized
Screen.Activated
Screen.AttemptingDeactivation
Screen.Deactivated
ViewAware.DefaultContext
ViewAware.Views
ViewAware.ViewAttached
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Constructors

SelectChannelViewModel(IEnumerable<ChannelInfo>)

Initializes a new instance of the SelectChannelViewModel class.

public SelectChannelViewModel(IEnumerable<ChannelInfo> channels)

Parameters

channels IEnumerable<ChannelInfo>

Possible channels.

Properties

Channels

Gets the channels.

public IEnumerable<ChannelInfo> Channels { get; }

Property Value

IEnumerable<ChannelInfo>

CloseWithTrueCommand

Gets a command for setting the selected channel.

public ICommand CloseWithTrueCommand { get; }

Property Value

ICommand

SelectedChannel

Gets or sets the selected channel.

public ChannelInfo SelectedChannel { get; set; }

Property Value

ChannelInfo