Class
RadPropertyGrid

Provides infrastructure for command execution for RadPropertyGrid.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Data.dll

Syntax:

cs-api-definition
[TelerikToolboxCategory("Data")]
public class RadPropertyGrid : Control

Inheritance: objectRadPropertyGrid

Constructors

RadPropertyGrid()

Initializes a new instance of the RadPropertyGrid class.

Declaration

cs-api-definition
public RadPropertyGrid()

Fields

AutoExpandGroupsProperty

Represents the AutoExpandGroups dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AutoExpandGroupsProperty

Field Value

DependencyProperty

AutoGenerateBindingPathsProperty

Represents the AutoGenerateBindingPaths dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AutoGenerateBindingPathsProperty

Field Value

DependencyProperty

AutoGeneratePropertyDefinitionsModeProperty

Represents the AutoGeneratePropertyDefinitionsMode  dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AutoGeneratePropertyDefinitionsModeProperty

Field Value

DependencyProperty

AutoGeneratePropertyDefinitionsProperty

Represents the AutoGeneratePropertyDefinitions dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AutoGeneratePropertyDefinitionsProperty

Field Value

DependencyProperty

BeginningEditEvent

Represents the BeginningEdit routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent BeginningEditEvent

Field Value

RoutedEvent

CanUserResizeDescriptionPanelProperty

Represents the CanUserResizeDescriptionPanel dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CanUserResizeDescriptionPanelProperty

Field Value

DependencyProperty

CanUserSelectProperty

Identifies the CanUserSelect dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CanUserSelectProperty

Field Value

DependencyProperty

CommandProviderProperty

Represents the CommandProvider dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CommandProviderProperty

Field Value

DependencyProperty

DescriptionPanelVisibilityProperty

Represents the DescriptionPanelVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DescriptionPanelVisibilityProperty

Field Value

DependencyProperty

EditEndedEvent

Represents the EditEnded routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent EditEndedEvent

Field Value

RoutedEvent

EditModeProperty

Represents the EditMode DependencyProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty EditModeProperty

Field Value

DependencyProperty

EditorTemplateSelectorProperty

Represents the EditorTemplateSelector dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty EditorTemplateSelectorProperty

Field Value

DependencyProperty

EnableCustomFilteringProperty

Represents the EnableCustomFiltering dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty EnableCustomFilteringProperty

Field Value

DependencyProperty

EnableDeferredFilteringProperty

Represents the EnableDeferredFiltering dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty EnableDeferredFilteringProperty

Field Value

DependencyProperty

EnableEditorCachingProperty

Represents the EnableEditorCaching dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty EnableEditorCachingProperty

Field Value

DependencyProperty

FieldIndicatorVisibilityProperty

represents the FieldIndicatorVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FieldIndicatorVisibilityProperty

Field Value

DependencyProperty

FieldStyleProperty

Represents the FieldStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FieldStyleProperty

Field Value

DependencyProperty

GroupStyleProperty

Represents the GroupStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty GroupStyleProperty

Field Value

DependencyProperty

GroupStyleSelectorProperty

Identifies the GroupStyleSelector dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty GroupStyleSelectorProperty

Field Value

DependencyProperty

GroupedEvent

Occurs after grouping was performed.

Declaration

cs-api-definition
public static readonly RoutedEvent GroupedEvent

Field Value

RoutedEvent

IsGroupedProperty

Represents the IsGrouped dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsGroupedProperty

Field Value

DependencyProperty

IsReadOnlyProperty

Represents the IsReadOnly property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsReadOnlyProperty

Field Value

DependencyProperty

IsTextSearchCaseSensitiveProperty

Represents the IsTextSearchEnabled dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsTextSearchCaseSensitiveProperty

Field Value

DependencyProperty

IsTextSearchEnabledProperty

Represents the IsTextSearchEnabled dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsTextSearchEnabledProperty

