Skip to end of metadata
Go to start of metadata

Remarks

UXPropertyGrid is an advanced editor control which provides an easy way to dynamically handle a vary types of objects instead of writing a custom view for each type. Designed to display a large number of properties, UXPropertyGrid implements VirtualizingStackPanel to solve the performance issue which may occur when dealing with large objects. UXPropertyGrid also comes with customizable editors which makes it possible to fit in various user specific scenarios. To improve its performance, UXPropertyGrid also will reuse the existing editors for different properties that use the same editor type to avoid object creation overhead.

Example

To ensure UXPropertyGrid works properly, you need to specify the target object to be displayed in the control. UXPropertyGrid has provided some approaches to define the target object.

Single Object

To display a single object in UXPropertyGrid, you use the SelectedObject property. Simply you only need to bind the object to UXPropertyGrid and it will do the rest.

XAML

Multiple Objects

UXPropertyGrid allows you to bind a collection of objects into SelectedObjects property. The objects can be in the same type or in a different type. Of course, UXPropertyGrid only will display the intersecting properties from each objects.

XAML

Using Properties Source

UXPropertyGrid also allows you to directly provide the property definition of properties you would like to show, so UXPropertyGrid doesn't need to generate the given object's properties. The following example shows how to use PropertiesSource in UXPropertyGrid.

XAML
C#

Definition

public class UXPropertyGrid : ISControl, IEditorControl

Summary

The following table summarizes the members exposed in this class.

Public Constructors

UXPropertyGrid Constructor()Initializes a new instance of the UXPropertyGrid class.

Public Properties

AddCollectionItemsCommandGets or sets command that will be invoked when adding collection items.
BooleanEditorStyleGets or sets the style which will be applied to boolean editor in UXPropertyGrid control.
BooleanEditorTemplateGets or sets the template which will be applied to boolean editor in UXPropertyGrid control.
ChangePropertyValueCommandGets or sets command that will be invoked when change object's property.
CollectionEditorStyleGets or sets the style which will be applied to collection editor in UXPropertyGrid control.
CollectionEditorTemplateGets or sets the template which will be applied to collection editor in UXPropertyGrid control.
ContextGets or sets the context object.
CustomEditorStyleGets or sets the style which will be applied to custom editor in UXPropertyGrid control.
CustomEditorTemplateGets or sets the template which will be applied to custom editor in UXPropertyGrid control.
DateTimeEditorStyleGets or sets the style which will be applied to date time editor in UXPropertyGrid control.
DateTimeEditorTemplateGets or sets the template which will be applied to date time editor in UXPropertyGrid control.
DateTimeFormatGets or sets the date time format.
DefaultCategoryNameGets or sets the default category name.
DefaultDateTimeFormatGets or sets the default date time format.
DefaultEditorStyleGets or sets the style which will be applied to default editor in UXPropertyGrid control.
DefaultEditorTemplateGets or sets the template which will be applied to default editor in UXPropertyGrid control.
DefaultNumericFormatGets or sets the default numeric format.
DeleteCollectionItemsCommandGets or sets command that will be invoked when deleting collection items.
DescriptionHeightGets or sets the description box height.
DescriptionMaxHeightGets or sets the description box max height.
DescriptionVisibilityGets or sets the description box visibility.
DisplayModeGets or sets the display mode.
EditorDefinitionsGets or sets the editor definitions which will be used when resolving the editor.
EditorSelectorGets or sets the editor selector which will be used when resolving the editor.
EnableCachingGets or sets the value indicating whether the caching is enabled.
EnumEditorStyleGets or sets the style which will be applied to enum editor in UXPropertyGrid control.
EnumEditorTemplateGets or sets the template which will be applied to enum editor in UXPropertyGrid control.
EventEditorStyleGets or sets the style which will be applied to event editor in UXPropertyGrid control.
EventEditorTemplateGets or sets the template which will be applied to event editor in UXPropertyGrid control.
EventsVisibilityGets or sets the value indicating whether the event properties will be displayed.
IsBusyGets or sets the value indicating whether the UXPropertyGrid is still busy.
ItemsEditorStyleGets or sets the style which will be applied to items editor in UXPropertyGrid control.
ItemsEditorTemplateGets or sets the template which will be applied to items editor in UXPropertyGrid control.
LaunchEditorCommandGets or sets command that will be invoked when launching the editor.
LaunchEventCommandGets or sets command that will be invoked when launching the event editor.
MoveDownCollectionItemsCommandGets or sets command that will be invoked when moving down collection items.
MoveUpCollectionItemsCommandGets or sets command that will be invoked when moving up collection items.
NameBoxStyleGets or sets the style which will be applied to name box in UXPropertyGrid control.
NameBoxVisibilityGets or sets the name box visibility.
NameMemberPathGets or sets the name member path.
NumericEditorStyleGets or sets the style which will be applied to numeric editor in UXPropertyGrid control.
NumericEditorTemplateGets or sets the template which will be applied to numeric editor in UXPropertyGrid control.
NumericFormatGets or sets the numeric format.
ObjectNameTextGets or sets the object name text.
PropertiesSourceGets or sets the properties source.
PropertyDescriptionTextGets or sets the property description text.
PropertyInterceptorGets or sets the value property interceptor.
PropertyListModeGets or sets the property list mode.
PropertyNameMaxWidthGets or sets the property name maximum width.
PropertyNameMinWidthGets or sets the property name minimum width.
PropertyNameTextGets or sets the property name text.
PropertyValueCellStyleSelectorGets or sets the style selector that is used when rendering the property value cell.
ResourceGets the UXPropertyGrid resource.
ResourceOverrideGets or sets the UXPropertyGrid resource localization.
ScrollViewerStyleGets or sets the style which will be applied to scroll viewer in UXPropertyGrid control.
SearchBoxStyleGets or sets the style which will be applied to search box in UXPropertyGrid control.
SearchTextGets or sets the search text.
SelectedObjectGets or sets the selected object.
SelectedObjectsGets or sets the selected objects.
SelectedPropertyGets or sets the selected property.
TargetTypeGets or sets the target object type.
ToggleButtonStyleGets or sets the style which will be applied to toggle button in UXPropertyGrid control.
ValueInterceptorGets or sets the value property interceptor.
ViewModeGets or sets the UXPropertyGrid view mode.

