C# Класс ScreenToGif.Windows.Editor

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

Открытые свойства

Свойство Тип Описание
FilledListProperty System.Windows.DependencyProperty
IsLoadingProperty System.Windows.DependencyProperty
NotPreviewingProperty System.Windows.DependencyProperty

Private Properties

Свойство Тип Описание
AddCropToElement void
AdjustFrameNumbers void
ApplyBorderButton_Click void
ApplyCaptionButton_Click void
ApplyChangeDelayButton_Click void
ApplyCinemagraphButton_Click void
ApplyCropButton_Click void
ApplyFadeButtonButton_Click void
ApplyFlipRotateButton_Click void
ApplyFreeDrawingButton_Click void
ApplyFreeTextButton_Click void
ApplyNewImageButton_Click void
ApplyOverrideDelayButton_Click void
ApplyResizeButton_Click void
ApplySlideButtonButton_Click void
ApplyTitleFrameButton_Click void
ApplyWatermarkButton_Click void
BorderColor_MouseLeftButtonDown void
Border_Executed void
CaptionFontColor_MouseLeftButtonDown void
CaptionOutlineColor_MouseLeftButtonDown void
Caption_Executed void
ChangeDelay_Executed void
Cinemagraph_Executed void
ClipBoardSelection_CanExecute void
ClipBoard_CanExecute void
ClosePanel void
Control_DragEnter void
Control_Drop void
Copy_Executed void
CreateTempPath string
Crop void
CropCallback void
CropChanged void
CropValue_Changed void
Crop_Executed void
Cut_Executed void
Delay void
DelayCallback void
DeleteFrame void
DeleteNext_CanExecute void
DeleteNext_Executed void
DeletePrevious_CanExecute void
DeletePrevious_Executed void
Delete_CanExecute void
Delete_Executed void
DeselectAll_Executed void
Discard void
DiscardAndLoadCallback void
DiscardCallback void
DiscardProject_Executed void
DispatcherResMessage string
EditorWindow_Deactivated void
ExploreClipBoard_Executed void
Fade int
Fade_Executed void
FeedbackButton_OnClickButton_Click void
File_CanExecute void
FirstFrame_Executed void
FitImage_Executed void
FlipRotate void
FlipRotateCallback void
FlipRotate_Executed void
FrameListView_SelectionChanged void
FreeDrawingColorBorder_MouseLeftButtonDown void
FreeDrawing_Executed void
FreeTextFontColor_MouseLeftButtonDown void
FreeTextTextBlock_OnMouseLeftButtonDown void
FreeTextTextBlock_OnMouseLeftButtonUp void
FreeTextTextBlock_OnMouseMove void
FreeText_Executed void
GoTo_Executed void
Grid_MouseWheel void
HeightResizeNumericUpDown_ValueChanged void
HideProgress void
Image_CanExecute void
ImportFrom void
ImportFromCallback void
ImportFromGif List
ImportFromImage List
ImportFromProject List
ImportFromVideo List
InsertFromMedia_Executed void
InsertImportFrom void
InsertImportFromCallback void
InsertInternal List
InsertRecording_Executed void
InsertWebcamRecording_Executed void
Insert_CanExecute void
InverseSelection_Executed void
Item_PreviewMouseLeftButtonDown void
KeepAspectCheckBox_Checked void
LastFrame_Executed void
ListFramesSelection_CanExecute void
Load bool
LoadCallback void
LoadNewFrames void
LoadSelected bool
LoadSelectedCallback void
LoadSelectedStarter void
MoveLeft_Executed void
MoveRight_Executed void
NewAnimationBackgroundColor_MouseLeftButtonDown void
NewAnimation_Executed void
NewBoardRecording_Executed void
NewFromMediaProject_Executed void
NewRecording_CanExecute void
NewRecording_Executed void
NewWebcamRecording_Executed void
NextFrame_Executed void
NumericUpDown_OnValueChanged void
OpenImage_Executed void
OptionsButton_Click void
Overlay List
OverlayCallback void
OverrideDelay_Executed void
Paste_CanExecute void
Paste_Executed void
Pause void
PlayPause void
Play_Executed void
Playback_CanExecute void
PreviousFrame_Executed void
Redo_CanExecute void
Redo_Executed void
RefreshCropImage void
RemoveClipboard_Executed void
RemoveCropElements void
Reordering_CanExecute void
ResMessage string
Reset_CanExecute void
Reset_Executed void
Resize void
ResizeCallback void
Resize_Executed void
Reverse_Executed void
SaveAsGif_Executed void
SaveAsProject_Executed void
SaveAsVideo_Executed void
SaveProject void
SaveProjectCallback void
SelectAll_Executed void
SelectNear void
SelectWatermark_Click void
SelectedFrames List
SelectedFramesIndex List
Selection_CanExecute void
ShowClipboardButton_Click void
ShowEncoderButton_Click void
ShowPanel void
ShowProgress void
ShowWarning void
Slide int
Slide_Executed void
SuppressWarning void
SystemParameters_StaticPropertyChanged void
System_PowerModeChanged void
TimerPreview_Tick void
TitleFrame int
TitleFrameBackgroundColor_MouseLeftButtonDown void
TitleFrameCallback void
TitleFrameFontColor_MouseLeftButtonDown void
TitleFrame_Executed void
TransitionCallback void
Transition_CanExecute void
Undo_CanExecute void
Undo_Executed void
UpdateProgress void
Watermark_Executed void
WidthResizeNumericUpDown_ValueChanged void
Window_Activated void
Window_Closing void
Window_KeyUp void
Window_Loaded void
Yoyo_Executed void
Zoom100_Executed void
Zoom_CanExecute void

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

