C# Class NaturalGroundingPlayer.EditVideoWindow

Interaction logic for EditVideoWindow.xaml
Inheritance: System.Windows.Window
Show file Open project: mysteryx93/NaturalGroundingPlayer Class Usage Examples

Protected Properties

Property Type Description
callback ClosingCallback
fileName string
isFormSaved bool
player IMediaPlayerBusiness
videoId Guid?

Public Methods

Method Description
EditVideoWindow ( ) : System
Instance ( System.Guid videoId, string fileName, IMediaPlayerBusiness player, ClosingCallback callback ) : EditVideoWindow

Displays a window to edit specified video.

InstancePopup ( UIElement target, PlacementMode placement, System.Guid videoId, string fileName, IMediaPlayerBusiness player, ClosingCallback callback ) : EditVideoWindow

Displays a popup containing the FileBinding menu features.

ShowFileBindingMenu ( UIElement target, PlacementMode placement ) : void

Private Methods

Method Description
CancelButton_Click ( object sender, RoutedEventArgs e ) : void
CategoryCombo_LostKeyboardFocus ( object sender, System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
CustomCombo_LostFocus ( object sender, System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
DownloadUrlText_LostFocus ( object sender, RoutedEventArgs e ) : void
EditRating_LostFocus ( object sender, RoutedEventArgs e ) : void
FileBindingButton_Click ( object sender, RoutedEventArgs e ) : void
GetDefaultFileName ( ) : string
LoadMediaInfoAsync ( ) : Task
PlayButton_Click ( object sender, RoutedEventArgs e ) : void
SaveButton_Click ( object sender, RoutedEventArgs e ) : void
SaveChanges ( ) : bool
Window_Closing ( object sender, System e ) : void
Window_Loaded ( object sender, RoutedEventArgs e ) : void
YouTubeSearchButton_Click ( object sender, RoutedEventArgs e ) : void
menuDeleteEntry_Click ( object sender, RoutedEventArgs e ) : void
menuDeleteVideo_Click ( object sender, RoutedEventArgs e ) : void
menuDownloadVideo_Click ( object sender, RoutedEventArgs e ) : void
menuDownloadVideo_ClickAsync ( ) : Task
menuEdit_Click ( object sender, RoutedEventArgs e ) : void
menuExtractAudio_Click ( object sender, RoutedEventArgs e ) : void
menuMoveFile_Click ( object sender, RoutedEventArgs e ) : void
menuRemoveBinding_Click ( object sender, RoutedEventArgs e ) : void
menuSelectFile_Click ( object sender, RoutedEventArgs e ) : void

Method Details

EditVideoWindow() public method

public EditVideoWindow ( ) : System
return System

Instance() public static method

Displays a window to edit specified video.
public static Instance ( System.Guid videoId, string fileName, IMediaPlayerBusiness player, ClosingCallback callback ) : EditVideoWindow
videoId System.Guid
fileName string
player IMediaPlayerBusiness
callback ClosingCallback
return EditVideoWindow

InstancePopup() public static method

Displays a popup containing the FileBinding menu features.
public static InstancePopup ( UIElement target, PlacementMode placement, System.Guid videoId, string fileName, IMediaPlayerBusiness player, ClosingCallback callback ) : EditVideoWindow
target UIElement
placement PlacementMode
videoId System.Guid
fileName string
player IMediaPlayerBusiness
callback ClosingCallback
return EditVideoWindow

ShowFileBindingMenu() public method

public ShowFileBindingMenu ( UIElement target, PlacementMode placement ) : void
target UIElement
placement PlacementMode
return void

Property Details

callback protected property

protected ClosingCallback callback
return ClosingCallback

fileName protected property

protected string fileName
return string

isFormSaved protected property

protected bool isFormSaved
return bool

player protected property

protected IMediaPlayerBusiness player
return IMediaPlayerBusiness

videoId protected property

protected Guid? videoId
return Guid?