Protected Properties

ProductProduct Info.

Fields

AddCollectionItemsCommandPropertyIdentifies the AddCollectionItemsCommand dependency property.
BooleanEditorStylePropertyIdentifies the BooleanEditorStyle dependency property.
BooleanEditorTemplatePropertyIdentifies the BooleanEditorTemplate dependency property.
ChangePropertyValueCommandPropertyIdentifies the ChangePropertyCommand dependency property.
CollectionEditorStylePropertyIdentifies the CollectionEditorStyle dependency property.
CollectionEditorTemplatePropertyIdentifies the CollectionEditorTemplate dependency property.
ContextPropertyIdentifies the Context dependency property.
CustomEditorStylePropertyIdentifies the CustomEditorStyle dependency property.
CustomEditorTemplatePropertyIdentifies the CustomEditorTemplate dependency property.
DateTimeEditorStylePropertyIdentifies the DateTimeEditorStyle dependency property.
DateTimeEditorTemplatePropertyIdentifies the DateTimeEditorTemplate dependency property.
DefaultCategoryNamePropertyIdentifies the DefaultGroupName dependency property.
DefaultDateTimeFormatPropertyIdentifies the DefaultDateTimeFormat dependency property.
DefaultEditorStylePropertyIdentifies the DefaultEditorStyle dependency property.
DefaultEditorTemplatePropertyIdentifies the DefaultEditorTemplate dependency property.
DefaultNumericFormatPropertyIdentifies the DefaultNumericFormat dependency property.
DeleteCollectionItemsCommandPropertyIdentifies the DeleteCollectionItemsCommand dependency property.
DescriptionHeightPropertyIdentifies the DescriptionHeight dependency property.
DescriptionMaxHeightPropertyIdentifies the DescriptionMaxHeight dependency property.
DescriptionVisibilityPropertyIdentifies the DescriptionVisibility dependency property.
DisplayModePropertyIdentifies the DisplayMode dependency property.
EditorDefinitionsPropertyIdentifies the EditorDefinitions dependency property.
EditorSelectorPropertyIdentifies the EditorSelector dependency property.
EnableCachingPropertyIdentifies the EnableCaching dependency property.
EnumEditorStylePropertyIdentifies the EnumEditorStyle dependency property.
EnumEditorTemplatePropertyIdentifies the EnumEditorTemplate dependency property.
EventEditorStylePropertyIdentifies the EventEditorStyle dependency property.
EventEditorTemplatePropertyIdentifies the EventEditorTemplate dependency property.
EventsVisibilityPropertyIdentifies the EventsVisibility dependency property.
IsBusyPropertyIdentifies the IsBusy dependency property.
ItemsEditorStylePropertyIdentifies the ItemsEditorStyle dependency property.
ItemsEditorTemplatePropertyIdentifies the CollectionEditorTemplate dependency property.
LaunchEditorCommandPropertyIdentifies the LaunchEditorCommand dependency property.
LaunchEventCommandPropertyIdentifies the LaunchEventCommand dependency property.
MoveDownCollectionItemsCommandPropertyIdentifies the MoveDownCollectionItemsCommand dependency property.
MoveUpCollectionItemsCommandPropertyIdentifies the MoveUpCollectionItemsCommand dependency property.
NameBoxStylePropertyIdentifies the NameBoxStyle dependency property.
NameBoxVisibilityPropertyIdentifies the NameBoxVisibility dependency property.
NameMemberPathPropertyIdentifies the NameMemberPath dependency property.
NumericEditorStylePropertyIdentifies the NumericEditorStyle dependency property.
NumericEditorTemplatePropertyIdentifies the NumericEditorTemplate dependency property.
ObjectNameTextPropertyIdentifies the ObjectNameText dependency property.
PropertiesSourcePropertyIdentifies the PropertiesSource dependency property.
PropertyDescriptionTextPropertyIdentifies the PropertyDescriptionText dependency property.
PropertyInterceptorPropertyIdentifies the PropertyInterceptor dependency property.
PropertyListModePropertyIdentifies the PropertyGridListMode dependency property.
PropertyNameMaxWidthPropertyIdentifies the PropertyNameMaxWidth dependency property.
PropertyNameMinWidthPropertyIdentifies the PropertyNameMinWidth dependency property.
PropertyNameTextPropertyIdentifies the PropertyNameText dependency property.
PropertyValueCellStyleSelectorPropertyIdentifies the PropertyValueCellStyleSelector dependency property.
ResourceOverridePropertyIdentifies the ResourceOverride dependency property.
ScrollViewerStylePropertyIdentifies the ScrollViewerStyle dependency property.
SearchBoxStylePropertyIdentifies the SearchBoxStyle dependency property.
SearchTextPropertyIdentifies the SearchText dependency property.
SelectedObjectPropertyIdentifies the SelectedObject dependency property.
SelectedObjectsPropertyIdentifies the SelectedObjects dependency property.
SelectedPropertyPropertyIdentifies the SelectedProperty dependency property.
TargetTypePropertyIdentifies the TargetType dependency property.
ToggleButtonStylePropertyIdentifies the ToggleButtonStyle dependency property.
ValueInterceptorPropertyIdentifies the ValueInterceptor dependency property.
ViewModePropertyIdentifies the ViewMode dependency property.

