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

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:

C#
public class DescriptorBase : InheritanceContextPropagator, INotifyPropertyChanged, ISuspendNotifications

Inheritance: objectInheritanceContextPropagatorDescriptorBase

Derived Classes: DistinctValuesFilterDescriptorFieldFilterDescriptorFilterDescriptorBaseGroupDescriptorBaseHierarchyDescriptorSelectDescriptorSortDescriptorBase...

Implements: INotifyPropertyChangedISuspendNotifications

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

Constructors

C#
public DescriptorBase()

Properties

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

C#
public bool NotificationsSuspended { get; }
Property Value:

True if notifications are suspended, otherwise, false.

Implements: ISuspendNotifications.NotificationsSuspended

Methods

Raises the PropertyChanged event.

C#
protected virtual void OnPropertyChanged(PropertyChangedEventArgs args)
Parameters:argsPropertyChangedEventArgs

The PropertyChangedEventArgs instance containing the event data.

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

C#
protected void OnPropertyChanged(string propertyName)
Parameters:propertyNamestring

Name of the property that is changed.

Resumes the notifications.

C#
public void ResumeNotifications()

Implements: ISuspendNotifications.ResumeNotifications()

Suspends the notifications.

C#
public void SuspendNotifications()

Implements: ISuspendNotifications.SuspendNotifications()

Events

Occurs when a property changes.

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged