C# Class WatchThis.Wpf.SlideshowWindow

Inheritance: System.Windows.Window, ISlideshowViewer, IPlatformService, INotifyPropertyChanged
Datei anzeigen Open project: kevintavog/WatchThis.net Class Usage Examples

Public Methods

Method Description
DisplayImage ( object imageData ) : string
Error ( string message ) : void
InvokeOnUiThread ( System.Action action ) : void
LoadImage ( ImageInformation imageInfo ) : object
SlideshowWindow ( SlideshowModel model ) : NLog
UpdateUiState ( ) : void

Protected Methods

Method Description
OnClosed ( EventArgs e ) : void

Private Methods

Method Description
ChangedFullScreenState ( ) : void
Close ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
HideControls ( ) : void
NextImage ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
PauseResume ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
PreviousImage ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
ShowControls ( ) : void
ToggleFullScreen ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
WindowMouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
WindowSizeChanged ( object sender, System.Windows.SizeChangedEventArgs args ) : void

Method Details

DisplayImage() public method

public DisplayImage ( object imageData ) : string
imageData object
return string

Error() public method

public Error ( string message ) : void
message string
return void

InvokeOnUiThread() public method

public InvokeOnUiThread ( System.Action action ) : void
action System.Action
return void

LoadImage() public method

public LoadImage ( ImageInformation imageInfo ) : object
imageInfo ImageInformation
return object

OnClosed() protected method

protected OnClosed ( EventArgs e ) : void
e System.EventArgs
return void

SlideshowWindow() public method

public SlideshowWindow ( SlideshowModel model ) : NLog
model WatchThis.Models.SlideshowModel
return NLog

UpdateUiState() public method

public UpdateUiState ( ) : void
return void