Public Methods

AttachEventHandlers()Attach built-in event handlers to control templates. Call this method if necessary.
DetachedEventHandlers()Detach built-in event handlers from control templates. Call this method if necessary.
Dispose()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
InitializeTemplates()Initializes control templates.
OnApplyTemplate()Builds the visual tree for the UXPropertyGrid when a new template is applied.

Public Constructors

public UXPropertyGrid()

Initializes a new instance of the UXPropertyGrid class.

Public Properties

public ICommand AddCollectionItemsCommand { get; set; }

Gets or sets command that will be invoked when adding collection items.

Remarks

UXPropertyGrid also provides several command-related properties that you can bind to your ViewModel to execute a method depending on the actions. These command-related properties are listed as follows.AddCollectionItemsCommand Called when you add new items to the collection.DeleteCollectionItemsCommand Called when you delete items from the collection.MoveUpCollectionItemsCommand Called when you move the collection items up.MoveDownCollectionItemsCommand Called when you move the collection items down.When invoked, all of these commands will pass CollectionItemsCommandArgs as an argument which contains information about the corresponding items. In addition, if you want to cancel these action, simply set the argument's Cancel property to True.

 

public Style BooleanEditorStyle { get; set; }

Gets or sets the style which will be applied to boolean editor in UXPropertyGrid control.

