Show / Hide Table of Contents

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 Source

ScreenshotItemViewModel(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 Source

CurrentInterval

Gets or sets the current refresh interval.

Declaration
public ScreenshotRefreshInterval CurrentInterval { get; set; }
Property Value
Type Description
ScreenshotRefreshInterval
View Source

Device

Gets the device that the screenshots are for.

Declaration
public IDevice Device { get; }
Property Value
Type Description
IDevice
View Source

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
View Source

Image

Gets or sets the device screenshot.

Declaration
public DeviceScreenshot Image { get; set; }
Property Value
Type Description
DeviceScreenshot
View Source

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>
  • View Source
In This Article
Back to top Generated by DocFX