C# Class Xceed.Wpf.Toolkit.PropertyGrid.PropertyGrid

Inheritance: System.Windows.Controls.Control
Exibir arquivo Open project: Gainedge/BetterExplorer Class Usage Examples

Public Properties

Property Type Description
AdvancedOptionsMenuProperty System.Windows.DependencyProperty
AutoGeneratePropertiesProperty System.Windows.DependencyProperty
ClearPropertyItemEvent System.Windows.RoutedEvent
FilterProperty System.Windows.DependencyProperty
FilterWatermarkProperty System.Windows.DependencyProperty
IsCategorizedProperty System.Windows.DependencyProperty
IsMiscCategoryLabelHiddenProperty System.Windows.DependencyProperty
IsReadOnlyProperty System.Windows.DependencyProperty
NameColumnWidthProperty System.Windows.DependencyProperty
PreparePropertyItemEvent System.Windows.RoutedEvent
PropertyContainerStyleProperty System.Windows.DependencyProperty
PropertyValueChangedEvent System.Windows.RoutedEvent
SelectedObjectChangedEvent System.Windows.RoutedEvent
SelectedObjectNameProperty System.Windows.DependencyProperty
SelectedObjectProperty System.Windows.DependencyProperty
SelectedObjectTypeNameProperty System.Windows.DependencyProperty
SelectedObjectTypeProperty System.Windows.DependencyProperty
SelectedPropertyItemChangedEvent System.Windows.RoutedEvent
SelectedPropertyItemProperty System.Windows.DependencyProperty
SelectedPropertyProperty System.Windows.DependencyProperty
ShowAdvancedOptionsProperty System.Windows.DependencyProperty
ShowDescriptionByTooltipProperty System.Windows.DependencyProperty
ShowPreviewProperty System.Windows.DependencyProperty
ShowSearchBoxProperty System.Windows.DependencyProperty
ShowSortOptionsProperty System.Windows.DependencyProperty
ShowSummaryProperty System.Windows.DependencyProperty
ShowTitleProperty System.Windows.DependencyProperty
UpdateTextBoxSourceOnEnterKeyProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
CanClearFilter void
ClearFilter void
DragThumb_DragDelta void
OnClearPropertyItemInternal void
OnCoerceSelectedObjectName object
OnEditorDefinitionsCollectionChanged void
OnFilterChanged void
OnIsCategorizedChanged void
OnItemSelectionChanged void
OnNameColumnWidthChanged void
OnPreparePropertyItemInternal void
OnPropertyContainerStyleChanged void
OnPropertyDefinitionsCollectionChanged void
OnSelectedObjectChanged void
OnSelectedObjectNameChanged void
OnSelectedObjectTypeChanged void
OnSelectedPropertyChanged void
OnSelectedPropertyChanged void
OnSelectedPropertyItemChanged void
PropertyGrid System
RaiseClearPropertyItemEvent void
RaisePreparePropertyItemEvent void
UpdateContainerHelper void
UpdateThumb void

Public Methods

Method Description
AddClearPropertyItemHandler ( UIElement element, PropertyItemEventHandler handler ) : void

Adds a handler for the ClearPropertyItem attached event

AddPreparePropertyItemHandler ( UIElement element, PropertyItemEventHandler handler ) : void

Adds a handler for the PreparePropertyItem attached event

BeginInit ( ) : void
EndInit ( ) : void
OnApplyTemplate ( ) : void
RemoveClearPropertyItemHandler ( UIElement element, PropertyItemEventHandler handler ) : void

Removes a handler for the ClearPropertyItem attached event

RemovePreparePropertyItemHandler ( UIElement element, PropertyItemEventHandler handler ) : void

Removes a handler for the PreparePropertyItem attached event

Update ( ) : void

Updates all property values in the PropertyGrid with the data from the SelectedObject

Protected Methods

Method Description
CreateFilter ( string filter ) : Predicate

Override this call to control the filter applied based on the text input.

