Table of Contents

Interface IPropertyAccessorPlugin

Namespace
Avalonia.Data.Core.Plugins
Assembly
Avalonia.Base.dll

Defines how a member is read, written and observed by a binding.

public interface IPropertyAccessorPlugin

Methods

Match(object, string)

Checks whether this plugin can handle accessing the properties of the specified object.

bool Match(object obj, string propertyName)

Parameters

obj object

The object.

propertyName string

The property name.

Returns

bool

True if the plugin can handle the property on the object; otherwise false.

Start(WeakReference<object?>, string)

Starts monitoring the value of a property on an object.

IPropertyAccessor? Start(WeakReference<object?> reference, string propertyName)

Parameters

reference WeakReference<object>

A weak reference to the object.

propertyName string

The property name.

Returns

IPropertyAccessor

An IPropertyAccessor interface through which future interactions with the property will be made.