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