Class
PropertyFilterDescriptionBase

Report FilterDescription implementation.

Definition

Namespace:Telerik.Pivot.Core

Assembly:Telerik.Pivot.Core.dll

Syntax:

cs-api-definition
[DataContract]
public abstract class PropertyFilterDescriptionBase : FilterDescription, INotifyPropertyChanged, ISupportInitialize, IServiceProvider, IEditable, IDescriptionBase, INamed

Inheritance: objectCloneableSettingsNodeDescriptionBaseFilterDescriptionPropertyFilterDescriptionBase

Derived Classes: PropertyFilterDescription

Implements: IDescriptionBaseIEditableINamedINotifyPropertyChangedIServiceProviderISupportInitialize

Inherited Members DescriptionBase.DisplayNameDescriptionBase.CustomNameSettingsNode.NotifyServicesChanged()SettingsNode.NotifySettingsChanged(SettingsChangedEventArgs)SettingsNode.OnSettingsChanged(SettingsChangedEventArgs)SettingsNode.BeginEdit()SettingsNode.BeginInit()SettingsNode.EndInit()SettingsNode.GetService(Type)SettingsNode.OnPropertyChanged(string)SettingsNode.RemoveSettingsChild(SettingsNode)SettingsNode.AddSettingsChild(SettingsNode)SettingsNode.GetServiceOverride(Type)SettingsNode.OnEnteredEditScope()SettingsNode.OnExitingEditScope()SettingsNode.ParentSettingsNode.SettingsChangedSettingsNode.ServicesChangedSettingsNode.PropertyChangedCloneable.Clone()Cloneable.CreateInstanceCore()

Constructors

PropertyFilterDescriptionBase()

Declaration

cs-api-definition
protected PropertyFilterDescriptionBase()

Properties

Condition

Gets or sets the Condition used to filter the groups.

Declaration

cs-api-definition
[DataMember]
public LocalCondition Condition { get; set; }

Property Value

LocalCondition

PropertyName

Gets or sets a value identifying a property on the grouped items.

Declaration

cs-api-definition
[DataMember]
public string PropertyName { get; set; }

Property Value

string

Methods

CloneCore(Cloneable)

Makes the instance a clone (deep copy) of the specified Cloneable.

Declaration

cs-api-definition
protected override sealed void CloneCore(Cloneable source)

Parameters

source

Cloneable

The object to clone.

Overrides DescriptionBase.CloneCore(Cloneable)

Remarks

Notes to Inheritors If you derive from Cloneable, you may need to override this method to copy all properties. It is essential that all implementations call the base implementation of this method (if you don't call base you should manually copy all needed properties including base properties).

CloneOverride(Cloneable)

Makes the instance a clone (deep copy) of the specified Cloneable.

Declaration

cs-api-definition
protected abstract void CloneOverride(Cloneable source)

Parameters

source

Cloneable

The object to clone.

Remarks

Notes to Inheritors If you derive from Cloneable, you need to override this method to copy all properties. It is essential that all implementations call the base implementation of this method (if you don't call base you should manually copy all needed properties including base properties).

ExtractValue(object)

Return a value the item.

Declaration

cs-api-definition
protected object ExtractValue(object item)

Parameters

item

object

The item.

Returns

object

A name for the group that would contain the item.

GetDisplayName()

Gets the display-friendly name.

Declaration

cs-api-definition
protected override string GetDisplayName()

Returns

string

A string name.

Overrides DescriptionBase.GetDisplayName()

GetFilterItem(object)

Gets the item that is used in filtering for the provided fact.

Declaration

cs-api-definition
protected virtual object GetFilterItem(object fact)

Parameters

fact

object

The data to be filtered.

Returns

object

The value used for filtering.

GetUniqueName()

Returns the member name for this description.

Declaration

cs-api-definition
public override string GetUniqueName()

Returns

string

Overrides DescriptionBase.GetUniqueName()

PassesFilter(object)

Checks if a value generated from GetFilterItem(object) passes the filter.

Declaration

cs-api-definition
protected virtual bool PassesFilter(object value)

Parameters

value

object

The value to filter.

Returns

bool

True if the value passes the filter; otherwise - false.