Show / Hide Table of Contents

Class SlideshowManager

The slideshow manager class used for the Screenshot Views expanded view.

Inheritance
System.Object
SlideshowManager
Namespace: Phoenix.Screenshot
Assembly: Phoenix.Plugin.Screenshot.dll
Syntax
public class SlideshowManager : BindableBase

Constructors

View Source

SlideshowManager(IDictionary<IDevice, ScreenshotItemViewModel>)

Initializes a new instance of the SlideshowManager class.

Declaration
public SlideshowManager(IDictionary<IDevice, ScreenshotItemViewModel> items)
Parameters
Type Name Description
System.Collections.Generic.IDictionary<IDevice, ScreenshotItemViewModel> items

A dictionary of screenshots to wrap.

View Source

SlideshowManager(Func<IDictionary<IDevice, ScreenshotItemViewModel>>)

Initializes a new instance of the SlideshowManager class.

Declaration
public SlideshowManager(Func<IDictionary<IDevice, ScreenshotItemViewModel>> getItems)
Parameters
Type Name Description
System.Func<System.Collections.Generic.IDictionary<IDevice, ScreenshotItemViewModel>> getItems

Returns a dictionary of screenshots to wrap.

Properties

View Source

CurrentlyExpandedItem

Gets the currently expanded item in the slideshow.

Declaration
public ScreenshotItemViewModel CurrentlyExpandedItem { get; }
Property Value
Type Description
ScreenshotItemViewModel
View Source

IsActive

Gets a value indicating whether the slideshow is active or not.

Declaration
public bool IsActive { get; }
Property Value
Type Description
System.Boolean

Methods

View Source

BeginSlideshow(ScreenshotItemViewModel)

Begins the slideshow from an item.

Declaration
public void BeginSlideshow(ScreenshotItemViewModel item)
Parameters
Type Name Description
ScreenshotItemViewModel item

The item to begin the slideshow with.

View Source

CanGoToNextScreenshotItem()

Verifies whether from the current node we can go to the next screenshot.

Declaration
public bool CanGoToNextScreenshotItem()
Returns
Type Description
System.Boolean

A value indicating whether we can go to the next screenshot.

View Source

CanGoToPreviousScreenshotItem()

Verifies whether from the current node we can go to the previous screenshot.

Declaration
public bool CanGoToPreviousScreenshotItem()
Returns
Type Description
System.Boolean

A value indicating whether we can go to the previous screenshot.

View Source

EndSlideshow()

Ends the slide show.

Declaration
public void EndSlideshow()
View Source

GoToNext()

If we can, go to the next screenshot in the slideshow.

Declaration
public void GoToNext()
View Source

GoToPrevious()

If we can, go the previous screenshot in the slideshow.

Declaration
public void GoToPrevious()
View Source

Refresh()

Refreshes the internal list based off of the wrapped dictionary reorients the currently expanded item in the list should there be additions or removals from the list.

Declaration
public void Refresh()
View Source

RefreshCurrentlyExpandedItem()

Refreshes the currently expanded item.

Declaration
public void RefreshCurrentlyExpandedItem()
  • View Source
In This Article
Back to top Generated by DocFX