Class
DescriptorBase

Base class for all descriptors used for handling the logic for property changed notifications.

Definition

Namespace:Telerik.Windows.Data

Assembly:Telerik.Windows.Data.dll

Syntax:

cs-api-definition
public class DescriptorBase : InheritanceContextPropagator, INotifyPropertyChanged, ISuspendNotifications

Inheritance: objectInheritanceContextPropagatorDescriptorBase

Derived Classes: DistinctValuesFilterDescriptorFieldFilterDescriptorFilterDescriptorBaseGroupDescriptorBaseHierarchyDescriptorSelectDescriptorSortDescriptorBase

Implements: INotifyPropertyChangedISuspendNotifications

Inherited Members InheritanceContextPropagator.CreateInstanceCore()InheritanceContextPropagator.FreezeCore(bool)

Constructors

DescriptorBase()

Declaration

cs-api-definition
public DescriptorBase()

Properties

NotificationsSuspended

Gets or sets a value indicating whether change notifications are suspended.

Declaration

cs-api-definition
public bool NotificationsSuspended { get; }

Property Value

bool

True if notifications are suspended, otherwise, false.

Implements ISuspendNotifications.NotificationsSuspended

Methods

OnPropertyChanged(PropertyChangedEventArgs)

Raises the PropertyChanged event.

Declaration

cs-api-definition
protected virtual void OnPropertyChanged(PropertyChangedEventArgs args)

Parameters

args

PropertyChangedEventArgs

The PropertyChangedEventArgs instance containing the event data.

OnPropertyChanged(string)

Calls OnPropertyChanged(PropertyChangedEventArgs) creating a new instance of PropertyChangedEventArgs with given propertyName.

Declaration

cs-api-definition
protected void OnPropertyChanged(string propertyName)

Parameters

propertyName

string

Name of the property that is changed.

ResumeNotifications()

Resumes the notifications.

Declaration

cs-api-definition
public void ResumeNotifications()

Implements ISuspendNotifications.ResumeNotifications()

SuspendNotifications()

Suspends the notifications.

Declaration

cs-api-definition
public void SuspendNotifications()

Implements ISuspendNotifications.SuspendNotifications()

Events

PropertyChanged

Occurs when a property changes.

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged