C# Класс NaturalGroundingPlayer.EditVideoWindow

Interaction logic for EditVideoWindow.xaml
Наследование: System.Windows.Window
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
callback ClosingCallback
fileName string
isFormSaved bool
player IMediaPlayerBusiness
videoId Guid?

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

EditVideoWindow() публичный Метод

public EditVideoWindow ( ) : System
Результат System

Instance() публичный статический Метод

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
Результат EditVideoWindow

InstancePopup() публичный статический Метод

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
Результат EditVideoWindow

ShowFileBindingMenu() публичный Метод

public ShowFileBindingMenu ( UIElement target, PlacementMode placement ) : void
target UIElement
placement PlacementMode
Результат void

Описание свойств

callback защищенное свойство

protected ClosingCallback callback
Результат ClosingCallback

fileName защищенное свойство

protected string fileName
Результат string

isFormSaved защищенное свойство

protected bool isFormSaved
Результат bool

player защищенное свойство

protected IMediaPlayerBusiness player
Результат IMediaPlayerBusiness

videoId защищенное свойство

protected Guid? videoId
Результат Guid?