Field Value

DependencyProperty

IsVirtualizingProperty

Represents the IsVirtualizing property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsVirtualizingProperty

Field Value

DependencyProperty

ItemProperty

Represents the Item dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemProperty

Field Value

DependencyProperty

LabelColumnWidthProperty

Represents the LabelColumnWidth dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty LabelColumnWidthProperty

Field Value

DependencyProperty

NestedPropertiesVisibilityProperty

Represents the ModeProperty dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty NestedPropertiesVisibilityProperty

Field Value

DependencyProperty

PreparedEditorEvent

Represents the PreparedEditor routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent PreparedEditorEvent

Field Value

RoutedEvent

Remarks

This event is fired only when the value of the EditMode property is Single.

PropertySetModeProperty

Represents the PropertySetMode property.

Declaration

cs-api-definition
public static readonly DependencyProperty PropertySetModeProperty

Field Value

DependencyProperty

PropertySetViewModelProperty

Represents the PropertySetViewModelProperty property.

Declaration

cs-api-definition
public static readonly DependencyProperty PropertySetViewModelProperty

Field Value

DependencyProperty

PropertySetsValidationFunctionProperty

Represents the PropertySetsValidationFunction dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PropertySetsValidationFunctionProperty

Field Value

DependencyProperty

ReadOnlyEditorStateProperty

Represents the ReadOnlyEditorState dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ReadOnlyEditorStateProperty

Field Value

DependencyProperty

RenderModeProperty

Represents the RenderMode dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RenderModeProperty

Field Value

DependencyProperty

SearchBoxVisibilityProperty

Represents the SearchBoxVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SearchBoxVisibilityProperty

Field Value

DependencyProperty

SearchInNestedPropertiesProperty

Represents the SearchInNestedProperties dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SearchInNestedPropertiesProperty

Field Value

DependencyProperty

SelectedPropertyDefinitionProperty

Represents the SelectedPropertyDefinition dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectedPropertyDefinitionProperty

Field Value

DependencyProperty

SelectionChangedEvent

Identifies the SelectionChanged routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent SelectionChangedEvent

Field Value

RoutedEvent

SelectionModeProperty

Identifies the SelectionMode dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectionModeProperty

Field Value

DependencyProperty

SortAndGroupButtonsVisibilityProperty

Represents the SortAndGroupButtonsVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SortAndGroupButtonsVisibilityProperty

Field Value

DependencyProperty

SortedEvent

Occurs after sorting was performed.

Declaration

cs-api-definition
public static readonly RoutedEvent SortedEvent

Field Value

RoutedEvent

TextSearchModeProperty

Represents the TextSearchMode dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty TextSearchModeProperty

Field Value

DependencyProperty

ValidatedEvent

Represents the Validated routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent ValidatedEvent

Field Value

RoutedEvent

ValidatingEvent

Represents the Validating routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent ValidatingEvent

Field Value

RoutedEvent

Properties

AutoExpandGroups

Gets or sets a value indicating whether groups should be automatically expanded.

Declaration

cs-api-definition
public bool AutoExpandGroups { get; set; }

Property Value

bool

AutoGenerateBindingPaths

Gets or sets a value indicating whether manually defined nested PropertyDefinitions, should have auto-generated paths.

Declaration

cs-api-definition
public bool AutoGenerateBindingPaths { get; set; }

Property Value

bool

true if [auto generate binding paths]; otherwise, false.

AutoGeneratePropertyDefinitions

Gets or sets a value indicating whether property definitions will be auto-generated.

Declaration

cs-api-definition
public bool AutoGeneratePropertyDefinitions { get; set; }

Property Value

bool

AutoGeneratePropertyDefinitionsMode

Gets or sets a value indicating whether property definitions will be auto-generated for nested properties.

Declaration

cs-api-definition
public AutoGeneratePropertyDefinitionsMode AutoGeneratePropertyDefinitionsMode { get; set; }

