C# Class Snoop.Previewer

Mostrar archivo Open project: cplotts/snoopwpf

Public Properties

Property Type Description
IsActiveProperty System.Windows.DependencyProperty
MagnifyCommand System.Windows.Input.RoutedCommand
ScreenshotCommand System.Windows.Input.RoutedCommand
TargetProperty System.Windows.DependencyProperty

Public Methods

Method Description
Previewer ( ) : System.Windows

Protected Methods

Method Description
OnIsActiveChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void

Provides derived classes an opportunity to handle changes to the IsActive property.

OnTargetChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void

Provides derived classes an opportunity to handle changes to the Target property.

Private Methods

Method Description
HandleCanMagnify ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
HandleCanScreenshot ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
HandleMagnify ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
HandleScreenshot ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
HandleTargetOrIsActiveChanged ( ) : void
OnIsActiveChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles changes to the IsActive property.

OnTargetChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles changes to the Target property.

Method Details

OnIsActiveChanged() protected method

Provides derived classes an opportunity to handle changes to the IsActive property.
protected OnIsActiveChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs
return void

OnTargetChanged() protected method

Provides derived classes an opportunity to handle changes to the Target property.
protected OnTargetChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs
return void

Previewer() public method

public Previewer ( ) : System.Windows
return System.Windows

Property Details

IsActiveProperty public_oe static_oe property

IsActive Dependency Property
public static DependencyProperty,System.Windows IsActiveProperty
return System.Windows.DependencyProperty

MagnifyCommand public_oe static_oe property

public static RoutedCommand,System.Windows.Input MagnifyCommand
return System.Windows.Input.RoutedCommand

ScreenshotCommand public_oe static_oe property

public static RoutedCommand,System.Windows.Input ScreenshotCommand
return System.Windows.Input.RoutedCommand

TargetProperty public_oe static_oe property

Target Dependency Property
public static DependencyProperty,System.Windows TargetProperty
return System.Windows.DependencyProperty