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

Inheritance: System.Windows.Controls.Control
Afficher le fichier Open project: Gainedge/BetterExplorer Class Usage Examples

Méthodes publiques

Свойство 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

Свойство 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

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

Méthode 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 méthode

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
Résultat void

AddPreparePropertyItemHandler() public static méthode

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
Résultat void

BeginInit() public méthode

public BeginInit ( ) : void
Résultat void

CreateFilter() protected méthode

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

EndInit() public méthode

public EndInit ( ) : void
Résultat void

OnApplyTemplate() public méthode

public OnApplyTemplate ( ) : void
Résultat void

OnEditorDefinitionsChanged() protected méthode

protected OnEditorDefinitionsChanged ( EditorDefinitionCollection oldValue, EditorDefinitionCollection newValue ) : void
oldValue EditorDefinitionCollection
newValue EditorDefinitionCollection
Résultat void

OnFilterChanged() protected méthode

protected OnFilterChanged ( string oldValue, string newValue ) : void
oldValue string
newValue string
Résultat void

OnIsCategorizedChanged() protected méthode

protected OnIsCategorizedChanged ( bool oldValue, bool newValue ) : void
oldValue bool
newValue bool
Résultat void

OnNameColumnWidthChanged() protected méthode

protected OnNameColumnWidthChanged ( double oldValue, double newValue ) : void
oldValue double
newValue double
Résultat void

OnPreviewKeyDown() protected méthode

protected OnPreviewKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs
Résultat void

OnPropertyChanged() protected méthode

protected OnPropertyChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs
Résultat void

OnPropertyContainerStyleChanged() protected méthode

protected OnPropertyContainerStyleChanged ( System.Windows.Style oldValue, System.Windows.Style newValue ) : void
oldValue System.Windows.Style
newValue System.Windows.Style
Résultat void

OnPropertyDefinitionsChanged() protected méthode

protected OnPropertyDefinitionsChanged ( PropertyDefinitionCollection oldValue, PropertyDefinitionCollection newValue ) : void
oldValue PropertyDefinitionCollection
newValue PropertyDefinitionCollection
Résultat void

OnSelectedObjectChanged() protected méthode

protected OnSelectedObjectChanged ( object oldValue, object newValue ) : void
oldValue object
newValue object
Résultat void

OnSelectedObjectTypeChanged() protected méthode

protected OnSelectedObjectTypeChanged ( Type oldValue, Type newValue ) : void
oldValue System.Type
newValue System.Type
Résultat void

OnSelectedPropertyItemChanged() protected méthode

protected OnSelectedPropertyItemChanged ( PropertyItemBase oldValue, PropertyItemBase newValue ) : void
oldValue PropertyItemBase
newValue PropertyItemBase
Résultat void

RemoveClearPropertyItemHandler() public static méthode

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
Résultat void

RemovePreparePropertyItemHandler() public static méthode

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
Résultat void

SelectedObjectNameChanged() protected méthode

protected SelectedObjectNameChanged ( string oldValue, string newValue ) : void
oldValue string
newValue string
Résultat void

Update() public méthode

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

Property Details

AdvancedOptionsMenuProperty public_oe static_oe property

public static DependencyProperty,System.Windows AdvancedOptionsMenuProperty
Résultat System.Windows.DependencyProperty

AutoGeneratePropertiesProperty public_oe static_oe property

public static DependencyProperty,System.Windows AutoGeneratePropertiesProperty
Résultat 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
Résultat System.Windows.RoutedEvent

FilterProperty public_oe static_oe property

public static DependencyProperty,System.Windows FilterProperty
Résultat System.Windows.DependencyProperty

FilterWatermarkProperty public_oe static_oe property

public static DependencyProperty,System.Windows FilterWatermarkProperty
Résultat System.Windows.DependencyProperty

IsCategorizedProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsCategorizedProperty
Résultat System.Windows.DependencyProperty

IsMiscCategoryLabelHiddenProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsMiscCategoryLabelHiddenProperty
Résultat System.Windows.DependencyProperty

IsReadOnlyProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsReadOnlyProperty
Résultat System.Windows.DependencyProperty

NameColumnWidthProperty public_oe static_oe property

public static DependencyProperty,System.Windows NameColumnWidthProperty
Résultat 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
Résultat System.Windows.RoutedEvent

PropertyContainerStyleProperty public_oe static_oe property

Identifies the PropertyContainerStyle dependency property
public static DependencyProperty,System.Windows PropertyContainerStyleProperty
Résultat System.Windows.DependencyProperty

PropertyValueChangedEvent public_oe static_oe property

public static RoutedEvent,System.Windows PropertyValueChangedEvent
Résultat System.Windows.RoutedEvent

SelectedObjectChangedEvent public_oe static_oe property

public static RoutedEvent,System.Windows SelectedObjectChangedEvent
Résultat System.Windows.RoutedEvent

SelectedObjectNameProperty public_oe static_oe property

public static DependencyProperty,System.Windows SelectedObjectNameProperty
Résultat System.Windows.DependencyProperty

SelectedObjectProperty public_oe static_oe property

public static DependencyProperty,System.Windows SelectedObjectProperty
Résultat System.Windows.DependencyProperty

SelectedObjectTypeNameProperty public_oe static_oe property

public static DependencyProperty,System.Windows SelectedObjectTypeNameProperty
Résultat System.Windows.DependencyProperty

SelectedObjectTypeProperty public_oe static_oe property

public static DependencyProperty,System.Windows SelectedObjectTypeProperty
Résultat System.Windows.DependencyProperty

SelectedPropertyItemChangedEvent public_oe static_oe property

public static RoutedEvent,System.Windows SelectedPropertyItemChangedEvent
Résultat System.Windows.RoutedEvent

SelectedPropertyItemProperty public_oe static_oe property

public static DependencyProperty,System.Windows SelectedPropertyItemProperty
Résultat System.Windows.DependencyProperty

SelectedPropertyProperty public_oe static_oe property

Identifies the SelectedProperty dependency property
public static DependencyProperty,System.Windows SelectedPropertyProperty
Résultat System.Windows.DependencyProperty

ShowAdvancedOptionsProperty public_oe static_oe property

public static DependencyProperty,System.Windows ShowAdvancedOptionsProperty
Résultat System.Windows.DependencyProperty

ShowDescriptionByTooltipProperty public_oe static_oe property

public static DependencyProperty,System.Windows ShowDescriptionByTooltipProperty
Résultat System.Windows.DependencyProperty

ShowPreviewProperty public_oe static_oe property

public static DependencyProperty,System.Windows ShowPreviewProperty
Résultat System.Windows.DependencyProperty

ShowSearchBoxProperty public_oe static_oe property

public static DependencyProperty,System.Windows ShowSearchBoxProperty
Résultat System.Windows.DependencyProperty

ShowSortOptionsProperty public_oe static_oe property

public static DependencyProperty,System.Windows ShowSortOptionsProperty
Résultat System.Windows.DependencyProperty

ShowSummaryProperty public_oe static_oe property

public static DependencyProperty,System.Windows ShowSummaryProperty
Résultat System.Windows.DependencyProperty

ShowTitleProperty public_oe static_oe property

public static DependencyProperty,System.Windows ShowTitleProperty
Résultat System.Windows.DependencyProperty

UpdateTextBoxSourceOnEnterKeyProperty public_oe static_oe property

public static DependencyProperty,System.Windows UpdateTextBoxSourceOnEnterKeyProperty
Résultat System.Windows.DependencyProperty