Property Value

AutoGeneratePropertyDefinitionsMode

CanUserResizeDescriptionPanel

Gets or sets a value that indicates whether the user can adjust description panel width using the mouse.

Declaration

cs-api-definition
public bool CanUserResizeDescriptionPanel { get; set; }

Property Value

bool

CanUserSelect

Gets or sets a value indicating whether the user can select property definition.

Declaration

cs-api-definition
public bool CanUserSelect { get; set; }

Property Value

bool

true if user can select; otherwise, false.

CommandProvider

Gets or sets the command provider associated with this RadPropertyGrid instance.

Declaration

cs-api-definition
public ICommandProvider CommandProvider { get; set; }

Property Value

ICommandProvider

The command provider.

DescriptionPanelVisibility

Gets or sets the description panel visibility.

Declaration

cs-api-definition
public Visibility DescriptionPanelVisibility { get; set; }

Property Value

Visibility

EditMode

Gets or sets the EditMode of RadPropertyGrid.

Declaration

cs-api-definition
public PropertyGridEditMode EditMode { get; set; }

Property Value

PropertyGridEditMode

EditorTemplateSelector

Gets or sets the editor template selector.

Declaration

cs-api-definition
public DataTemplateSelector EditorTemplateSelector { get; set; }

Property Value

DataTemplateSelector

The editor template selector.

EnableCustomFiltering

Gets or sets a value indicating whether RadPropertyGrid enables custom filtering.

Declaration

cs-api-definition
public bool EnableCustomFiltering { get; set; }

Property Value

bool

true if [enable custom filtering]; otherwise, false.

EnableDeferredFiltering

Gets or sets a value indicating whether RadPropertyGrid enables deferred filtering.

Declaration

cs-api-definition
public bool EnableDeferredFiltering { get; set; }

Property Value

bool

true if [enable deferred filtering]; otherwise, false.

EnableEditorCaching

Gets or sets a value indicating whether RadPropertyGrid uses editor caching.

Declaration

cs-api-definition
public bool EnableEditorCaching { get; set; }

Property Value

bool

true if [enable editor caching]; otherwise, false.

FieldIndicatorVisibility

Gets or sets the field indicator visibility.

Declaration

cs-api-definition
public Visibility FieldIndicatorVisibility { get; set; }

Property Value

Visibility

The field indicator visibility.

FieldStyle

Gets or sets a Style for all PropertyGridFields in the scope of a RadPropertyGrid instance.

Declaration

cs-api-definition
public Style FieldStyle { get; set; }

Property Value

Style

The field style.

GroupDefinitions

Gets a collection of GroupDefinition objects used to group the property grid.

Declaration

cs-api-definition
public GroupDefinitionsCollection GroupDefinitions { get; }

Property Value

GroupDefinitionsCollection

The group definition.

Remarks

GroupDefinitions collection will be filled only when RenderMode="Flat".

GroupStyle

Gets or sets the style for GroupDefinition button.

Declaration

cs-api-definition
public Style GroupStyle { get; set; }

Property Value

Style

The GroupStyle.

GroupStyleSelector

Gets or sets the style selector for RadPropertyGrid group.

Declaration

cs-api-definition
public StyleSelector GroupStyleSelector { get; set; }

Property Value

StyleSelector

IsGrouped

Gets or sets a value indicating whether this instance is grouped.

Declaration

cs-api-definition
public bool IsGrouped { get; set; }

Property Value

bool

IsReadOnly

Gets or sets a value indicating whether this instance is read only.

Declaration

cs-api-definition
public bool IsReadOnly { get; set; }

Property Value

bool

true if this instance is read only; otherwise, false.

IsTextSearchCaseSensitive

Gets or sets a value that indicates whether case is a condition when searching.

Declaration

cs-api-definition
public bool IsTextSearchCaseSensitive { get; set; }

Property Value

