using-xaml-property-element-syntax
Installation
SKILL.md
Using XAML Property Element Syntax
Convert long inline bindings to structured Property Element Syntax for improved readability.
Problem
Inline binding expressions can become horizontally extended and difficult to read:
<!-- Hard to read: 120+ characters in one line -->
<CheckBox IsChecked="{Binding Path=DataContext.IsAllChecked, UpdateSourceTrigger=PropertyChanged, RelativeSource={RelativeSource AncestorType=DataGrid, Mode=FindAncestor}}"/>
Solution
Split into Property Element Syntax: