Note: This document is auto-generated by
scripts/generate_control_reference_docs.py. Do not edit manually.
Avalonia.Controls.ViewboxAvalonia.ControlsAvalonia.Controlssrc/Avalonia.Controls/Viewbox.csControlcontrolpublic static readonly StyledProperty<Stretch> StretchProperty = AvaloniaProperty.Register<Viewbox, Stretch>(nameof(Stretch), Stretch.Uniform);public static readonly StyledProperty<StretchDirection> StretchDirectionProperty = AvaloniaProperty.Register<Viewbox, StretchDirection>(nameof(StretchDirection), StretchDirection.Both);public static readonly StyledProperty<Control?> ChildProperty = Decorator.ChildProperty.AddOwner<Viewbox>();public Viewbox() {public Stretch Stretch {public StretchDirection StretchDirection {public Control? Child {<Viewbox x:Name="SampleViewbox" />
using Avalonia.Controls;
var control = new Viewbox();