Class ImageRotatorZoomWindowViewModel
Creates an instance of the viewmodel for the ImageRotatorZoomWindow.
Inheritance
System.Object
ImageRotatorZoomWindowViewModel
Namespace: Simplic.UI.Control
Assembly: Simplic.UI.dll
Syntax
public class ImageRotatorZoomWindowViewModel : ExtendableViewModel
Constructors
| Improve this Doc View SourceImageRotatorZoomWindowViewModel(IEnumerable<Byte[]>, Int32)
Creates a ImageRotatorZoomWindowViewModel instance.
Declaration
public ImageRotatorZoomWindowViewModel(IEnumerable<byte[]> itemsource, int imageIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.Byte[]> | itemsource | |
System.Int32 | imageIndex |
Properties
| Improve this Doc View SourceItemsSource
Gets or sets the item source.
Declaration
public IEnumerable<byte[]> ItemsSource { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Byte[]> |
Next_Click
Command to swich to the next pichture.
Declaration
public ICommand Next_Click { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
Previous_Click
Command to swich to the previous picture.
Declaration
public ICommand Previous_Click { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
SelectedItem
Gets or sets the selected image.
Declaration
public BitmapSource SelectedItem { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Imaging.BitmapSource |