public DataTemplate BooleanEditorTemplate { get; set; }

Gets or sets the template which will be applied to boolean editor in UXPropertyGrid control.

public ICommand ChangePropertyValueCommand { get; set; }

Gets or sets command that will be invoked when change object's property.

public Style CollectionEditorStyle { get; set; }

Gets or sets the style which will be applied to collection editor in UXPropertyGrid control.

public DataTemplate CollectionEditorTemplate { get; set; }

Gets or sets the template which will be applied to collection editor in UXPropertyGrid control.

public object Context { get; set; }

Gets or sets the context object.

public Style CustomEditorStyle { get; set; }

Gets or sets the style which will be applied to custom editor in UXPropertyGrid control.

public DataTemplate CustomEditorTemplate { get; set; }

Gets or sets the template which will be applied to custom editor in UXPropertyGrid control.

public Style DateTimeEditorStyle { get; set; }

Gets or sets the style which will be applied to date time editor in UXPropertyGrid control.

public DataTemplate DateTimeEditorTemplate { get; set; }

Gets or sets the template which will be applied to date time editor in UXPropertyGrid control.

public string DateTimeFormat { get; set; }

Gets or sets the date time format.

public string DefaultCategoryName { get; set; }

Gets or sets the default category name.

public string DefaultDateTimeFormat { get; set; }

Gets or sets the default date time format.

public Style DefaultEditorStyle { get; set; }

Gets or sets the style which will be applied to default editor in UXPropertyGrid control.

public DataTemplate DefaultEditorTemplate { get; set; }

Gets or sets the template which will be applied to default editor in UXPropertyGrid control.

public string DefaultNumericFormat { get; set; }

Gets or sets the default numeric format.

public ICommand DeleteCollectionItemsCommand { get; set; }

Gets or sets command that will be invoked when deleting collection items.

Remarks

UXPropertyGrid also provides several command-related properties that you can bind to your ViewModel to execute a method depending on the actions. These command-related properties are listed as follows.AddCollectionItemsCommand Called when you add new items to the collection.DeleteCollectionItemsCommand Called when you delete items from the collection.MoveUpCollectionItemsCommand Called when you move the collection items up.MoveDownCollectionItemsCommand Called when you move the collection items down.When invoked, all of these commands will pass CollectionItemsCommandArgs as an argument which contains information about the corresponding items. In addition, if you want to cancel these action, simply set the argument's Cancel property to True.

 

public double DescriptionHeight { get; set; }

Gets or sets the description box height.

public double DescriptionMaxHeight { get; set; }

Gets or sets the description box max height.

public Visibility DescriptionVisibility { get; set; }

Gets or sets the description box visibility.

public PropertyGridDisplayMode DisplayMode { get; set; }

Gets or sets the display mode.

public ObservableCollection<EditorDefinition> EditorDefinitions { get; set; }

Gets or sets the editor definitions which will be used when resolving the editor.

public IEditorSelector EditorSelector { get; set; }

Gets or sets the editor selector which will be used when resolving the editor.

public bool EnableCaching { get; set; }

Gets or sets the value indicating whether the caching is enabled.

Remarks

By default, UXPropertyGrid will regenerate the properties when the given objects is changed. This will cause performance issue if the number of properties which need to be generated is relatively large. When the caching feature is enabled, UXPropertyGrid only will generate properties for each object type once to achieve a better performance and more responsive results. To enable this feature, simply set EnableCaching property to True.

 

public Style EnumEditorStyle { get; set; }

Gets or sets the style which will be applied to enum editor in UXPropertyGrid control.

public DataTemplate EnumEditorTemplate { get; set; }

Gets or sets the template which will be applied to enum editor in UXPropertyGrid control.

public Style EventEditorStyle { get; set; }

Gets or sets the style which will be applied to event editor in UXPropertyGrid control.

public DataTemplate EventEditorTemplate { get; set; }

Gets or sets the template which will be applied to event editor in UXPropertyGrid control.

public Visibility EventsVisibility { get; set; }

Gets or sets the value indicating whether the event properties will be displayed.

public bool IsBusy { get; set; }

Gets or sets the value indicating whether the UXPropertyGrid is still busy.