bool

IsTextSearchEnabled

Gets or sets a value that determines whether the user can navigate to an item by typing when RadPropertyGrid is focused.

Declaration

cs-api-definition
public bool IsTextSearchEnabled { get; set; }

Property Value

bool

IsVirtualizing

Gets or sets a value indicating whether this PropertyGrid is virtualized.

Declaration

cs-api-definition
public bool IsVirtualizing { get; set; }

Property Value

bool

true if this instance is virtualized; otherwise, false.

Item

Gets or sets the item to edit.

Declaration

cs-api-definition
public object Item { get; set; }

Property Value

object

LabelColumnWidth

Gets or Sets the width of the first column.

Declaration

cs-api-definition
public GridLength LabelColumnWidth { get; set; }

Property Value

GridLength

NestedPropertiesVisibility

Gets or sets the nested properties' Visibility.

Declaration

cs-api-definition
public Visibility NestedPropertiesVisibility { get; set; }

Property Value

Visibility

PropertyDefinitions

Gets a collection of PropertyDefinitions describing the properties displayed or edited by RadPropertyGrid.

Declaration

cs-api-definition
public PropertyDefinitionCollection PropertyDefinitions { get; }

Property Value

PropertyDefinitionCollection

The collection of PropertyDefinitions.

PropertySet

Gets the property set.

Declaration

cs-api-definition
public PropertySet PropertySet { get; }

Property Value

PropertySet

The property set.

PropertySetMode

Gets or sets the property set mode.

Declaration

cs-api-definition
public PropertySetOperation PropertySetMode { get; set; }

Property Value

PropertySetOperation

The property set mode.

PropertySetsValidationFunction

Gets or sets a function that is used to validate PropertySet properties.

Declaration

cs-api-definition
public Func<string, object, string> PropertySetsValidationFunction { get; set; }

Property Value

Func<string, object, string>

ReadOnlyEditorState

Gets or sets the state of editors when RadPropertyGrid is ReadOnly.

Declaration

cs-api-definition
public ReadOnlyEditorStates ReadOnlyEditorState { get; set; }

Property Value

ReadOnlyEditorStates

The state of the read only editor.

RenderMode

Gets or sets the render mode.

Declaration

cs-api-definition
public RenderMode RenderMode { get; set; }

Property Value

RenderMode

The rendering mode.

SearchBoxVisibility

Gets or sets the search box visibility.

Declaration

cs-api-definition
public Visibility SearchBoxVisibility { get; set; }

Property Value

Visibility

The search box visibility.

SearchInNestedProperties

Gets or sets a value indicating whether search should be execute over nested properties.

Declaration

cs-api-definition
public bool SearchInNestedProperties { get; set; }

Property Value

bool

true if search in nested properties is enabled; otherwise, false.

SelectedPropertyDefinition

Gets the selected property definition.

Declaration

cs-api-definition
public PropertyDefinition SelectedPropertyDefinition { get; set; }

Property Value

PropertyDefinition

SelectedPropertyDefinitions

Gets a collection that contains the selected property definitions.

Declaration

cs-api-definition
public ObservableCollection<PropertyDefinition> SelectedPropertyDefinitions { get; }

Property Value

ObservableCollection<PropertyDefinition>

A collection of the data items corresponding to the selected fields.

Remarks

If the SelectionMode property is set to Single, the SelectedPropertyDefinitions list will contain only the SelectedPropertyDefinition property value.

SelectionMode

Gets or sets the SelectionMode. This is a dependency property.

Declaration

cs-api-definition
public SelectionMode SelectionMode { get; set; }

Property Value

SelectionMode

SortAndGroupButtonsVisibility

Gets or sets the visibility of the sort and group buttons.

Declaration

cs-api-definition
public Visibility SortAndGroupButtonsVisibility { get; set; }

Property Value

Visibility

TextSearchMode

Gets or sets the text search mode. Specifies how TextSearch will match items. This is a dependency property.

