Table of Contents

Class AvaloniaListAttribute

Namespace
Avalonia.Metadata
Assembly
Avalonia.Base.dll

Defines how compiler should split avalonia list string value before parsing individual items.

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class AvaloniaListAttribute : Attribute
Inheritance
AvaloniaListAttribute
Inherited Members

Constructors

AvaloniaListAttribute()

public AvaloniaListAttribute()

Properties

Separators

Separator used to split input string. Default value is ','.

public string[]? Separators { get; init; }

Property Value

string[]

SplitOptions

Split options used to split input string. Default value is RemoveEmptyEntries with TrimEntries.

public StringSplitOptions SplitOptions { get; init; }

Property Value

StringSplitOptions