public Style ItemsEditorStyle { get; set; }

Gets or sets the style which will be applied to items editor in UXPropertyGrid control.

public DataTemplate ItemsEditorTemplate { get; set; }

Gets or sets the template which will be applied to items editor in UXPropertyGrid control.

public ICommand LaunchEditorCommand { get; set; }

Gets or sets command that will be invoked when launching the editor.

public ICommand LaunchEventCommand { get; set; }

Gets or sets command that will be invoked when launching the event editor.

public ICommand MoveDownCollectionItemsCommand { get; set; }

Gets or sets command that will be invoked when moving down collection items.

Remarks

UXPropertyGrid also provides several command-related properties that you can bind to your ViewModel to execute a method depending on the actions. These command-related properties are listed as follows.AddCollectionItemsCommand Called when you add new items to the collection.DeleteCollectionItemsCommand Called when you delete items from the collection.MoveUpCollectionItemsCommand Called when you move the collection items up.MoveDownCollectionItemsCommand Called when you move the collection items down.When invoked, all of these commands will pass CollectionItemsCommandArgs as an argument which contains information about the corresponding items. In addition, if you want to cancel these action, simply set the argument's Cancel property to True.

 

public ICommand MoveUpCollectionItemsCommand { get; set; }

Gets or sets command that will be invoked when moving up collection items.

Remarks

UXPropertyGrid also provides several command-related properties that you can bind to your ViewModel to execute a method depending on the actions. These command-related properties are listed as follows.AddCollectionItemsCommand Called when you add new items to the collection.DeleteCollectionItemsCommand Called when you delete items from the collection.MoveUpCollectionItemsCommand Called when you move the collection items up.MoveDownCollectionItemsCommand Called when you move the collection items down.When invoked, all of these commands will pass CollectionItemsCommandArgs as an argument which contains information about the corresponding items. In addition, if you want to cancel these action, simply set the argument's Cancel property to True.

 

public Style NameBoxStyle { get; set; }

Gets or sets the style which will be applied to name box in UXPropertyGrid control.

public Visibility NameBoxVisibility { get; set; }

Gets or sets the name box visibility.

public string NameMemberPath { get; set; }

Gets or sets the name member path.

public Style NumericEditorStyle { get; set; }

Gets or sets the style which will be applied to numeric editor in UXPropertyGrid control.

public DataTemplate NumericEditorTemplate { get; set; }

Gets or sets the template which will be applied to numeric editor in UXPropertyGrid control.

public string NumericFormat { get; set; }

Gets or sets the numeric format.

public string ObjectNameText { get; set; }

Gets or sets the object name text.

public IEnumerable PropertiesSource { get; set; }

Gets or sets the properties source.

Remarks

UXPropertyGrid also allows you to directly provide the property definition of properties you would like to show, so UXPropertyGrid doesn't need to generate the given object's properties. The following example shows how to use PropertiesSource in UXPropertyGrid.XAML XAML <Intersoft:UXPropertyGrid PropertiesSource="{Binding PropertiesSource}"/>

 

public string PropertyDescriptionText { get; set; }

Gets or sets the property description text.

public IPropertyInterceptor PropertyInterceptor { get; set; }

Gets or sets the value property interceptor.

public PropertyGridListMode PropertyListMode { get; set; }

Gets or sets the property list mode.

public double PropertyNameMaxWidth { get; set; }

Gets or sets the property name maximum width.

public double PropertyNameMinWidth { get; set; }

Gets or sets the property name minimum width.

public string PropertyNameText { get; set; }

Gets or sets the property name text.

public StyleSelector PropertyValueCellStyleSelector { get; set; }

Gets or sets the style selector that is used when rendering the property value cell.

public IObservableResource Resource { get; }

Gets the UXPropertyGrid resource.

public UXPropertyGridResource ResourceOverride { get; set; }

Gets or sets the UXPropertyGrid resource localization.

public Style ScrollViewerStyle { get; set; }

Gets or sets the style which will be applied to scroll viewer in UXPropertyGrid control.

public Style SearchBoxStyle { get; set; }

Gets or sets the style which will be applied to search box in UXPropertyGrid control.

public string SearchText { get; set; }

Gets or sets the search text.

public object SelectedObject { get; set; }

Gets or sets the selected object.

Remarks