Declaration

cs-api-definition
public TextSearchMode TextSearchMode { get; set; }

Property Value

TextSearchMode

The text search mode.

Methods

BeginEdit()

Begins a new edit operation.

Declaration

cs-api-definition
public void BeginEdit()

BeginEdit(PropertyDefinition)

Begins a new edit operation.

Declaration

cs-api-definition
public void BeginEdit(PropertyDefinition propertyDefinition)

Parameters

propertyDefinition

PropertyDefinition

CancelEdit()

Cancels the changes from the current edit operation.

Declaration

cs-api-definition
public void CancelEdit()

CollapseAllGroups()

Collapses all groups recursively.

Declaration

cs-api-definition
public void CollapseAllGroups()

Remarks

The method will work only when RenderMode="Flat".

CollapseGroup(object)

Collapses the visual group for the given GroupDefinition.

Declaration

cs-api-definition
public void CollapseGroup(object groupKey)

Parameters

groupKey

object

The key for the group to collapse.

Remarks

The method will work only when RenderMode="Flat".

CommitEdit()

Commits the changes from the current edit operation.

Declaration

cs-api-definition
public void CommitEdit()

CommitEdit(PropertyDefinition)

Commits the changes from the current edit operation.

Declaration

cs-api-definition
public void CommitEdit(PropertyDefinition propertyDefinition)

Parameters

propertyDefinition

PropertyDefinition

EndInit()

Indicates that the initialization process for the element is complete.

Declaration

cs-api-definition
public override void EndInit()

ExpandAllGroups()

Expands all groups recursively.

Declaration

cs-api-definition
public void ExpandAllGroups()

Remarks

The method will work only when RenderMode="Flat".

ExpandGroup(object)

Set expand state for the given GroupDefinition.

Declaration

cs-api-definition
public void ExpandGroup(object groupKey)

Parameters

groupKey

object

The key for the group to expand.

Remarks

The method will work only when RenderMode="Flat".

Group()

Groups this RadPropertyGrid instance.

Declaration

cs-api-definition
public void Group()

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call . In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnBeginningEdit(PropertyGridBeginningEditEventArgs)

Raises the BeginningEdit event.

Declaration

cs-api-definition
protected virtual void OnBeginningEdit(PropertyGridBeginningEditEventArgs args)

Parameters

args

PropertyGridBeginningEditEventArgs

OnCreateAutomationPeer()

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

The type-specific AutomationPeer implementation.

OnEditEnded(PropertyGridEditEndedEventArgs)

Raises the EditEnded event.

Declaration

cs-api-definition
protected virtual void OnEditEnded(PropertyGridEditEndedEventArgs args)

Parameters

args

PropertyGridEditEndedEventArgs

OnFieldLoaded(PropertyGridField)

Raises the FieldLoaded event.

Declaration

cs-api-definition
protected virtual void OnFieldLoaded(PropertyGridField field)

Parameters

field

PropertyGridField

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

OnIsReadOnlyPropertyChanged(DependencyObject, DependencyPropertyChangedEventArgs)

Called when IsReadOnly property is changed.

Declaration

cs-api-definition
protected static void OnIsReadOnlyPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)

Parameters

sender

DependencyObject

The sender.

args

DependencyPropertyChangedEventArgs

The DependencyPropertyChangedEventArgs instance containing the event data.

OnIsVirtualizingPropertyChanged(DependencyObject, DependencyPropertyChangedEventArgs)

Called when IsVirtualizing property gets changed.

Declaration

cs-api-definition
protected static void OnIsVirtualizingPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)

Parameters

d

DependencyObject

The d.

args

DependencyPropertyChangedEventArgs

The DependencyPropertyChangedEventArgs instance containing the event data.

OnItemChanged(PropertyGridItemChangedEventArgs)

Raises the ItemChanged event.

Declaration

