AvaloniaProperty.

Accept<TData>(IAvaloniaPropertyVisitor<TData>, TData) Method

Summary

Uses the visitor pattern to resolve an untyped property to a typed property.
Namespace
Avalonia
Containing Type
AvaloniaProperty

Syntax

public abstract void Accept<TData>(IAvaloniaPropertyVisitor<TData> vistor, ref TData data) 
    where TData : struct

Type Parameters

Name Description
TData The type of user data passed.

Parameters

Name Type Description
vistor IAvaloniaPropertyVisitor<TData> The visitor which will accept the typed property.
data TData The user data to pass.

Return Value

Type Description
void