PropertySetViewModel
Class
A view model type that manages and exposes a dynamic property set.
Definition
Namespace:Telerik.Windows.Controls.Data.PropertyGrid
Assembly:Telerik.Windows.Controls.Data.dll
Syntax:
C#
public class PropertySetViewModel : ViewModelBase, INotifyPropertyChanged, IDisposable
Inheritance: objectViewModelBasePropertySetViewModel
Implements:
Inherited Members
Constructors
Initializes a new instance of the PropertySetViewModel class.
C#
public PropertySetViewModel()
Initializes a new instance of the PropertySetViewModel class.
C#
public PropertySetViewModel(IEnumerable<object> items, PropertySetOperation operation, bool shouldAddNullForNonMatchingValues, Func<string, object, string> validationFunction = null)
The items.
operationPropertySetOperationThe operation.
shouldAddNullForNonMatchingValuesboolThe boolean property indicating if should add null for non matching values.
validationFunctionFunc<string, object, string>The validation function.
Initializes a new instance of the PropertySetViewModel class.
C#
public PropertySetViewModel(IEnumerable<object> items, PropertySetOperation operation, Func<string, object, string> validationFunction = null)
The items.
operationPropertySetOperationThe operation.
validationFunctionFunc<string, object, string>The validation function.
Properties
Gets the current property set.
C#
public PropertySet CurrentPropertySet { get; }