Interface IViewModelSelectedItem<TEntity>
Interface IViewModelSelectedItem Implements the IViewModel
Inherited Members
Namespace: ISynergy.Framework.Mvvm.Abstractions.ViewModels
Assembly: ISynergy.Framework.Mvvm.dll
Syntax
public interface IViewModelSelectedItem<TEntity> : IViewModel, IObservableClass, IBindable, ICleanup
Type Parameters
Name | Description |
---|---|
TEntity | The type of the t entity. |
Properties
View SourceIsUpdate
Gets or sets the IsUpdate property value.
Declaration
bool IsUpdate { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
SelectedItem
Gets the selected item.
Declaration
TEntity SelectedItem { get; }
Property Value
Type | Description |
---|---|
TEntity | The selected item. |
SubmitCommand
Gets the submit _command.
Declaration
AsyncRelayCommand<TEntity> SubmitCommand { get; }
Property Value
Type | Description |
---|---|
AsyncRelayCommand<TEntity> | The submit _command. |
Methods
View SourceSetSelectedItemAsync(TEntity)
Sets the selected item.
Declaration
Task SetSelectedItemAsync(TEntity e)
Parameters
Type | Name | Description |
---|---|---|
TEntity | e | The entity. |
Returns
Type | Description |
---|---|
Task |
Extension Methods
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>, Func<TSource, Boolean>)