cs-api-definition
protected virtual void OnItemChanged(PropertyGridItemChangedEventArgs args)

Parameters

args

PropertyGridItemChangedEventArgs

OnMouseLeftButtonDown(object, RoutedEventArgs)

Called when the MouseLeftButton down event occurs.

Declaration

cs-api-definition
protected void OnMouseLeftButtonDown(object sender, RoutedEventArgs e)

Parameters

sender

object

The sender.

e

RoutedEventArgs

The MouseButtonEventArgs instance containing the event data.

OnPreparedEditor(PropertyGridPreparedEditorEventArgs)

Raises the PreparedEditor event.

Declaration

cs-api-definition
protected virtual void OnPreparedEditor(PropertyGridPreparedEditorEventArgs args)

Parameters

args

PropertyGridPreparedEditorEventArgs

OnPropertyDefinitionsCollectionChanged(object, NotifyCollectionChangedEventArgs)

Called when PropertyDefinitionCollection's CollectionChanged event is raised.

Declaration

cs-api-definition
protected virtual void OnPropertyDefinitionsCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)

Parameters

sender

object

The sender.

e

NotifyCollectionChangedEventArgs

The NotifyCollectionChangedEventArgs instance containing the event data.

OnPropertySetValueChanged(string, IEnumerable, object)

Raises the PropertySetValueChanged event.

Declaration

cs-api-definition
protected virtual void OnPropertySetValueChanged(string propertyName, IEnumerable items, object value)

Parameters

propertyName

string

items

IEnumerable

value

object

OnTextInput(TextCompositionEventArgs)

Declaration

cs-api-definition
protected override void OnTextInput(TextCompositionEventArgs e)

Parameters

e

TextCompositionEventArgs

OnValidated(PropertyGridValidatedEventArgs)

Raises the Validating event.

Declaration

cs-api-definition
protected virtual void OnValidated(PropertyGridValidatedEventArgs args)

Parameters

args

PropertyGridValidatedEventArgs

OnValidating(PropertyGridValidatingEventArgs)

Raises the Validating event.

Declaration

cs-api-definition
protected virtual void OnValidating(PropertyGridValidatingEventArgs args)

Parameters

args

PropertyGridValidatingEventArgs

Rebind()

Rebinds the property grid.

Declaration

cs-api-definition
public void Rebind()

RegisterCommandBindings()

Registers the command bindings associated with RadPropertyGrid.

Declaration

cs-api-definition
public void RegisterCommandBindings()

ReloadData()

Reloads the set of PropertyDefinitions, the list of item properties and recreates the PropertySetView model, if PropertySetMode is different from None.

Declaration

cs-api-definition
public void ReloadData()

ResetTheme()

Resets the theme.

Declaration

cs-api-definition
public void ResetTheme()

ScrollIntoViewAsync(PropertyDefinition, Action<PropertyGridField>)

Scrolls a given PropertyDefinition into view in virtualized scenarios.

Declaration

cs-api-definition
public void ScrollIntoViewAsync(PropertyDefinition propertyDefinition, Action<PropertyGridField> finishedCallback)

Parameters

propertyDefinition

PropertyDefinition

The property definition.

finishedCallback

Action<PropertyGridField>

The finished callback.

Search(string)

Searches for PropertyDefinitions which DisplayName contains the given search parameter.

Declaration

cs-api-definition
public void Search(string searchParameter)

Parameters

searchParameter

string

Sort()

Sorts this RadPropertyGrid instance.

Declaration

cs-api-definition
public void Sort()

UpdateLayoutState()

Updates the layout state of the PropertyGridPresenter.

Declaration

cs-api-definition
protected void UpdateLayoutState()

UpdatePropertySetValue(string, object, bool)

Declaration

cs-api-definition
public void UpdatePropertySetValue(string propertyName, object propertyValue, bool shouldUpdateBoundData)

Parameters

propertyName

string

The name of the updated property.

propertyValue