Метод Описание
Editor ( ) : System

Default constructor.

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

Метод Описание
AddCropToElement ( FrameworkElement fel ) : void
AdjustFrameNumbers ( int startIndex ) : void
ApplyBorderButton_Click ( object sender, RoutedEventArgs e ) : void
ApplyCaptionButton_Click ( object sender, RoutedEventArgs e ) : void
ApplyChangeDelayButton_Click ( object sender, RoutedEventArgs e ) : void
ApplyCinemagraphButton_Click ( object sender, RoutedEventArgs e ) : void
ApplyCropButton_Click ( object sender, RoutedEventArgs e ) : void
ApplyFadeButtonButton_Click ( object sender, RoutedEventArgs e ) : void
ApplyFlipRotateButton_Click ( object sender, RoutedEventArgs e ) : void
ApplyFreeDrawingButton_Click ( object sender, RoutedEventArgs e ) : void
ApplyFreeTextButton_Click ( object sender, RoutedEventArgs e ) : void
ApplyNewImageButton_Click ( object sender, RoutedEventArgs e ) : void
ApplyOverrideDelayButton_Click ( object sender, RoutedEventArgs e ) : void
ApplyResizeButton_Click ( object sender, RoutedEventArgs e ) : void
ApplySlideButtonButton_Click ( object sender, RoutedEventArgs e ) : void
ApplyTitleFrameButton_Click ( object sender, RoutedEventArgs e ) : void
ApplyWatermarkButton_Click ( object sender, RoutedEventArgs e ) : void
BorderColor_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
Border_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
CaptionFontColor_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
CaptionOutlineColor_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
Caption_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
ChangeDelay_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
Cinemagraph_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
ClipBoardSelection_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
ClipBoard_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
ClosePanel ( ) : void
Control_DragEnter ( object sender, System.Windows.DragEventArgs e ) : void
Control_Drop ( object sender, System.Windows.DragEventArgs e ) : void
Copy_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
CreateTempPath ( ) : string
Crop ( System.Windows.Int32Rect rect ) : void
CropCallback ( IAsyncResult ar ) : void
CropChanged ( Object sender, RoutedEventArgs rea ) : void
CropValue_Changed ( object sender, EventArgs e ) : void
Crop_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
Cut_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
Delay ( DelayChangeType type, int delay ) : void
DelayCallback ( IAsyncResult ar ) : void
DeleteFrame ( int index ) : void
DeleteNext_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
DeleteNext_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
DeletePrevious_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
DeletePrevious_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
Delete_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
Delete_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
DeselectAll_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
Discard ( List removeFrames ) : void
DiscardAndLoadCallback ( IAsyncResult ar ) : void
DiscardCallback ( IAsyncResult ar ) : void
DiscardProject_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
DispatcherResMessage ( string key ) : string
EditorWindow_Deactivated ( object sender, EventArgs e ) : void
ExploreClipBoard_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
Fade ( int selected, int frameCount, object optional ) : int
Fade_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
FeedbackButton_OnClickButton_Click ( object sender, RoutedEventArgs e ) : void
File_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
FirstFrame_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
FitImage_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
FlipRotate ( FlipRotateType type ) : void
FlipRotateCallback ( IAsyncResult ar ) : void
FlipRotate_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
FrameListView_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
FreeDrawingColorBorder_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
FreeDrawing_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
FreeTextFontColor_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
FreeTextTextBlock_OnMouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
FreeTextTextBlock_OnMouseLeftButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
FreeTextTextBlock_OnMouseMove ( object sender, MouseEventArgs e ) : void
FreeText_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
GoTo_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
Grid_MouseWheel ( object sender, System.Windows.Input.MouseWheelEventArgs e ) : void
HeightResizeNumericUpDown_ValueChanged ( object sender, EventArgs e ) : void
HideProgress ( ) : void
Image_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
ImportFrom ( string fileName, string pathTemp ) : void
ImportFromCallback ( IAsyncResult ar ) : void
ImportFromGif ( string sourceFileName, string pathTemp ) : List
ImportFromImage ( string sourceFileName, string pathTemp ) : List
ImportFromProject ( string sourceFileName, string pathTemp ) : List
ImportFromVideo ( string fileName, string pathTemp ) : List
InsertFromMedia_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
InsertImportFrom ( string fileName, string pathTemp ) : void
InsertImportFromCallback ( IAsyncResult ar ) : void
InsertInternal ( string fileName, string pathTemp ) : List
InsertRecording_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
InsertWebcamRecording_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
Insert_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
InverseSelection_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
Item_PreviewMouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
KeepAspectCheckBox_Checked ( object sender, RoutedEventArgs e ) : void
LastFrame_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
ListFramesSelection_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
Load ( ) : bool
LoadCallback ( IAsyncResult ar ) : void
LoadNewFrames ( List listFrames, bool clear = true ) : void

