public interface IViewMethods
Public Interface IViewMethods
La interface se debe implementar en las ViewModels de las vistas.
Ejemplo de implementación en TableViewModel.vb de Aliquo.Windows.Views.Tables:
Public Sub Refresh() Implements IViewMethods.Refresh
...
End Sub
Todas las interface de métodos de vistas deben heredar de la interface IViewMethods.
GetCurrentId | Gets the identifier of the currently selected element, and sets it as the only selected element. |
GetSelectedIds | Gets the identifiers of the selected elements, the currently selected element will be in the first position. |
Refresh | Refresh the view. |