object

The value of the updated property.

shouldUpdateBoundData

bool

Indicates whether the bound data (Item) should be updated.

Events

AutoGeneratingPropertyDefinition

Occurs when a property definition is being generated.

Declaration

cs-api-definition
public event EventHandler<AutoGeneratingPropertyDefinitionEventArgs> AutoGeneratingPropertyDefinition

Event Value

EventHandler<AutoGeneratingPropertyDefinitionEventArgs>

BeginningEdit

Occurs when a new edit operation is initiated.

Declaration

cs-api-definition
public event EventHandler<PropertyGridBeginningEditEventArgs> BeginningEdit

Event Value

EventHandler<PropertyGridBeginningEditEventArgs>

Remarks

This event is fired only when the value of the EditMode property is Single.

EditEnded

Occurs when edit operation is finished.

Declaration

cs-api-definition
public event EventHandler<PropertyGridEditEndedEventArgs> EditEnded

Event Value

EventHandler<PropertyGridEditEndedEventArgs>

Remarks

This event is fired only when the value of the EditMode property is Single.

FieldLoaded

Occurs when a new field is loaded.

Declaration

cs-api-definition
public event EventHandler<FieldEventArgs> FieldLoaded

Event Value

EventHandler<FieldEventArgs>

Filtered

Occurs after filtering is applied to RadPropertyGrid.

Declaration

cs-api-definition
public event EventHandler<EventArgs> Filtered

Event Value

EventHandler<EventArgs>

Filtering

Occurs when filtering RadPropertyGrid.

Declaration

cs-api-definition
public event EventHandler<PropertyGridFilteringEventArgs> Filtering

Event Value

EventHandler<PropertyGridFilteringEventArgs>

Grouped

Occurs after grouping was performed.

Declaration

cs-api-definition
public event EventHandler<RadRoutedEventArgs> Grouped

Event Value

EventHandler<RadRoutedEventArgs>

ItemChanged

Occurs when RadPropertyGrid's item gets changed.

Declaration

cs-api-definition
public event EventHandler<PropertyGridItemChangedEventArgs> ItemChanged

Event Value

EventHandler<PropertyGridItemChangedEventArgs>

PreparedEditor

Occurs when the field editor gets prepared .

Declaration

cs-api-definition
public event PropertyGridPreparedEditorEventHandler PreparedEditor

Event Value

PropertyGridPreparedEditorEventHandler

PropertySetValueChanged

Occurs when the value of a property from the PropertySet is changed.

Declaration

cs-api-definition
public event EventHandler<PropertySetValueChangedEventArgs> PropertySetValueChanged

Event Value

EventHandler<PropertySetValueChangedEventArgs>

SelectionChanged

Occurs when the selected property definition has changed.

Declaration

cs-api-definition
public event EventHandler<SelectionChangeEventArgs> SelectionChanged

Event Value

EventHandler<SelectionChangeEventArgs>

Sorted

Occurs after sorting was performed.

Declaration

cs-api-definition
public event EventHandler<RadRoutedEventArgs> Sorted

Event Value

EventHandler<RadRoutedEventArgs>

Validated

Occurs after validation of edit changes takes place.

Declaration

cs-api-definition
public event EventHandler<PropertyGridValidatedEventArgs> Validated

Event Value

EventHandler<PropertyGridValidatedEventArgs>

Validating

Occurs before validation of edit changes takes place.

Declaration

cs-api-definition
public event EventHandler<PropertyGridValidatingEventArgs> Validating

Event Value

EventHandler<PropertyGridValidatingEventArgs>

