C# Класс Xceed.Wpf.Toolkit.PropertyGrid.PropertyGrid

Наследование: System.Windows.Controls.Control
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

AddClearPropertyItemHandler() публичный статический Метод

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
Результат void

AddPreparePropertyItemHandler() публичный статический Метод

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
Результат void

BeginInit() публичный Метод

public BeginInit ( ) : void
Результат void

CreateFilter() защищенный Метод

Override this call to control the filter applied based on the text input.
protected CreateFilter ( string filter ) : Predicate
filter string
Результат Predicate

EndInit() публичный Метод

public EndInit ( ) : void
Результат void

OnApplyTemplate() публичный Метод

public OnApplyTemplate ( ) : void
Результат void

OnEditorDefinitionsChanged() защищенный Метод

protected OnEditorDefinitionsChanged ( EditorDefinitionCollection oldValue, EditorDefinitionCollection newValue ) : void
oldValue EditorDefinitionCollection
newValue EditorDefinitionCollection
Результат void

OnFilterChanged() защищенный Метод

protected OnFilterChanged ( string oldValue, string newValue ) : void
oldValue string
newValue string
Результат void

OnIsCategorizedChanged() защищенный Метод

protected OnIsCategorizedChanged ( bool oldValue, bool newValue ) : void
oldValue bool
newValue bool
Результат void

OnNameColumnWidthChanged() защищенный Метод

protected OnNameColumnWidthChanged ( double oldValue, double newValue ) : void
oldValue double
newValue double
Результат void

OnPreviewKeyDown() защищенный Метод

protected OnPreviewKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs
Результат void

OnPropertyChanged() защищенный Метод

protected OnPropertyChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs
Результат void

OnPropertyContainerStyleChanged() защищенный Метод

protected OnPropertyContainerStyleChanged ( System.Windows.Style oldValue, System.Windows.Style newValue ) : void
oldValue System.Windows.Style
newValue System.Windows.Style
Результат void

OnPropertyDefinitionsChanged() защищенный Метод

protected OnPropertyDefinitionsChanged ( PropertyDefinitionCollection oldValue, PropertyDefinitionCollection newValue ) : void
oldValue PropertyDefinitionCollection
newValue PropertyDefinitionCollection
Результат void

OnSelectedObjectChanged() защищенный Метод

protected OnSelectedObjectChanged ( object oldValue, object newValue ) : void
oldValue object
newValue object
Результат void

OnSelectedObjectTypeChanged() защищенный Метод

protected OnSelectedObjectTypeChanged ( Type oldValue, Type newValue ) : void
oldValue System.Type
newValue System.Type
Результат void

OnSelectedPropertyItemChanged() защищенный Метод

protected OnSelectedPropertyItemChanged ( PropertyItemBase oldValue, PropertyItemBase newValue ) : void
oldValue PropertyItemBase
newValue PropertyItemBase
Результат void

RemoveClearPropertyItemHandler() публичный статический Метод

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
Результат void

RemovePreparePropertyItemHandler() публичный статический Метод

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
Результат void

SelectedObjectNameChanged() защищенный Метод

protected SelectedObjectNameChanged ( string oldValue, string newValue ) : void
oldValue string
newValue string
Результат void

Update() публичный Метод

Updates all property values in the PropertyGrid with the data from the SelectedObject
public Update ( ) : void
Результат void

Описание свойств

AdvancedOptionsMenuProperty публичное статическое свойство

public static DependencyProperty,System.Windows AdvancedOptionsMenuProperty
Результат System.Windows.DependencyProperty

AutoGeneratePropertiesProperty публичное статическое свойство

public static DependencyProperty,System.Windows AutoGeneratePropertiesProperty
Результат System.Windows.DependencyProperty

ClearPropertyItemEvent публичное статическое свойство

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
Результат System.Windows.RoutedEvent

FilterProperty публичное статическое свойство

public static DependencyProperty,System.Windows FilterProperty
Результат System.Windows.DependencyProperty

FilterWatermarkProperty публичное статическое свойство

