Replies: 1 comment 1 reply
-
Hi @Omega596 , you can change this behavior by overriding the style of your controls using Lightweight Styling. In summary, Lightweight Styling allows you to customize the appearance of XAML controls by overriding their default brushes, fonts, and numeric properties. So, for example, if you want to customize the way a button looks when hovering (Point Over), you'll be able to do it with the following code: <Button Content="Overridden Button Style (PointerOver)"
Style="{StaticResource FilledButtonStyle}">
<Button.Resources>
<Thickness x:Key="ButtonBorderThickness">2</Thickness>
<SolidColorBrush x:Key="FilledButtonForegroundPointerOver" Color="DarkRed" />
<SolidColorBrush x:Key="FilledButtonBackgroundPointerOver" Color="LightPink" />
<SolidColorBrush x:Key="FilledButtonBorderBrushPointerOver" Color="DarkRed" />
</Button.Resources>
</Button> This Style will change the More Info here: https://platform.uno/docs/articles/external/uno.themes/doc/lightweight-styling.html and also this tech bites https://www.youtube.com/watch?v=5CsJHMTlNAw |
Beta Was this translation helpful? Give feedback.
-
The button returns to the default color when it is hovered on, clicked on, or focused on.
The minimum xaml code to replicate issue:
Beta Was this translation helpful? Give feedback.
All reactions