New to Telerik UI for WPFStart a free 30-day trial

A view model type that manages and exposes a dynamic property set.

Definition

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)
Parameters:itemsIEnumerable<object>

The items.

operationPropertySetOperation

The operation.

shouldAddNullForNonMatchingValuesbool

The 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)
Parameters:itemsIEnumerable<object>

The items.

operationPropertySetOperation

The operation.

validationFunctionFunc<string, object, string>

The validation function.

Properties

Gets the current property set.

C#
public PropertySet CurrentPropertySet { get; }