Replies: 1 comment
-
|
works for me using Windows 11 and Avalonia 11.0. I have changed Window Background to make it more visible: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
I follow the documentation to style the flyout, the background can be set to other colors, but not transparent.
Here is the style:
<Style Selector="FlyoutPresenter.DefaultFlyout"> <Setter Property="Background" Value="Transparent" /> <Setter Property="Padding" Value="0" /> </Style>Here is the button's flyout
<Button.Flyout> <Flyout FlyoutPresenterClasses="DefaultFlyout" Placement="Bottom" ShowMode="Standard"> <StackPanel> <Button Content="Test" HorizontalAlignment="Stretch"></Button> </StackPanel> </Flyout> </Button.Flyout>Beta Was this translation helpful? Give feedback.
All reactions