Steven Kirk
dbe03e090a
Disallow OneTime bindings in setters.
I'm not sure what should happen here when the style deactivates and is re-activated. Should the one-time binding trigger again? Or should it only trigger on first activation? Wait and see what the use-case for this is (if any).
7 years ago
Steven Kirk
3609759f4e
Documentation.
7 years ago
Steven Kirk
8b3ac277f2
Added animations support back in.
Animations are still using an `IObservable<bool>` to trigger them as I didn't feel confident refactoring them as part of this PR.
7 years ago
Steven Kirk
18537addd7
Fix problems with setter binding priorities.
We need to make sure to set up the bindings as soon as the setter is instanced, even if it's not activated immediately.
7 years ago
Steven Kirk
8ec7988e66
Add an OrActivatorBuilder because we have one for And.
7 years ago
Steven Kirk
13ba7f3d0b
Refactored selector matching.
Match selectors from left-to-right, as before we were checking things like property equality (and creating a `PropertyEqualsActivator`) before checking that the control is of the correct type. Also hopefully makes the selector matching logic more readable.
7 years ago
Steven Kirk
dc55d65287
Refactored styling.
- Don't use Rx in the styling system. Instead introduces `IStyleActivator` which is like an `IObservable<bool>`-lite in order to cut down on allocations.
- #nullable enable on touched files
7 years ago
Steven Kirk
b82ca9aca9
Add an AvaloniaProperty visitor.
We already have some specific internal methods for routing certain methods via an untyped property to a typed property, but adding support for the visitor pattern allows us to support arbitrary use-cases.
7 years ago
Steven Kirk
2e99fa9a91
Make setting styled values disposable.
7 years ago
Steven Kirk
2d7b559f63
Merge pull request #3462 from AvaloniaUI/feature/new-devtools
New and improved DevTools.
7 years ago
Steven Kirk
fe9c9bb024
Merge branch 'master' into feature/new-devtools
7 years ago
Nikita Tsukanov
7b1e1fa607
Merge pull request #3594 from AvaloniaUI/fix-gesture-pointercapturelost
Fix gesture recognizers
7 years ago
Nikita Tsukanov
2bef4dc540
Always notify gesture recognizers about the loss of pointer capture
7 years ago
Nikita Tsukanov
9b4253f4d7
Fix inertial scrolling
7 years ago
Jumar Macato
6b15c84a01
Merge pull request #3585 from AvaloniaUI/fixes/3584-convert-timespan
Use TypeConverters in TypeUtilities.TryConvert
7 years ago
Jumar Macato
b477af71bf
Merge branch 'master' into fixes/3584-convert-timespan
7 years ago
Jumar Macato
7dab7b3948
Merge pull request #3367 from donandren/prs/geometrytostring
Improve Geometry Parse/ToString
7 years ago
Steven Kirk
de2b1925d9
Try TypeConverters in TryConvert.
Fixes #3584 .
7 years ago
Steven Kirk
8b03d32128
Added failing test for #3584 .
7 years ago
Steven Kirk
dbf482426c
Merge branch 'master' into prs/geometrytostring
7 years ago
Steven Kirk
77a29aaa89
Fixed nits.
7 years ago
Steven Kirk
6e0575a778
Added some XML docs.
7 years ago
Jumar Macato
53f233cc8a
Merge pull request #3564 from Symbai/datagrid1
DataGrid - Fix remaining theme colors
7 years ago
Steven Kirk
204cee0699
Merge branch 'master' into datagrid1
7 years ago
Dariusz Komosiński
5a5a1beb43
Merge pull request #3579 from Symbai/typos
Fix typo
7 years ago
Dariusz Komosiński
c80ac59230
Merge branch 'master' into typos
7 years ago
Jumar Macato
5540c54012
Merge pull request #3581 from AvaloniaUI/fixes/3544-osx-window-close-crash
Fix: dont crash when closing window on OSX.
7 years ago
Dan Walmsley
97bcb443ff
dont crash when closing window on OSX.
7 years ago
Symbai
e92dbb14df
Update IInputElement.cs
7 years ago
Jumar Macato
6c26b8d3d8
Merge pull request #3575 from AvaloniaUI/fixes/3466-animation-overrides-localvalue
Make animation value override local value
7 years ago
Jumar Macato
096f32cad8
Merge branch 'master' into fixes/3466-animation-overrides-localvalue
7 years ago
Dariusz Komosiński
18cda6726c
Merge pull request #3573 from Symbai/textBoxNull
Add Textbox.HorizontalContentAlignment and VerticalContentAlignment
7 years ago
Dariusz Komosiński
9b0239a776
Merge branch 'master' into textBoxNull
7 years ago
Steven Kirk
947e43b5e7
Merge pull request #3560 from MarchingCube/bench-style-attach
Benchmark and optimizations for style attach
7 years ago
Symbai
994def4642
Update TextBox.cs
7 years ago
Symbai
dc8881c846
Update TextBox.cs
7 years ago
Dariusz Komosiński
cebf6f20bc
Merge branch 'master' into bench-style-attach
7 years ago
Steven Kirk
aec9c6e5e2
Make animation value override local value.
This line was missing. Might be the cause of #3466 .
7 years ago
Steven Kirk
f79b58cc55
Added failing test possibly for #3466 .
Not sure if this is the cause of #3466 , but it's definitely wrong.
7 years ago
Symbai
b814eaac99
inherit from ContentControl
7 years ago
Symbai
7ca8d02123
Revert "change selected row background brush"
This reverts commit 863b0da1a1 .
7 years ago
Dariusz Komosiński
eaa8c68c3a
Merge pull request #3572 from Symbai/textboxSelect
Expose TextBox.SelectAll
7 years ago
Symbai
6fe5892ad9
Include vertical alignment of floating watermark
7 years ago
Symbai
f4fe0b126c
init
7 years ago
Steven Kirk
eff60ba25d
Merge branch 'master' into textboxSelect
7 years ago
Symbai
5ad2b362df
Update TextBox.cs
7 years ago
Symbai
863b0da1a1
change selected row background brush
7 years ago
Steven Kirk
6447d4f98d
Use TypeConverter correctly.
7 years ago
Steven Kirk
52e30f6a0e
Remove Avalonia.Dialogs dependency on diagnostics.
And add explicit dependency on `Avalonia.Diagnostics` to samples.
7 years ago
Steven Kirk
03e0396ff3
Merge branch 'master' into feature/new-devtools
7 years ago