Class RadPropertyGrid
Provides infrastructure for command execution for RadPropertyGrid.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Data.dll
Syntax
[TelerikToolboxCategory("Data")]
public class RadPropertyGrid : Control, IThemable, IWeakEventListener<NotifyCollectionChangedEventArgs>, IWeakEventListener<ItemChangedEventArgs<PropertyDefinition>>
Constructors
RadPropertyGrid()
Initializes a new instance of the RadPropertyGrid class.
Declaration
public RadPropertyGrid()
Fields
AutoExpandGroupsProperty
Represents the AutoExpandGroups dependency property.
Declaration
public static readonly DependencyProperty AutoExpandGroupsProperty
Field Value
System.Windows.DependencyProperty
|
AutoGenerateBindingPathsProperty
Represents the AutoGenerateBindingPaths dependency property.
Declaration
public static readonly DependencyProperty AutoGenerateBindingPathsProperty
Field Value
System.Windows.DependencyProperty
|
AutoGeneratePropertyDefinitionsModeProperty
Represents the AutoGeneratePropertyDefinitionsMode dependency property.
Declaration
public static readonly DependencyProperty AutoGeneratePropertyDefinitionsModeProperty
Field Value
System.Windows.DependencyProperty
|
AutoGeneratePropertyDefinitionsProperty
Represents the AutoGeneratePropertyDefinitions dependency property.
Declaration
public static readonly DependencyProperty AutoGeneratePropertyDefinitionsProperty
Field Value
System.Windows.DependencyProperty
|
BeginningEditEvent
Represents the BeginningEdit routed event.
Declaration
public static readonly RoutedEvent BeginningEditEvent
Field Value
System.Windows.RoutedEvent
|
CanUserResizeDescriptionPanelProperty
Represents the CanUserResizeDescriptionPanel dependency property.
Declaration
public static readonly DependencyProperty CanUserResizeDescriptionPanelProperty
Field Value
System.Windows.DependencyProperty
|
CanUserSelectProperty
Identifies the CanUserSelect dependency property.
Declaration
public static readonly DependencyProperty CanUserSelectProperty
Field Value
System.Windows.DependencyProperty
|
CommandProviderProperty
Represents the CommandProvider dependency property.
Declaration
public static readonly DependencyProperty CommandProviderProperty
Field Value
System.Windows.DependencyProperty
|
DescriptionPanelVisibilityProperty
Represents the DescriptionPanelVisibility dependency property.
Declaration
public static readonly DependencyProperty DescriptionPanelVisibilityProperty
Field Value
System.Windows.DependencyProperty
|
EditEndedEvent
Represents the EditEnded routed event.
Declaration
public static readonly RoutedEvent EditEndedEvent
Field Value
System.Windows.RoutedEvent
|
EditModeProperty
Represents the EditMode DependencyProperty.
Declaration
public static readonly DependencyProperty EditModeProperty
Field Value
System.Windows.DependencyProperty
|
EditorTemplateSelectorProperty
Represents the EditorTemplateSelector dependency property.
Declaration
public static readonly DependencyProperty EditorTemplateSelectorProperty
Field Value
System.Windows.DependencyProperty
|
EnableCustomFilteringProperty
Represents the EnableCustomFiltering dependency property.
Declaration
public static readonly DependencyProperty EnableCustomFilteringProperty
Field Value
System.Windows.DependencyProperty
|
EnableDeferredFilteringProperty
Represents the EnableDeferredFiltering dependency property.
Declaration
public static readonly DependencyProperty EnableDeferredFilteringProperty
Field Value
System.Windows.DependencyProperty
|
EnableEditorCachingProperty
Represents the EnableEditorCaching dependency property.
Declaration
public static readonly DependencyProperty EnableEditorCachingProperty
Field Value
System.Windows.DependencyProperty
|
FieldIndicatorVisibilityProperty
represents the FieldIndicatorVisibility dependency property.
Declaration
public static readonly DependencyProperty FieldIndicatorVisibilityProperty
Field Value
System.Windows.DependencyProperty
|
FieldStyleProperty
Represents the FieldStyle dependency property.
Declaration
public static readonly DependencyProperty FieldStyleProperty
Field Value
System.Windows.DependencyProperty
|
GroupedEvent
Occurs after grouping was performed.
Declaration
public static readonly RoutedEvent GroupedEvent
Field Value
System.Windows.RoutedEvent
|
GroupStyleProperty
Represents the GroupStyle dependency property.
Declaration
public static readonly DependencyProperty GroupStyleProperty
Field Value
System.Windows.DependencyProperty
|
GroupStyleSelectorProperty
Identifies the GroupStyleSelector dependency property.
Declaration
public static readonly DependencyProperty GroupStyleSelectorProperty
Field Value
System.Windows.DependencyProperty
|
IsGroupedProperty
Represents the IsGrouped dependency property.
Declaration
public static readonly DependencyProperty IsGroupedProperty
Field Value
System.Windows.DependencyProperty
|
IsReadOnlyProperty
Represents the IsReadOnly property.
Declaration
public static readonly DependencyProperty IsReadOnlyProperty
Field Value
System.Windows.DependencyProperty
|
IsTextSearchCaseSensitiveProperty
Represents the IsTextSearchEnabled dependency property.
Declaration
public static readonly DependencyProperty IsTextSearchCaseSensitiveProperty
Field Value
System.Windows.DependencyProperty
|
IsTextSearchEnabledProperty
Represents the IsTextSearchEnabled dependency property.
Declaration
public static readonly DependencyProperty IsTextSearchEnabledProperty
Field Value
System.Windows.DependencyProperty
|
IsVirtualizingProperty
Represents the IsVirtualizing property.
Declaration
public static readonly DependencyProperty IsVirtualizingProperty
Field Value
System.Windows.DependencyProperty
|
ItemProperty
Represents the Item dependency property.
Declaration
public static readonly DependencyProperty ItemProperty
Field Value
System.Windows.DependencyProperty
|
LabelColumnWidthProperty
Represents the LabelColumnWidth dependency property.
Declaration
public static readonly DependencyProperty LabelColumnWidthProperty
Field Value
System.Windows.DependencyProperty
|
NestedPropertiesVisibilityProperty
Represents the ModeProperty dependency property.
Declaration
public static readonly DependencyProperty NestedPropertiesVisibilityProperty
Field Value
System.Windows.DependencyProperty
|
PreparedEditorEvent
Represents the PreparedEditor routed event.
Declaration
public static readonly RoutedEvent PreparedEditorEvent
Field Value
System.Windows.RoutedEvent
|
Remarks
This event is fired only when the value of the EditMode property is Single.
PropertySetModeProperty
Represents the PropertySetMode property.
Declaration
public static readonly DependencyProperty PropertySetModeProperty
Field Value
System.Windows.DependencyProperty
|
PropertySetsValidationFunctionProperty
Represents the PropertySetsValidationFunction dependency property.
Declaration
public static readonly DependencyProperty PropertySetsValidationFunctionProperty
Field Value
System.Windows.DependencyProperty
|
PropertySetViewModelProperty
Represents the PropertySetViewModelProperty property.
Declaration
public static readonly DependencyProperty PropertySetViewModelProperty
Field Value
System.Windows.DependencyProperty
|
ReadOnlyEditorStateProperty
Represents the ReadOnlyEditorState dependency property.
Declaration
public static readonly DependencyProperty ReadOnlyEditorStateProperty
Field Value
System.Windows.DependencyProperty
|
RenderModeProperty
Represents the RenderMode dependency property.
Declaration
public static readonly DependencyProperty RenderModeProperty
Field Value
System.Windows.DependencyProperty
|
SearchBoxVisibilityProperty
Represents the SearchBoxVisibility dependency property.
Declaration
public static readonly DependencyProperty SearchBoxVisibilityProperty
Field Value
System.Windows.DependencyProperty
|
SearchInNestedPropertiesProperty
Represents the SearchInNestedProperties dependency property.
Declaration
public static readonly DependencyProperty SearchInNestedPropertiesProperty
Field Value
System.Windows.DependencyProperty
|
SelectedPropertyDefinitionProperty
Represents the SelectedPropertyDefinition dependency property.
Declaration
public static readonly DependencyProperty SelectedPropertyDefinitionProperty
Field Value
System.Windows.DependencyProperty
|
SelectionChangedEvent
Identifies the SelectionChanged routed event.
Declaration
public static readonly RoutedEvent SelectionChangedEvent
Field Value
System.Windows.RoutedEvent
|
SelectionModeProperty
Identifies the SelectionMode dependency property.
Declaration
public static readonly DependencyProperty SelectionModeProperty
Field Value
System.Windows.DependencyProperty
|
SortAndGroupButtonsVisibilityProperty
Represents the SortAndGroupButtonsVisibility dependency property.
Declaration
public static readonly DependencyProperty SortAndGroupButtonsVisibilityProperty
Field Value
System.Windows.DependencyProperty
|
SortedEvent
Occurs after sorting was performed.
Declaration
public static readonly RoutedEvent SortedEvent
Field Value
System.Windows.RoutedEvent
|
TextSearchModeProperty
Represents the TextSearchMode dependency property.
Declaration
public static readonly DependencyProperty TextSearchModeProperty
Field Value
System.Windows.DependencyProperty
|
ValidatedEvent
Represents the Validated routed event.
Declaration
public static readonly RoutedEvent ValidatedEvent
Field Value
System.Windows.RoutedEvent
|
ValidatingEvent
Represents the Validating routed event.
Declaration
public static readonly RoutedEvent ValidatingEvent
Field Value
System.Windows.RoutedEvent
|
Properties
AutoExpandGroups
Gets or sets a value indicating whether groups should be automatically expanded.
Declaration
public bool AutoExpandGroups { get; set; }
Property Value
System.Boolean
|
AutoGenerateBindingPaths
Gets or sets a value indicating whether manually defined nested PropertyDefinitions, should have auto-generated paths.
Declaration
public bool AutoGenerateBindingPaths { get; set; }
Property Value
System.Boolean
|
AutoGeneratePropertyDefinitions
Gets or sets a value indicating whether property definitions will be auto-generated.
Declaration
public bool AutoGeneratePropertyDefinitions { get; set; }
Property Value
System.Boolean
|
AutoGeneratePropertyDefinitionsMode
Gets or sets a value indicating whether property definitions will be auto-generated for nested properties.
Declaration
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
public bool CanUserResizeDescriptionPanel { get; set; }
Property Value
System.Boolean
|
CanUserSelect
Gets or sets a value indicating whether the user can select property definition.
Declaration
public bool CanUserSelect { get; set; }
Property Value
System.Boolean
|
CommandProvider
Gets or sets the command provider associated with this RadPropertyGrid instance.
Declaration
public ICommandProvider CommandProvider { get; set; }
Property Value
ICommandProvider
The command provider. |
DescriptionPanelVisibility
Gets or sets the description panel visibility.
Declaration
public Visibility DescriptionPanelVisibility { get; set; }
Property Value
System.Windows.Visibility
|
EditMode
Gets or sets the EditMode of RadPropertyGrid.
Declaration
public PropertyGridEditMode EditMode { get; set; }
Property Value
PropertyGridEditMode
|
EditorTemplateSelector
Gets or sets the editor template selector.
Declaration
public DataTemplateSelector EditorTemplateSelector { get; set; }
Property Value
System.Windows.Controls.DataTemplateSelector
The editor template selector. |
EnableCustomFiltering
Gets or sets a value indicating whether RadPropertyGrid enables custom filtering.
Declaration
public bool EnableCustomFiltering { get; set; }
Property Value
System.Boolean
|
EnableDeferredFiltering
Gets or sets a value indicating whether RadPropertyGrid enables deferred filtering.
Declaration
public bool EnableDeferredFiltering { get; set; }
Property Value
System.Boolean
|
EnableEditorCaching
Gets or sets a value indicating whether RadPropertyGrid uses editor caching.
Declaration
public bool EnableEditorCaching { get; set; }
Property Value
System.Boolean
|
FieldIndicatorVisibility
Gets or sets the field indicator visibility.
Declaration
public Visibility FieldIndicatorVisibility { get; set; }
Property Value
System.Windows.Visibility
The field indicator visibility. |
FieldStyle
Gets or sets a Style for all PropertyGridFields in the scope of a RadPropertyGrid instance.
Declaration
public Style FieldStyle { get; set; }
Property Value
System.Windows.Style
The field style. |
GroupDefinitions
Gets a collection of GroupDefinition objects used to group the property grid.
Declaration
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
public Style GroupStyle { get; set; }
Property Value
System.Windows.Style
The GroupStyle. |
GroupStyleSelector
Gets or sets the style selector for RadPropertyGrid group.
Declaration
public StyleSelector GroupStyleSelector { get; set; }
Property Value
System.Windows.Controls.StyleSelector
|
IsGrouped
Gets or sets a value indicating whether this instance is grouped.
Declaration
public bool IsGrouped { get; set; }
Property Value
System.Boolean
|
IsReadOnly
Gets or sets a value indicating whether this instance is read only.
Declaration
public bool IsReadOnly { get; set; }
Property Value
System.Boolean
|
IsTextSearchCaseSensitive
Gets or sets a value that indicates whether case is a condition when searching.
Declaration
public bool IsTextSearchCaseSensitive { get; set; }
Property Value
System.Boolean
|
IsTextSearchEnabled
Gets or sets a value that determines whether the user can navigate to an item by typing when RadPropertyGrid is focused.
Declaration
public bool IsTextSearchEnabled { get; set; }
Property Value
System.Boolean
|
IsVirtualizing
Gets or sets a value indicating whether this PropertyGrid is virtualized.
Declaration
public bool IsVirtualizing { get; set; }
Property Value
System.Boolean
|
Item
Gets or sets the item to edit.
Declaration
public object Item { get; set; }
Property Value
System.Object
|
LabelColumnWidth
Gets or Sets the width of the first column.
Declaration
public GridLength LabelColumnWidth { get; set; }
Property Value
System.Windows.GridLength
|
NestedPropertiesVisibility
Gets or sets the nested properties' Visibility.
Declaration
public Visibility NestedPropertiesVisibility { get; set; }
Property Value
System.Windows.Visibility
|
PropertyDefinitions
Gets a collection of PropertyDefinitions describing the properties displayed or edited by RadPropertyGrid.
Declaration
public PropertyDefinitionCollection PropertyDefinitions { get; }
Property Value
PropertyDefinitionCollection
The collection of PropertyDefinitions. |
PropertySet
Gets the property set.
Declaration
public PropertySet PropertySet { get; }
Property Value
PropertySet
The property set. |
PropertySetMode
Gets or sets the property set mode.
Declaration
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
public Func<string, object, string> PropertySetsValidationFunction { get; set; }
Property Value
System.Func<System.String, System.Object, System.String>
|
ReadOnlyEditorState
Gets or sets the state of editors when RadPropertyGrid is ReadOnly.
Declaration
public ReadOnlyEditorStates ReadOnlyEditorState { get; set; }
Property Value
ReadOnlyEditorStates
The state of the read only editor. |
RenderMode
Gets or sets the render mode.
Declaration
public RenderMode RenderMode { get; set; }
Property Value
RenderMode
The rendering mode. |
SearchBoxVisibility
Gets or sets the search box visibility.
Declaration
public Visibility SearchBoxVisibility { get; set; }
Property Value
System.Windows.Visibility
The search box visibility. |
SearchInNestedProperties
Gets or sets a value indicating whether search should be execute over nested properties.
Declaration
public bool SearchInNestedProperties { get; set; }
Property Value
System.Boolean
|
SelectedPropertyDefinition
Gets the selected property definition.
Declaration
public PropertyDefinition SelectedPropertyDefinition { get; set; }
Property Value
PropertyDefinition
|
SelectedPropertyDefinitions
Gets a collection that contains the selected property definitions.
Declaration
public ObservableCollection<PropertyDefinition> SelectedPropertyDefinitions { get; }
Property Value
System.Collections.ObjectModel.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
public SelectionMode SelectionMode { get; set; }
Property Value
System.Windows.Controls.SelectionMode
|
SortAndGroupButtonsVisibility
Gets or sets the visibility of the sort and group buttons.
Declaration
public Visibility SortAndGroupButtonsVisibility { get; set; }
Property Value
System.Windows.Visibility
|
TextSearchMode
Gets or sets the text search mode. Specifies how TextSearch will match items. This is a dependency property.
Declaration
public TextSearchMode TextSearchMode { get; set; }
Property Value
TextSearchMode
The text search mode. |
Methods
add_PreparedEditor(PropertyGridPreparedEditorEventHandler)
Declaration
public void add_PreparedEditor(PropertyGridPreparedEditorEventHandler value)
Parameters
PropertyGridPreparedEditorEventHandler
value
|
BeginEdit()
Begins a new edit operation.
Declaration
public void BeginEdit()
BeginEdit(PropertyDefinition)
Begins a new edit operation.
Declaration
public void BeginEdit(PropertyDefinition propertyDefinition)
Parameters
PropertyDefinition
propertyDefinition
|
CancelEdit()
Cancels the changes from the current edit operation.
Declaration
public void CancelEdit()
CollapseAllGroups()
Collapses all groups recursively.
Declaration
public void CollapseAllGroups()
Remarks
The method will work only when RenderMode="Flat".
CollapseGroup(Object)
Collapses the visual group for the given GroupDefinition.
Declaration
public void CollapseGroup(object groupKey)
Parameters
System.Object
groupKey
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
public void CommitEdit()
CommitEdit(PropertyDefinition)
Commits the changes from the current edit operation.
Declaration
public void CommitEdit(PropertyDefinition propertyDefinition)
Parameters
PropertyDefinition
propertyDefinition
|
EndInit()
Indicates that the initialization process for the element is complete.
Declaration
public override void EndInit()
ExpandAllGroups()
Expands all groups recursively.
Declaration
public void ExpandAllGroups()
Remarks
The method will work only when RenderMode="Flat".
ExpandGroup(Object)
Set expand state for the given GroupDefinition.
Declaration
public void ExpandGroup(object groupKey)
Parameters
System.Object
groupKey
The key for the group to expand. |
Remarks
The method will work only when RenderMode="Flat".
Group()
Groups this RadPropertyGrid instance.
Declaration
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 System.Windows.Controls.Control.ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.
Declaration
public override void OnApplyTemplate()
OnBeginningEdit(PropertyGridBeginningEditEventArgs)
Raises the BeginningEdit event.
Declaration
protected virtual void OnBeginningEdit(PropertyGridBeginningEditEventArgs args)
Parameters
PropertyGridBeginningEditEventArgs
args
|
OnCreateAutomationPeer()
Returns class-specific System.Windows.Automation.Peers.AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
The type-specific System.Windows.Automation.Peers.AutomationPeer implementation. |
OnEditEnded(PropertyGridEditEndedEventArgs)
Raises the EditEnded event.
Declaration
protected virtual void OnEditEnded(PropertyGridEditEndedEventArgs args)
Parameters
PropertyGridEditEndedEventArgs
args
|
OnFieldLoaded(PropertyGridField)
Raises the FieldLoaded event.
Declaration
protected virtual void OnFieldLoaded(PropertyGridField field)
Parameters
PropertyGridField
field
|
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |
OnIsReadOnlyPropertyChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when IsReadOnly property is changed.
Declaration
protected static void OnIsReadOnlyPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
Parameters
System.Windows.DependencyObject
sender
The sender. |
System.Windows.DependencyPropertyChangedEventArgs
args
The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data. |
OnIsVirtualizingPropertyChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when IsVirtualizing property gets changed.
Declaration
protected static void OnIsVirtualizingPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
Parameters
System.Windows.DependencyObject
d
The d. |
System.Windows.DependencyPropertyChangedEventArgs
args
The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data. |
OnItemChanged(PropertyGridItemChangedEventArgs)
Raises the ItemChanged event.
Declaration
protected virtual void OnItemChanged(PropertyGridItemChangedEventArgs args)
Parameters
PropertyGridItemChangedEventArgs
args
|
OnMouseLeftButtonDown(Object, RoutedEventArgs)
Called when the MouseLeftButton down event occurs.
Declaration
protected void OnMouseLeftButtonDown(object sender, RoutedEventArgs e)
Parameters
System.Object
sender
The sender. |
System.Windows.RoutedEventArgs
e
The System.Windows.Input.MouseButtonEventArgs instance containing the event data. |
OnPreparedEditor(PropertyGridPreparedEditorEventArgs)
Raises the PreparedEditor event.
Declaration
protected virtual void OnPreparedEditor(PropertyGridPreparedEditorEventArgs args)
Parameters
PropertyGridPreparedEditorEventArgs
args
|
OnPropertyDefinitionsCollectionChanged(Object, NotifyCollectionChangedEventArgs)
Called when PropertyDefinitionCollection's CollectionChanged event is raised.
Declaration
protected virtual void OnPropertyDefinitionsCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
Parameters
System.Object
sender
The sender. |
System.Collections.Specialized.NotifyCollectionChangedEventArgs
e
The System.Collections.Specialized.NotifyCollectionChangedEventArgs instance containing the event data. |
OnPropertySetValueChanged(String, IEnumerable, Object)
Raises the PropertySetValueChanged event.
Declaration
protected virtual void OnPropertySetValueChanged(string propertyName, IEnumerable items, object value)
Parameters
System.String
propertyName
|
System.Collections.IEnumerable
items
|
System.Object
value
|
OnTextInput(TextCompositionEventArgs)
Declaration
protected override void OnTextInput(TextCompositionEventArgs e)
Parameters
System.Windows.Input.TextCompositionEventArgs
e
|
OnValidated(PropertyGridValidatedEventArgs)
Raises the Validating event.
Declaration
protected virtual void OnValidated(PropertyGridValidatedEventArgs args)
Parameters
PropertyGridValidatedEventArgs
args
|
OnValidating(PropertyGridValidatingEventArgs)
Raises the Validating event.
Declaration
protected virtual void OnValidating(PropertyGridValidatingEventArgs args)
Parameters
PropertyGridValidatingEventArgs
args
|
Rebind()
Rebinds the property grid.
Declaration
public void Rebind()
RegisterCommandBindings()
Registers the command bindings associated with RadPropertyGrid.
Declaration
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
public void ReloadData()
remove_PreparedEditor(PropertyGridPreparedEditorEventHandler)
Declaration
public void remove_PreparedEditor(PropertyGridPreparedEditorEventHandler value)
Parameters
PropertyGridPreparedEditorEventHandler
value
|
ResetTheme()
Resets the theme.
Declaration
public void ResetTheme()
ScrollIntoViewAsync(PropertyDefinition, Action<PropertyGridField>)
Scrolls a given PropertyDefinition into view in virtualized scenarios.
Declaration
public void ScrollIntoViewAsync(PropertyDefinition propertyDefinition, Action<PropertyGridField> finishedCallback)
Parameters
PropertyDefinition
propertyDefinition
The property definition. |
System.Action<PropertyGridField>
finishedCallback
The finished callback. |
Search(String)
Searches for PropertyDefinitions which DisplayName contains the given search parameter.
Declaration
public void Search(string searchParameter)
Parameters
System.String
searchParameter
|
Sort()
Sorts this RadPropertyGrid instance.
Declaration
public void Sort()
UpdateLayoutState()
Updates the layout state of the PropertyGridPresenter.
Declaration
protected void UpdateLayoutState()
UpdatePropertySetValue(String, Object, Boolean)
Declaration
public void UpdatePropertySetValue(string propertyName, object propertyValue, bool shouldUpdateBoundData)
Parameters
System.String
propertyName
The name of the updated property. |
System.Object
propertyValue
The value of the updated property. |
System.Boolean
shouldUpdateBoundData
Indicates whether the bound data (Item) should be updated. |
Events
AutoGeneratingPropertyDefinition
Occurs when a property definition is being generated.
Declaration
public event EventHandler<AutoGeneratingPropertyDefinitionEventArgs> AutoGeneratingPropertyDefinition
Event Type
System.EventHandler<AutoGeneratingPropertyDefinitionEventArgs>
|
BeginningEdit
Occurs when a new edit operation is initiated.
Declaration
public event EventHandler<PropertyGridBeginningEditEventArgs> BeginningEdit
Event Type
System.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
public event EventHandler<PropertyGridEditEndedEventArgs> EditEnded
Event Type
System.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
public event EventHandler<FieldEventArgs> FieldLoaded
Event Type
System.EventHandler<FieldEventArgs>
|
Filtered
Occurs after filtering is applied to RadPropertyGrid.
Declaration
public event EventHandler<EventArgs> Filtered
Event Type
System.EventHandler<System.EventArgs>
|
Filtering
Occurs when filtering RadPropertyGrid.
Declaration
public event EventHandler<PropertyGridFilteringEventArgs> Filtering
Event Type
System.EventHandler<PropertyGridFilteringEventArgs>
|
Grouped
Occurs after grouping was performed.
Declaration
public event EventHandler<RadRoutedEventArgs> Grouped
Event Type
System.EventHandler<RadRoutedEventArgs>
|
ItemChanged
Occurs when RadPropertyGrid's item gets changed.
Declaration
public event EventHandler<PropertyGridItemChangedEventArgs> ItemChanged
Event Type
System.EventHandler<PropertyGridItemChangedEventArgs>
|
PreparedEditor
Occurs when the field editor gets prepared .
Declaration
public event PropertyGridPreparedEditorEventHandler PreparedEditor
Event Type
PropertyGridPreparedEditorEventHandler
|
PropertySetValueChanged
Occurs when the value of a property from the PropertySet is changed.
Declaration
public event EventHandler<PropertySetValueChangedEventArgs> PropertySetValueChanged
Event Type
System.EventHandler<PropertySetValueChangedEventArgs>
|
SelectionChanged
Occurs when the selected property definition has changed.
Declaration
public event EventHandler<SelectionChangeEventArgs> SelectionChanged
Event Type
System.EventHandler<SelectionChangeEventArgs>
|
Sorted
Occurs after sorting was performed.
Declaration
public event EventHandler<RadRoutedEventArgs> Sorted
Event Type
System.EventHandler<RadRoutedEventArgs>
|
Validated
Occurs after validation of edit changes takes place.
Declaration
public event EventHandler<PropertyGridValidatedEventArgs> Validated
Event Type
System.EventHandler<PropertyGridValidatedEventArgs>
|
Validating
Occurs before validation of edit changes takes place.
Declaration
public event EventHandler<PropertyGridValidatingEventArgs> Validating
Event Type
System.EventHandler<PropertyGridValidatingEventArgs>
|