public static DependencyProperty,System.Windows FilterWatermarkProperty
Результат System.Windows.DependencyProperty

IsCategorizedProperty публичное статическое свойство

public static DependencyProperty,System.Windows IsCategorizedProperty
Результат System.Windows.DependencyProperty

IsMiscCategoryLabelHiddenProperty публичное статическое свойство

public static DependencyProperty,System.Windows IsMiscCategoryLabelHiddenProperty
Результат System.Windows.DependencyProperty

IsReadOnlyProperty публичное статическое свойство

public static DependencyProperty,System.Windows IsReadOnlyProperty
Результат System.Windows.DependencyProperty

NameColumnWidthProperty публичное статическое свойство

public static DependencyProperty,System.Windows NameColumnWidthProperty
Результат System.Windows.DependencyProperty

PreparePropertyItemEvent публичное статическое свойство

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
Результат System.Windows.RoutedEvent

PropertyContainerStyleProperty публичное статическое свойство

Identifies the PropertyContainerStyle dependency property
public static DependencyProperty,System.Windows PropertyContainerStyleProperty
Результат System.Windows.DependencyProperty

PropertyValueChangedEvent публичное статическое свойство

public static RoutedEvent,System.Windows PropertyValueChangedEvent
Результат System.Windows.RoutedEvent

SelectedObjectChangedEvent публичное статическое свойство

public static RoutedEvent,System.Windows SelectedObjectChangedEvent
Результат System.Windows.RoutedEvent

SelectedObjectNameProperty публичное статическое свойство

public static DependencyProperty,System.Windows SelectedObjectNameProperty
Результат System.Windows.DependencyProperty

SelectedObjectProperty публичное статическое свойство

public static DependencyProperty,System.Windows SelectedObjectProperty
Результат System.Windows.DependencyProperty

SelectedObjectTypeNameProperty публичное статическое свойство

public static DependencyProperty,System.Windows SelectedObjectTypeNameProperty
Результат System.Windows.DependencyProperty

SelectedObjectTypeProperty публичное статическое свойство

public static DependencyProperty,System.Windows SelectedObjectTypeProperty
Результат System.Windows.DependencyProperty

SelectedPropertyItemChangedEvent публичное статическое свойство

public static RoutedEvent,System.Windows SelectedPropertyItemChangedEvent
Результат System.Windows.RoutedEvent

SelectedPropertyItemProperty публичное статическое свойство

public static DependencyProperty,System.Windows SelectedPropertyItemProperty
Результат System.Windows.DependencyProperty

SelectedPropertyProperty публичное статическое свойство

Identifies the SelectedProperty dependency property
public static DependencyProperty,System.Windows SelectedPropertyProperty
Результат System.Windows.DependencyProperty

ShowAdvancedOptionsProperty публичное статическое свойство

public static DependencyProperty,System.Windows ShowAdvancedOptionsProperty
Результат System.Windows.DependencyProperty

ShowDescriptionByTooltipProperty публичное статическое свойство

public static DependencyProperty,System.Windows ShowDescriptionByTooltipProperty
Результат System.Windows.DependencyProperty

ShowPreviewProperty публичное статическое свойство

public static DependencyProperty,System.Windows ShowPreviewProperty
Результат System.Windows.DependencyProperty

ShowSearchBoxProperty публичное статическое свойство

public static DependencyProperty,System.Windows ShowSearchBoxProperty
Результат System.Windows.DependencyProperty

ShowSortOptionsProperty публичное статическое свойство

public static DependencyProperty,System.Windows ShowSortOptionsProperty
Результат System.Windows.DependencyProperty

ShowSummaryProperty публичное статическое свойство

public static DependencyProperty,System.Windows ShowSummaryProperty
Результат System.Windows.DependencyProperty

ShowTitleProperty публичное статическое свойство

public static DependencyProperty,System.Windows ShowTitleProperty
Результат System.Windows.DependencyProperty

UpdateTextBoxSourceOnEnterKeyProperty публичное статическое свойство

public static DependencyProperty,System.Windows UpdateTextBoxSourceOnEnterKeyProperty
Результат System.Windows.DependencyProperty