OnEditorDefinitionsChanged ( EditorDefinitionCollection oldValue, EditorDefinitionCollection newValue ) : void
OnFilterChanged ( string oldValue, string newValue ) : void
OnIsCategorizedChanged ( bool oldValue, bool newValue ) : void
OnNameColumnWidthChanged ( double oldValue, double newValue ) : void
OnPreviewKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
OnPropertyChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnPropertyContainerStyleChanged ( System.Windows.Style oldValue, System.Windows.Style newValue ) : void
OnPropertyDefinitionsChanged ( PropertyDefinitionCollection oldValue, PropertyDefinitionCollection newValue ) : void
OnSelectedObjectChanged ( object oldValue, object newValue ) : void
OnSelectedObjectTypeChanged ( Type oldValue, Type newValue ) : void
OnSelectedPropertyItemChanged ( PropertyItemBase oldValue, PropertyItemBase newValue ) : void
SelectedObjectNameChanged ( string oldValue, string newValue ) : void

Private Methods

Method Description
CanClearFilter ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
ClearFilter ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
DragThumb_DragDelta ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs e ) : void
OnClearPropertyItemInternal ( object sender, PropertyItemEventArgs args ) : void
OnCoerceSelectedObjectName ( DependencyObject o, object baseValue ) : object
OnEditorDefinitionsCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
OnFilterChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnIsCategorizedChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnItemSelectionChanged ( object sender, RoutedEventArgs args ) : void
OnNameColumnWidthChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnPreparePropertyItemInternal ( object sender, PropertyItemEventArgs args ) : void
OnPropertyContainerStyleChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnPropertyDefinitionsCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
OnSelectedObjectChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnSelectedObjectNameChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnSelectedObjectTypeChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnSelectedPropertyChanged ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs args ) : void
OnSelectedPropertyChanged ( object oldValue, object newValue ) : void
OnSelectedPropertyItemChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
PropertyGrid ( ) : System
RaiseClearPropertyItemEvent ( UIElement source, PropertyItemBase propertyItem, object item ) : void
RaisePreparePropertyItemEvent ( UIElement source, PropertyItemBase propertyItem, object item ) : void
UpdateContainerHelper ( ) : void
UpdateThumb ( ) : void

Method Details

AddClearPropertyItemHandler() public static method

Adds a handler for the ClearPropertyItem attached event
public static AddClearPropertyItemHandler ( UIElement element, PropertyItemEventHandler handler ) : void
element UIElement the element to attach the handler
handler PropertyItemEventHandler the handler for the event
return void

AddPreparePropertyItemHandler() public static method

Adds a handler for the PreparePropertyItem attached event
public static AddPreparePropertyItemHandler ( UIElement element, PropertyItemEventHandler handler ) : void
element UIElement the element to attach the handler
handler PropertyItemEventHandler the handler for the event
return void

BeginInit() public method

public BeginInit ( ) : void
return void

CreateFilter() protected method

Override this call to control the filter applied based on the text input.
protected CreateFilter ( string filter ) : Predicate
filter string
return Predicate

EndInit() public method

public EndInit ( ) : void
return void

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

OnEditorDefinitionsChanged() protected method

protected OnEditorDefinitionsChanged ( EditorDefinitionCollection oldValue, EditorDefinitionCollection newValue ) : void
oldValue EditorDefinitionCollection
newValue EditorDefinitionCollection
return void

OnFilterChanged() protected method

protected OnFilterChanged ( string oldValue, string newValue ) : void
oldValue string
newValue string
return void

OnIsCategorizedChanged() protected method

protected OnIsCategorizedChanged ( bool oldValue, bool newValue ) : void
oldValue bool
newValue bool
return void

OnNameColumnWidthChanged() protected method

protected OnNameColumnWidthChanged ( double oldValue, double newValue ) : void
oldValue double
newValue double
return void

OnPreviewKeyDown() protected method

protected OnPreviewKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs
return void

OnPropertyChanged() protected method

protected OnPropertyChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs
return void

OnPropertyContainerStyleChanged() protected method

protected OnPropertyContainerStyleChanged ( System.Windows.Style oldValue, System.Windows.Style newValue ) : void
oldValue System.Windows.Style
newValue System.Windows.Style
return void

OnPropertyDefinitionsChanged() protected method

protected OnPropertyDefinitionsChanged ( PropertyDefinitionCollection oldValue, PropertyDefinitionCollection newValue ) : void
oldValue PropertyDefinitionCollection
newValue PropertyDefinitionCollection
return void

OnSelectedObjectChanged() protected method

