Class ScreenshotItemViewModel
A class to hold the view properties of an individual device's screenshots.
Inheritance
System.Object
ScreenshotItemViewModel
Namespace: Phoenix.Screenshot
Assembly: Phoenix.Plugin.Screenshot.dll
Syntax
public class ScreenshotItemViewModel : BindableBase
Constructors
View SourceScreenshotItemViewModel(IScreenshotManager, IDevice)
Initializes a new instance of the ScreenshotItemViewModel class.
Declaration
public ScreenshotItemViewModel(IScreenshotManager screenshotManager, IDevice device)
Parameters
Type | Name | Description |
---|---|---|
IScreenshotManager | screenshotManager | the screenshot manager |
IDevice | device | the device |
Properties
View SourceCurrentInterval
Gets or sets the current refresh interval.
Declaration
public ScreenshotRefreshInterval CurrentInterval { get; set; }
Property Value
Type | Description |
---|---|
ScreenshotRefreshInterval |
Device
Gets the device that the screenshots are for.
Declaration
public IDevice Device { get; }
Property Value
Type | Description |
---|---|
IDevice |
Enabled
Gets or sets a value indicating whether or not the refresh selection is enabled.
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Image
Gets or sets the device screenshot.
Declaration
public DeviceScreenshot Image { get; set; }
Property Value
Type | Description |
---|---|
DeviceScreenshot |
IntervalChoices
Gets a list of interval choices for binding to the UI.
Declaration
public static IReadOnlyCollection<IntervalDisplay> IntervalChoices { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyCollection<IntervalDisplay> |