Autocompletion of Value based on Property for WPF-like triggers #18017
-
A WPF-like alternative for <ControlStyle TargetType="Ellipse">
<Setter Property="Fill" Value="Black" />
<ControlStyle.Triggers>
<ControlTrigger Property="Ellipse.Fill" Value="Black">
<Setter Property="Ellipse.Fill" Value="Red" />
</ControlTrigger>
</ControlStyle.Triggers>
</ControlStyle> The question is regarding how much is exposed to autocompletion to aid such a setup. Question 2 being most important. 1a. Can the From a community question. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
XAML autocompletion (and even more - compile-time strong typing) is hardcoded to current Avalonia XAML styling syntax, with no option to extend it easily. I suppose there could be a combination of custom attributes to make it flexible. |
Beta Was this translation helpful? Give feedback.
XAML autocompletion (and even more - compile-time strong typing) is hardcoded to current Avalonia XAML styling syntax, with no option to extend it easily. I suppose there could be a combination of custom attributes to make it flexible.