Table of Contents

Class ExperimentalAcrylicBorder

Namespace
Avalonia.Controls
Assembly
Avalonia.Controls.dll
public class ExperimentalAcrylicBorder : Decorator, INotifyPropertyChanged, IDataContextProvider, ILogical, IThemeVariantHost, IResourceHost, IResourceNode, IStyleHost, ISetLogicalParent, ISetInheritanceParent, ISupportInitialize, IStyleable, INamed, IInputElement, IDataTemplateHost, ISetterValue
Inheritance
ExperimentalAcrylicBorder
Implements
Inherited Members
Extension Methods

Constructors

ExperimentalAcrylicBorder()

public ExperimentalAcrylicBorder()

Fields

CornerRadiusProperty

public static readonly StyledProperty<CornerRadius> CornerRadiusProperty

Field Value

StyledProperty<CornerRadius>

MaterialProperty

public static readonly StyledProperty<ExperimentalAcrylicMaterial> MaterialProperty

Field Value

StyledProperty<ExperimentalAcrylicMaterial>

Properties

CornerRadius

Gets or sets the radius of the border rounded corners.

public CornerRadius CornerRadius { get; set; }

Property Value

CornerRadius

Material

public ExperimentalAcrylicMaterial Material { get; set; }

Property Value

ExperimentalAcrylicMaterial

Methods

ArrangeOverride(Size)

Arranges the control's child.

protected override Size ArrangeOverride(Size finalSize)

Parameters

finalSize Size

The size allocated to the control.

Returns

Size

The space taken.

MeasureOverride(Size)

Measures the control.

protected override Size MeasureOverride(Size availableSize)

Parameters

availableSize Size

The available size.

Returns

Size

The desired size of the control.

OnAttachedToVisualTree(VisualTreeAttachmentEventArgs)

Called when the control is added to a rooted visual tree.

protected override void OnAttachedToVisualTree(VisualTreeAttachmentEventArgs e)

Parameters

e VisualTreeAttachmentEventArgs

The event args.

OnDetachedFromVisualTree(VisualTreeAttachmentEventArgs)

Called when the control is removed from a rooted visual tree.

protected override void OnDetachedFromVisualTree(VisualTreeAttachmentEventArgs e)

Parameters

e VisualTreeAttachmentEventArgs

The event args.

OnPropertyChanged(AvaloniaPropertyChangedEventArgs)

Called when a avalonia property changes on the object.

protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs change)

Parameters

change AvaloniaPropertyChangedEventArgs

The property change details.