protected OnSelectedObjectChanged ( object oldValue, object newValue ) : void
oldValue object
newValue object
return void

OnSelectedObjectTypeChanged() protected method

protected OnSelectedObjectTypeChanged ( Type oldValue, Type newValue ) : void
oldValue System.Type
newValue System.Type
return void

OnSelectedPropertyItemChanged() protected method

protected OnSelectedPropertyItemChanged ( PropertyItemBase oldValue, PropertyItemBase newValue ) : void
oldValue PropertyItemBase
newValue PropertyItemBase
return void

RemoveClearPropertyItemHandler() public static method

Removes a handler for the ClearPropertyItem attached event
public static RemoveClearPropertyItemHandler ( UIElement element, PropertyItemEventHandler handler ) : void
element UIElement the element to attach the handler
handler PropertyItemEventHandler the handler for the event
return void

RemovePreparePropertyItemHandler() public static method

Removes a handler for the PreparePropertyItem attached event
public static RemovePreparePropertyItemHandler ( UIElement element, PropertyItemEventHandler handler ) : void
element UIElement the element to attach the handler
handler PropertyItemEventHandler the handler for the event
return void

SelectedObjectNameChanged() protected method

protected SelectedObjectNameChanged ( string oldValue, string newValue ) : void
oldValue string
newValue string
return void

Update() public method

Updates all property values in the PropertyGrid with the data from the SelectedObject
public Update ( ) : void
return void

Property Details

AdvancedOptionsMenuProperty public_oe static_oe property

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

AutoGeneratePropertiesProperty public_oe static_oe property

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

ClearPropertyItemEvent public_oe static_oe property

Identifies the ClearPropertyItem event. This attached routed event may be raised by the PropertyGrid itself or by a PropertyItemBase containing sub items.
public static RoutedEvent,System.Windows ClearPropertyItemEvent
return System.Windows.RoutedEvent

FilterProperty public_oe static_oe property

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

FilterWatermarkProperty public_oe static_oe property

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

IsCategorizedProperty public_oe static_oe property

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

IsMiscCategoryLabelHiddenProperty public_oe static_oe property

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

IsReadOnlyProperty public_oe static_oe property

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

NameColumnWidthProperty public_oe static_oe property

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

PreparePropertyItemEvent public_oe static_oe property

Identifies the PreparePropertyItem event. This attached routed event may be raised by the PropertyGrid itself or by a PropertyItemBase containing sub-items.
public static RoutedEvent,System.Windows PreparePropertyItemEvent
return System.Windows.RoutedEvent

PropertyContainerStyleProperty public_oe static_oe property

Identifies the PropertyContainerStyle dependency property
public static DependencyProperty,System.Windows PropertyContainerStyleProperty
return System.Windows.DependencyProperty

PropertyValueChangedEvent public_oe static_oe property

public static RoutedEvent,System.Windows PropertyValueChangedEvent
return System.Windows.RoutedEvent

SelectedObjectChangedEvent public_oe static_oe property

public static RoutedEvent,System.Windows SelectedObjectChangedEvent
return System.Windows.RoutedEvent

SelectedObjectNameProperty public_oe static_oe property

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

SelectedObjectProperty public_oe static_oe property

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

SelectedObjectTypeNameProperty public_oe static_oe property

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

SelectedObjectTypeProperty public_oe static_oe property

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

SelectedPropertyItemChangedEvent public_oe static_oe property

public static RoutedEvent,System.Windows SelectedPropertyItemChangedEvent
return System.Windows.RoutedEvent

SelectedPropertyItemProperty public_oe static_oe property

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

SelectedPropertyProperty public_oe static_oe property

Identifies the SelectedProperty dependency property
public static DependencyProperty,System.Windows SelectedPropertyProperty
return System.Windows.DependencyProperty

ShowAdvancedOptionsProperty public_oe static_oe property

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

ShowDescriptionByTooltipProperty public_oe static_oe property

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

ShowPreviewProperty public_oe static_oe property

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

ShowSearchBoxProperty public_oe static_oe property

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

ShowSortOptionsProperty public_oe static_oe property

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

ShowSummaryProperty public_oe static_oe property

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

ShowTitleProperty public_oe static_oe property

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

UpdateTextBoxSourceOnEnterKeyProperty public_oe static_oe property

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