Loads the new frames and clears the old ones.

LoadSelected ( int start, int end ) : bool
LoadSelectedCallback ( IAsyncResult ar ) : void
LoadSelectedStarter ( int start, int end = null ) : void
MoveLeft_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
MoveRight_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
NewAnimationBackgroundColor_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
NewAnimation_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
NewBoardRecording_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
NewFromMediaProject_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
NewRecording_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
NewRecording_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
NewWebcamRecording_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
NextFrame_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
NumericUpDown_OnValueChanged ( object sender, EventArgs e ) : void
OpenImage_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
OptionsButton_Click ( object sender, RoutedEventArgs e ) : void
Overlay ( System.Windows.Media.Imaging.RenderTargetBitmap render, double dpi, bool forAll = false ) : List
OverlayCallback ( IAsyncResult ar ) : void
OverrideDelay_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
Paste_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
Paste_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
Pause ( ) : void
PlayPause ( ) : void
Play_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
Playback_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
PreviousFrame_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
Redo_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
Redo_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
RefreshCropImage ( ) : void
RemoveClipboard_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
RemoveCropElements ( ) : void
Reordering_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
ResMessage ( string key ) : string
Reset_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
Reset_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
Resize ( int width, int height, double dpi ) : void
ResizeCallback ( IAsyncResult ar ) : void
Resize_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
Reverse_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
SaveAsGif_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
SaveAsProject_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
SaveAsVideo_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
SaveProject ( string fileName ) : void
SaveProjectCallback ( IAsyncResult ar ) : void
SelectAll_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
SelectNear ( int index ) : void
SelectWatermark_Click ( object sender, RoutedEventArgs e ) : void
SelectedFrames ( ) : List
SelectedFramesIndex ( ) : List
Selection_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
ShowClipboardButton_Click ( object sender, RoutedEventArgs e ) : void
ShowEncoderButton_Click ( object sender, RoutedEventArgs e ) : void
ShowPanel ( PanelType type, String title, String vector ) : void
ShowProgress ( string description, int maximum, bool isIndeterminate = false ) : void
ShowWarning ( string message, MessageIcon icon ) : void
Slide ( int selected, int frameCount, object optional ) : int
Slide_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
SuppressWarning ( ) : void
SystemParameters_StaticPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
System_PowerModeChanged ( object sender, Microsoft.Win32.PowerModeChangedEventArgs e ) : void
TimerPreview_Tick ( object sender, EventArgs e ) : void
TitleFrame ( System.Windows.Media.Imaging.RenderTargetBitmap render, int selected, double dpi ) : int
TitleFrameBackgroundColor_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
TitleFrameCallback ( IAsyncResult ar ) : void
TitleFrameFontColor_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
TitleFrame_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
TransitionCallback ( IAsyncResult ar ) : void
Transition_CanExecute ( object sender, CanExecuteRoutedEventArgs e ) : void
Undo_CanExecute ( object sender, CanExecuteRoutedEventArgs e ) : void
Undo_Executed ( object sender, ExecutedRoutedEventArgs e ) : void
UpdateProgress ( int value ) : void
Watermark_Executed ( object sender, ExecutedRoutedEventArgs e ) : void
WidthResizeNumericUpDown_ValueChanged ( object sender, EventArgs e ) : void
Window_Activated ( object sender, EventArgs e ) : void
Window_Closing ( object sender, CancelEventArgs e ) : void
Window_KeyUp ( object sender, KeyEventArgs e ) : void
Window_Loaded ( object sender, RoutedEventArgs e ) : void
Yoyo_Executed ( object sender, ExecutedRoutedEventArgs e ) : void
Zoom100_Executed ( object sender, ExecutedRoutedEventArgs e ) : void
Zoom_CanExecute ( object sender, CanExecuteRoutedEventArgs e ) : void

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

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

Default constructor.
public Editor ( ) : System
Результат System

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

FilledListProperty публичное статическое свойство

public static DependencyProperty,System.Windows FilledListProperty
Результат System.Windows.DependencyProperty

IsLoadingProperty публичное статическое свойство

public static DependencyProperty,System.Windows IsLoadingProperty
Результат System.Windows.DependencyProperty

NotPreviewingProperty публичное статическое свойство

public static DependencyProperty,System.Windows NotPreviewingProperty
Результат System.Windows.DependencyProperty