C# Class Snoop.PropertyGrid2

Inheritance: INotifyPropertyChanged
Mostrar archivo Open project: cplotts/snoopwpf Class Usage Examples

Public Properties

Property Type Description
ClearCommand System.Windows.Input.RoutedCommand
ShowBindingErrorsCommand System.Windows.Input.RoutedCommand
SortCommand System.Windows.Input.RoutedCommand
TargetProperty System.Windows.DependencyProperty

Public Methods

Method Description
PropertyGrid2 ( ) : System

Protected Methods

Method Description
OnFilterChanged ( ) : void
OnPropertyChanged ( string propertyName ) : void

Private Methods

Method Description
CanClear ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
CanShowBindingErrors ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
ChangeTarget ( object newTarget ) : void
CompareNames ( PropertyInformation one, PropertyInformation two ) : int
CompareValueSources ( PropertyInformation one, PropertyInformation two ) : int
CompareValues ( PropertyInformation one, PropertyInformation two ) : int
GetNewSortDirection ( System.Windows.Controls.GridViewColumnHeader columnHeader ) : ListSortDirection
HandleClear ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
HandleLoaded ( object sender, EventArgs e ) : void
HandleNameClick ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
HandleShowBindingErrors ( object sender, System.Windows.Input.ExecutedRoutedEventArgs eventArgs ) : void
HandleSort ( object sender, System.Windows.Input.ExecutedRoutedEventArgs args ) : void
HandleTargetChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
HandleUnloaded ( object sender, EventArgs e ) : void
InsertInPropertOrder ( PropertyInformation property ) : void
ProcessFilter ( ) : void
ProcessIncrementalPropertyAdd ( ) : void

Delayed loading of the property inspector to avoid creating the entire list of property editors immediately after selection. Keeps that app running smooth.

PropertiesAreInOrder ( PropertyInformation first, PropertyInformation last ) : bool
RefreshPropertyGrid ( ) : void
SetIndexesOfProperties ( ) : void
Sort ( Comparison comparator, ListSortDirection direction ) : void
Sort ( Comparison comparator, ListSortDirection direction, ObservableCollection propertiesToSort ) : void

Method Details

OnFilterChanged() protected method

protected OnFilterChanged ( ) : void
return void

OnPropertyChanged() protected method

protected OnPropertyChanged ( string propertyName ) : void
propertyName string
return void

PropertyGrid2() public method

public PropertyGrid2 ( ) : System
return System

Property Details

ClearCommand public_oe static_oe property

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

ShowBindingErrorsCommand public_oe static_oe property

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

SortCommand public_oe static_oe property

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

TargetProperty public_oe static_oe property

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