Class ExperimentalAcrylicBorder
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
MaterialProperty
public static readonly StyledProperty<ExperimentalAcrylicMaterial> MaterialProperty
Field Value
Properties
CornerRadius
Gets or sets the radius of the border rounded corners.
public CornerRadius CornerRadius { get; set; }
Property Value
Material
public ExperimentalAcrylicMaterial Material { get; set; }
Property Value
Methods
ArrangeOverride(Size)
Arranges the control's child.
protected override Size ArrangeOverride(Size finalSize)
Parameters
finalSize
SizeThe size allocated to the control.
Returns
- Size
The space taken.
MeasureOverride(Size)
Measures the control.
protected override Size MeasureOverride(Size availableSize)
Parameters
availableSize
SizeThe 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
VisualTreeAttachmentEventArgsThe event args.
OnDetachedFromVisualTree(VisualTreeAttachmentEventArgs)
Called when the control is removed from a rooted visual tree.
protected override void OnDetachedFromVisualTree(VisualTreeAttachmentEventArgs e)
Parameters
e
VisualTreeAttachmentEventArgsThe event args.
OnPropertyChanged(AvaloniaPropertyChangedEventArgs)
Called when a avalonia property changes on the object.
protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs change)
Parameters
change
AvaloniaPropertyChangedEventArgsThe property change details.