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

Report FilterDescription implementation.

Definition

Constructors

C#
protected PropertyFilterDescriptionBase()

Properties

Gets or sets the Condition used to filter the groups.

C#
[DataMember]
public LocalCondition Condition { get; set; }

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

C#
[DataMember]
public virtual string PropertyName { get; set; }

Methods

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

C#
protected override sealed void CloneCore(Cloneable source)
Parameters:sourceCloneable

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).

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

C#
protected abstract void CloneOverride(Cloneable source)
Parameters:sourceCloneable

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).

Return a value the item.

C#
protected object ExtractValue(object item)
Parameters:itemobject

The item.

Returns:

object

A name for the group that would contain the item.

Gets the display-friendly name.

C#
protected override string GetDisplayName()
Returns:

string

A string name.

Overrides: DescriptionBase.GetDisplayName()

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

C#
protected virtual object GetFilterItem(object fact)
Parameters:factobject

The data to be filtered.

Returns:

object

The value used for filtering.

Returns the member name for this description.

C#
public override string GetUniqueName()
Returns:

string

Overrides: DescriptionBase.GetUniqueName()

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

C#
protected virtual bool PassesFilter(object value)
Parameters:valueobject

The value to filter.

Returns:

bool

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