C# Class ScreenToGif.Controls.LightWindow

Light Window used by the Recorder.
Inheritance: System.Windows.Window
ファイルを表示 Open project: dbremner/ScreenToGif

Public Properties

Property Type Description
ChildProperty System.Windows.DependencyProperty
FrameCountProperty System.Windows.DependencyProperty
MaxSizeProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
BackClick void
CloseClick void
LightWindow System
MinimizeClick void
MoveRectangle_PreviewMouseDown void
OnPreviewMouseMove void
OnSourceInitialized void
ResizeRectangle_MouseMove void
ResizeRectangle_PreviewMouseDown void
ResizeWindow void
RestoreClick void
SendMessage System.IntPtr

Public Methods

Method Description
HideBackButton ( ) : void

Hides the Back button.

HideMinimizeAndMaximize ( bool hide ) : void

Hides the Minimize and Maximize buttons.

IsRecording ( bool status ) : void

If recording is active, the minimize and maximize buttons should be disabled.

OnApplyTemplate ( ) : void

Protected Methods

Method Description
OnInitialized ( EventArgs e ) : void

Private Methods

Method Description
BackClick ( object sender, RoutedEventArgs routedEventArgs ) : void
CloseClick ( object sender, RoutedEventArgs e ) : void
LightWindow ( ) : System
MinimizeClick ( object sender, RoutedEventArgs e ) : void
MoveRectangle_PreviewMouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
OnPreviewMouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
OnSourceInitialized ( object sender, EventArgs e ) : void
ResizeRectangle_MouseMove ( Object sender, System.Windows.Input.MouseEventArgs e ) : void
ResizeRectangle_PreviewMouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
ResizeWindow ( ResizeDirection direction ) : void
RestoreClick ( object sender, RoutedEventArgs e ) : void
SendMessage ( IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam ) : IntPtr

Method Details

HideBackButton() public method

Hides the Back button.
public HideBackButton ( ) : void
return void

HideMinimizeAndMaximize() public method

Hides the Minimize and Maximize buttons.
public HideMinimizeAndMaximize ( bool hide ) : void
hide bool True if should hide the buttons.
return void

IsRecording() public method

If recording is active, the minimize and maximize buttons should be disabled.
public IsRecording ( bool status ) : void
status bool True if recording is active.
return void

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

OnInitialized() protected method

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

Property Details

ChildProperty public_oe static_oe property

public static DependencyProperty,System.Windows ChildProperty
return System.Windows.DependencyProperty

FrameCountProperty public_oe static_oe property

public static DependencyProperty,System.Windows FrameCountProperty
return System.Windows.DependencyProperty

MaxSizeProperty public_oe static_oe property

public static DependencyProperty,System.Windows MaxSizeProperty
return System.Windows.DependencyProperty