File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,6 +34,12 @@ VariableBox is a Avalonia Control for building cross-platform UIs with Avalonia
3434
3535## ChangeLog
3636
37+ - 2025/02/21(v0.5.0)
38+ 1 . remote property ` IsEnableEditingIndicator ` indicator
39+ 2 . please use the ` PseudoClasses `
40+ 1 . ` :editing ` for editing
41+ 2 . ` :invalid ` for invalid input
42+
3743- 2025/02/19(v0.4.0)
3844 1 . fix the style of buttonspinner and the disabled style
3945 1 . fluent,semi and simple is all supported
@@ -102,6 +108,38 @@ You can now use VariableBox controls in your Avalonia Application.
102108</Window >
103109```
104110
111+ ### PseudoClasses
112+
113+ - ` :editing ` for editing
114+ - ` :invalid ` for invalid input
115+
116+ e.g.:
117+
118+ <div style =" display : flex ;" >
119+ <div style =" flex : 50% ; padding : 2px ;" >
120+
121+
122+ ``` xml
123+ <Style Selector =" vbox|NumericUpDown:editing" >
124+ <Style Selector =" ^ /template/ TextBox#PART_TextBox" >
125+ <Setter Property =" Foreground" Value =" Green" />
126+ </Style >
127+ <Style Selector =" ^:invalid /template/ TextBox#PART_TextBox" >
128+ <Setter Property =" Foreground" Value =" Red" />
129+ </Style >
130+ </Style >
131+ ```
132+
133+ </div >
134+
135+ <div style =" flex : 20% ; padding : 2px ;" >
136+
137+ ![ pseudoclass] ( assets/pseudoclass.png )
138+
139+ </div >
140+ </div >
141+
142+
105143### VariableBox.Themes
106144
107145To make VariableBox controls show up in your application, you need to reference to a theme package designed for VariableBox.
Original file line number Diff line number Diff line change 11<Project >
22 <PropertyGroup >
33 <AvaloniaVersion >11.2.1</AvaloniaVersion >
4- <VariableBoxVersion >0.4.1 </VariableBoxVersion >
4+ <VariableBoxVersion >0.5.0 </VariableBoxVersion >
55 </PropertyGroup >
66</Project >
You can’t perform that action at this time.
0 commit comments