To display a single object in UXPropertyGrid, you use the SelectedObject property. Simply you only need to bind the object to UXPropertyGrid and it will do the rest.XAML XAML <Intersoft:UXPropertyGrid SelectedObject="{Binding SelectedObject}"/>

 

public IEnumerable SelectedObjects { get; set; }

Gets or sets the selected objects.

Remarks

UXPropertyGrid allows you to bind a collection of objects into SelectedObjects property. The objects can be in the same type or in a different type. Of course, UXPropertyGrid only will display the intersecting properties from each objects.XAML XAML <Intersoft:UXPropertyGrid SelectedObjects="{Binding SelectedObjects}"/>

 

public object SelectedProperty { get; set; }

Gets or sets the selected property.

public string TargetType { get; set; }

Gets or sets the target object type.

public Style ToggleButtonStyle { get; set; }

Gets or sets the style which will be applied to toggle button in UXPropertyGrid control.

public IValueInterceptor ValueInterceptor { get; set; }

Gets or sets the value property interceptor.

public PropertyGridViewMode ViewMode { get; set; }

Gets or sets the UXPropertyGrid view mode.

Protected Properties

protected ProductInfo Product { get; }

Product Info.

Fields

public static readonly DependencyProperty AddCollectionItemsCommandProperty

Identifies the AddCollectionItemsCommand dependency property.

public static readonly DependencyProperty BooleanEditorStyleProperty

Identifies the BooleanEditorStyle dependency property.

public static readonly DependencyProperty BooleanEditorTemplateProperty

Identifies the BooleanEditorTemplate dependency property.

public static readonly DependencyProperty ChangePropertyValueCommandProperty

Identifies the ChangePropertyCommand dependency property.

public static readonly DependencyProperty CollectionEditorStyleProperty

Identifies the CollectionEditorStyle dependency property.

public static readonly DependencyProperty CollectionEditorTemplateProperty

Identifies the CollectionEditorTemplate dependency property.

public static readonly DependencyProperty ContextProperty

Identifies the Context dependency property.

public static readonly DependencyProperty CustomEditorStyleProperty

Identifies the CustomEditorStyle dependency property.

public static readonly DependencyProperty CustomEditorTemplateProperty

Identifies the CustomEditorTemplate dependency property.

public static readonly DependencyProperty DateTimeEditorStyleProperty

Identifies the DateTimeEditorStyle dependency property.

public static readonly DependencyProperty DateTimeEditorTemplateProperty

Identifies the DateTimeEditorTemplate dependency property.

public static readonly DependencyProperty DefaultCategoryNameProperty

Identifies the DefaultGroupName dependency property.

public static readonly DependencyProperty DefaultDateTimeFormatProperty

Identifies the DefaultDateTimeFormat dependency property.

public static readonly DependencyProperty DefaultEditorStyleProperty

Identifies the DefaultEditorStyle dependency property.

public static readonly DependencyProperty DefaultEditorTemplateProperty

Identifies the DefaultEditorTemplate dependency property.

public static readonly DependencyProperty DefaultNumericFormatProperty

Identifies the DefaultNumericFormat dependency property.

public static readonly DependencyProperty DeleteCollectionItemsCommandProperty

Identifies the DeleteCollectionItemsCommand dependency property.

public static readonly DependencyProperty DescriptionHeightProperty

Identifies the DescriptionHeight dependency property.

public static readonly DependencyProperty DescriptionMaxHeightProperty

Identifies the DescriptionMaxHeight dependency property.

public static readonly DependencyProperty DescriptionVisibilityProperty

Identifies the DescriptionVisibility dependency property.

public static readonly DependencyProperty DisplayModeProperty

Identifies the DisplayMode dependency property.

public static readonly DependencyProperty EditorDefinitionsProperty

Identifies the EditorDefinitions dependency property.

public static readonly DependencyProperty EditorSelectorProperty

Identifies the EditorSelector dependency property.

public static readonly DependencyProperty EnableCachingProperty

Identifies the EnableCaching dependency property.

public static readonly DependencyProperty EnumEditorStyleProperty

Identifies the EnumEditorStyle dependency property.

public static readonly DependencyProperty EnumEditorTemplateProperty

Identifies the EnumEditorTemplate dependency property.

public static readonly DependencyProperty EventEditorStyleProperty