In this article
DefinitionConstructorsRadPropertyGrid()FieldsAutoExpandGroupsPropertyAutoGenerateBindingPathsPropertyAutoGeneratePropertyDefinitionsModePropertyAutoGeneratePropertyDefinitionsPropertyBeginningEditEventCanUserResizeDescriptionPanelPropertyCanUserSelectPropertyCommandProviderPropertyDescriptionPanelVisibilityPropertyEditEndedEventEditModePropertyEditorTemplateSelectorPropertyEnableCustomFilteringPropertyEnableDeferredFilteringPropertyEnableEditorCachingPropertyFieldIndicatorVisibilityPropertyFieldStylePropertyGroupStylePropertyGroupStyleSelectorPropertyGroupedEventIsGroupedPropertyIsReadOnlyPropertyIsTextSearchCaseSensitivePropertyIsTextSearchEnabledPropertyIsVirtualizingPropertyItemPropertyLabelColumnWidthPropertyNestedPropertiesVisibilityPropertyPreparedEditorEventPropertySetModePropertyPropertySetViewModelPropertyPropertySetsValidationFunctionPropertyReadOnlyEditorStatePropertyRenderModePropertySearchBoxVisibilityPropertySearchInNestedPropertiesPropertySelectedPropertyDefinitionPropertySelectionChangedEventSelectionModePropertySortAndGroupButtonsVisibilityPropertySortedEventTextSearchModePropertyValidatedEventValidatingEventPropertiesAutoExpandGroupsAutoGenerateBindingPathsAutoGeneratePropertyDefinitionsAutoGeneratePropertyDefinitionsModeCanUserResizeDescriptionPanelCanUserSelectCommandProviderDescriptionPanelVisibilityEditModeEditorTemplateSelectorEnableCustomFilteringEnableDeferredFilteringEnableEditorCachingFieldIndicatorVisibilityFieldStyleGroupDefinitionsGroupStyleGroupStyleSelectorIsGroupedIsReadOnlyIsTextSearchCaseSensitiveIsTextSearchEnabledIsVirtualizingItemLabelColumnWidthNestedPropertiesVisibilityPropertyDefinitionsPropertySetPropertySetModePropertySetsValidationFunctionReadOnlyEditorStateRenderModeSearchBoxVisibilitySearchInNestedPropertiesSelectedPropertyDefinitionSelectedPropertyDefinitionsSelectionModeSortAndGroupButtonsVisibilityTextSearchModeMethodsBeginEdit()BeginEdit(PropertyDefinition)CancelEdit()CollapseAllGroups()CollapseGroup(object)CommitEdit()CommitEdit(PropertyDefinition)EndInit()ExpandAllGroups()ExpandGroup(object)Group()OnApplyTemplate()OnBeginningEdit(PropertyGridBeginningEditEventArgs)OnCreateAutomationPeer()OnEditEnded(PropertyGridEditEndedEventArgs)OnFieldLoaded(PropertyGridField)OnInitialized(EventArgs)OnIsReadOnlyPropertyChanged(DependencyObject, DependencyPropertyChangedEventArgs)OnIsVirtualizingPropertyChanged(DependencyObject, DependencyPropertyChangedEventArgs)OnItemChanged(PropertyGridItemChangedEventArgs)OnMouseLeftButtonDown(object, RoutedEventArgs)OnPreparedEditor(PropertyGridPreparedEditorEventArgs)OnPropertyDefinitionsCollectionChanged(object, NotifyCollectionChangedEventArgs)OnPropertySetValueChanged(string, IEnumerable, object)OnTextInput(TextCompositionEventArgs)OnValidated(PropertyGridValidatedEventArgs)OnValidating(PropertyGridValidatingEventArgs)Rebind()RegisterCommandBindings()ReloadData()ResetTheme()ScrollIntoViewAsync(PropertyDefinition, Action<PropertyGridField>)Search(string)Sort()UpdateLayoutState()UpdatePropertySetValue(string, object, bool)EventsAutoGeneratingPropertyDefinitionBeginningEditEditEndedFieldLoadedFilteredFilteringGroupedItemChangedPreparedEditorPropertySetValueChangedSelectionChangedSortedValidatedValidating
Not finding the help you need?
Contact Support