C# Class Snoop.SnoopUI

Inheritance: INotifyPropertyChanged
Afficher le fichier Open project: cplotts/snoopwpf Class Usage Examples

Méthodes publiques

Свойство Type Description
ClearSearchFilterCommand System.Windows.Input.RoutedCommand
CopyPropertyChangesCommand System.Windows.Input.RoutedCommand
HelpCommand System.Windows.Input.RoutedCommand
InspectCommand System.Windows.Input.RoutedCommand
IntrospectCommand System.Windows.Input.RoutedCommand
RefreshCommand System.Windows.Input.RoutedCommand
SelectFocusCommand System.Windows.Input.RoutedCommand
SelectFocusScopeCommand System.Windows.Input.RoutedCommand

Méthodes publiques

Méthode Description
ApplyReduceDepthFilter ( Snoop.VisualTreeItem newRoot ) : void
GoBabyGo ( ) : bool
Inspect ( ) : void
Inspect ( object root, Window ownerWindow ) : void
SnoopApplication ( ) : void

Méthodes protégées

Méthode Description
OnClosing ( CancelEventArgs e ) : void

Cleanup when closing the window.

OnPropertyChanged ( string propertyName ) : void
OnSourceInitialized ( EventArgs e ) : void

Private Methods

Méthode Description
CheckForOtherDispatchers ( Dispatcher mainDispatcher ) : void
ClearSearchFilterHandler ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
CopyPropertyChangesHandler ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
DispatchOut ( object o ) : void
EnqueueAfterSettingFilter ( ) : void
FilterBindings ( Snoop.VisualTreeItem node ) : void
FilterTree ( Snoop.VisualTreeItem node, string filter ) : void
FindItem ( object target ) : Snoop.VisualTreeItem

Find the VisualTreeItem for the specified visual. If the item is not found and is not part of the Snoop UI, the tree will be adjusted to include the window the item is in.

FindRoot ( ) : object
HandleHelp ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
HandleInspect ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
HandleIntrospection ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void

Just for fun, the ability to run Snoop on itself :)

HandlePreProcessInput ( object sender, System.Windows.Input.PreProcessInputEventArgs e ) : void
HandleRefresh ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
HandleSelectFocus ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
HandleSelectFocusScope ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
HandleTreeSelectedItemChanged ( object sender, EventArgs e ) : void
InitShell ( ) : void
Load ( object root ) : void
ProcessFilter ( ) : void
SaveEditedProperties ( Snoop.VisualTreeItem owningObject ) : void

Loop through the properties in the current PropertyGrid and save away any properties that have been changed by the user.

SelectItem ( DependencyObject item ) : void
SetFilter ( string value ) : void
SnoopUI ( ) : System
SnoopUI_MouseWheel ( object sender, System.Windows.Input.MouseWheelEventArgs e ) : void
TryGetMainWindowTitle ( ) : string
UnhandledExceptionHandler ( object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e ) : void

Method Details

ApplyReduceDepthFilter() public méthode

public ApplyReduceDepthFilter ( Snoop.VisualTreeItem newRoot ) : void
newRoot Snoop.VisualTreeItem
Résultat void

GoBabyGo() public static méthode

public static GoBabyGo ( ) : bool
Résultat bool

Inspect() public méthode

public Inspect ( ) : void
Résultat void

Inspect() public méthode

public Inspect ( object root, Window ownerWindow ) : void
root object
ownerWindow System.Windows.Window
Résultat void

OnClosing() protected méthode

Cleanup when closing the window.
protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs
Résultat void

OnPropertyChanged() protected méthode

protected OnPropertyChanged ( string propertyName ) : void
propertyName string
Résultat void

OnSourceInitialized() protected méthode

protected OnSourceInitialized ( EventArgs e ) : void
e System.EventArgs
Résultat void

SnoopApplication() public static méthode

public static SnoopApplication ( ) : void
Résultat void

Property Details

ClearSearchFilterCommand public_oe static_oe property

public static RoutedCommand,System.Windows.Input ClearSearchFilterCommand
Résultat System.Windows.Input.RoutedCommand

CopyPropertyChangesCommand public_oe static_oe property

public static RoutedCommand,System.Windows.Input CopyPropertyChangesCommand
Résultat System.Windows.Input.RoutedCommand

HelpCommand public_oe static_oe property

public static RoutedCommand,System.Windows.Input HelpCommand
Résultat System.Windows.Input.RoutedCommand

InspectCommand public_oe static_oe property

public static RoutedCommand,System.Windows.Input InspectCommand
Résultat System.Windows.Input.RoutedCommand

IntrospectCommand public_oe static_oe property

public static RoutedCommand,System.Windows.Input IntrospectCommand
Résultat System.Windows.Input.RoutedCommand

RefreshCommand public_oe static_oe property

public static RoutedCommand,System.Windows.Input RefreshCommand
Résultat System.Windows.Input.RoutedCommand

SelectFocusCommand public_oe static_oe property

public static RoutedCommand,System.Windows.Input SelectFocusCommand
Résultat System.Windows.Input.RoutedCommand

SelectFocusScopeCommand public_oe static_oe property

public static RoutedCommand,System.Windows.Input SelectFocusScopeCommand
Résultat System.Windows.Input.RoutedCommand