Identifies the EventEditorStyle dependency property.

public static readonly DependencyProperty EventEditorTemplateProperty

Identifies the EventEditorTemplate dependency property.

public static readonly DependencyProperty EventsVisibilityProperty

Identifies the EventsVisibility dependency property.

public static readonly DependencyProperty IsBusyProperty

Identifies the IsBusy dependency property.

public static readonly DependencyProperty ItemsEditorStyleProperty

Identifies the ItemsEditorStyle dependency property.

public static readonly DependencyProperty ItemsEditorTemplateProperty

Identifies the CollectionEditorTemplate dependency property.

public static readonly DependencyProperty LaunchEditorCommandProperty

Identifies the LaunchEditorCommand dependency property.

public static readonly DependencyProperty LaunchEventCommandProperty

Identifies the LaunchEventCommand dependency property.

public static readonly DependencyProperty MoveDownCollectionItemsCommandProperty

Identifies the MoveDownCollectionItemsCommand dependency property.

public static readonly DependencyProperty MoveUpCollectionItemsCommandProperty

Identifies the MoveUpCollectionItemsCommand dependency property.

public static readonly DependencyProperty NameBoxStyleProperty

Identifies the NameBoxStyle dependency property.

public static readonly DependencyProperty NameBoxVisibilityProperty

Identifies the NameBoxVisibility dependency property.

public static readonly DependencyProperty NameMemberPathProperty

Identifies the NameMemberPath dependency property.

public static readonly DependencyProperty NumericEditorStyleProperty

Identifies the NumericEditorStyle dependency property.

public static readonly DependencyProperty NumericEditorTemplateProperty

Identifies the NumericEditorTemplate dependency property.

public static readonly DependencyProperty ObjectNameTextProperty

Identifies the ObjectNameText dependency property.

public static readonly DependencyProperty PropertiesSourceProperty

Identifies the PropertiesSource dependency property.

public static readonly DependencyProperty PropertyDescriptionTextProperty

Identifies the PropertyDescriptionText dependency property.

public static readonly DependencyProperty PropertyInterceptorProperty

Identifies the PropertyInterceptor dependency property.

public static readonly DependencyProperty PropertyListModeProperty

Identifies the PropertyGridListMode dependency property.

public static readonly DependencyProperty PropertyNameMaxWidthProperty

Identifies the PropertyNameMaxWidth dependency property.

public static readonly DependencyProperty PropertyNameMinWidthProperty

Identifies the PropertyNameMinWidth dependency property.

public static readonly DependencyProperty PropertyNameTextProperty

Identifies the PropertyNameText dependency property.

public static readonly DependencyProperty PropertyValueCellStyleSelectorProperty

Identifies the PropertyValueCellStyleSelector dependency property.

public static readonly DependencyProperty ResourceOverrideProperty

Identifies the ResourceOverride dependency property.

public static readonly DependencyProperty ScrollViewerStyleProperty

Identifies the ScrollViewerStyle dependency property.

public static readonly DependencyProperty SearchBoxStyleProperty

Identifies the SearchBoxStyle dependency property.

public static readonly DependencyProperty SearchTextProperty

Identifies the SearchText dependency property.

public static readonly DependencyProperty SelectedObjectProperty

Identifies the SelectedObject dependency property.

public static readonly DependencyProperty SelectedObjectsProperty

Identifies the SelectedObjects dependency property.

public static readonly DependencyProperty SelectedPropertyProperty

Identifies the SelectedProperty dependency property.

public static readonly DependencyProperty TargetTypeProperty

Identifies the TargetType dependency property.

public static readonly DependencyProperty ToggleButtonStyleProperty

Identifies the ToggleButtonStyle dependency property.

public static readonly DependencyProperty ValueInterceptorProperty

Identifies the ValueInterceptor dependency property.

public static readonly DependencyProperty ViewModeProperty

Identifies the ViewMode dependency property.

Public Methods

public void AttachEventHandlers()

Attach built-in event handlers to control templates. Call this method if necessary.

public void DetachedEventHandlers()

Detach built-in event handlers from control templates. Call this method if necessary.

public void Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void InitializeTemplates()

Initializes control templates.

public void OnApplyTemplate()

Builds the visual tree for the UXPropertyGrid when a new template is applied.

  • No labels