New to Telerik UI for .NET MAUIStart a free 30-day trial

Defines a public method that can be used for looking-up values on an object instance.

Definition

Namespace:Telerik.Maui.Data

Assembly:Telerik.Maui.Core.dll

Syntax:

C#
public abstract class ValueLookup : INotifyPropertyChanged

Inheritance: objectValueLookup

Implements: INotifyPropertyChanged

Constructors

C#
protected ValueLookup()

Methods

Retrieves the desired value from the specified object instance.

C#
public abstract object GetValueForItem(object dataItem)
Parameters:dataItemobject

The object instance from which the value is retrieved.

Returns:

object

The actual value.

Raises the PropertyChanged event.

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

The name of the property that changed.

Events

Occurs when a property value changes.

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged