ClassFilterPartViewModel
Class
Represents the view model for the FilterPart instance.
Definition
Namespace:Telerik.Windows.Controls.Data.DataFilterView
Assembly:Telerik.Windows.Controls.Data.dll
Syntax:
cs-api-definition
public class FilterPartViewModel : ViewModelBase, INotifyPropertyChanged, IDisposable
Inheritance: objectViewModelBaseFilterPartViewModel
Implements:
Inherited Members
Constructors
FilterPartViewModel(object, FilterPartType, int, int, bool)
Initializes a new instance of the FilterPartViewModel class.
Declaration
cs-api-definition
public FilterPartViewModel(object content, FilterPartType type, int index, int level = 1, bool shouldAddMargin = false)
Parameters
content
type
index
level
shouldAddMargin
Properties
Content
Gets the content of the filter part.
Level
Gets a value representing the level of this filter part within a CompositeFilterDescriptorCollection hierarchy.
ShouldAddMargin
Gets a boolean value indicating whether margin should be applied around this filter part.
Type
Gets the type that this filter part represents.
Declaration
cs-api-definition
public FilterPartType Type { get; set; }
Property Value