Steven Kirk
a48efd6b55
Don't leak subs to CanExecuteChanged in MenuItem.
7 years ago
Steven Kirk
7363f7140b
Don't leak subs to CanExecuteChanged in Button.
7 years ago
Steven Kirk
a7b8e37e3b
Renamed DropDownTests -> ComboBoxTests.
7 years ago
Steven Kirk
53b71076d6
DropDown -> ComboBox.
Renamed `DropDown` to `ComboBox` to fit in with WPF/UWP.
7 years ago
OronDF343
d065568be9
Added MultiBinding.StringFormat + Relevant unit tests
7 years ago
Steven Kirk
a39c804e72
Added failing test for #2381 .
7 years ago
MonkAlex
235cc660fd
#1052 Rename TreeContainerIndex.Items to Containers
7 years ago
artyom
5e7a5b460c
Synchronize DataContext with ReactiveUI.IViewFor.ViewModel property
7 years ago
Dariusz Komosinski
6727bbe3df
Fix Skia rendering hairline width strokes when Pen thickness is 0.
7 years ago
Dariusz Komosinski
2c04c95a12
Expose SelectedItems property. Add more tests for edge cases failing for ListBox.
7 years ago
Steven Kirk
89d969b367
Added selector comma operator.
The comma selector can be used to separate a number different selectors, all of which will be applied to the control with an OR.
Fixes #1742
7 years ago
Dariusz Komosinski
85d309830a
TreeView multiple selection support.
7 years ago
Steven Kirk
e7e57d0e91
Fix text rendering where TextAlignment != Left.
The renderer was using the wrong bounds for text where `TextAlignment != Left` as seen in #1625 . To fix this, change `FormattedTextImpl.Size` to `Bounds`, which returns a rect that takes into account the text alignment and similarly change `FormattedText.Measure` to return a `Rect` instead of a `Size.
Fixes #1625 .
7 years ago
Steven Kirk
82b3bbcc6b
Added failing test for #1558 .
7 years ago
Steven Kirk
d37615bea8
Added failing test for #1898 .
Plus a couple of other empty binding path tests.
7 years ago
Steven Kirk
028d42c7b2
Add additional failing test for #2053 .
7 years ago
Steven Kirk
1d8bf77ab1
Added failing test for #2335 .
7 years ago
Steven Kirk
4a5e11f6aa
Fix keyboard interaction for ContextMenu.
7 years ago
Steven Kirk
f85995ed7e
Move design-time handling of events...
...to `Avalonia.Markup.Xaml`. Also added tests: tests required a new instance of `AvaloniaXamlSchemaContext` for each `AvaloniaXamlLoader` as otherwise one test can affect other tests.
7 years ago
Nikita Tsukanov
4af9b22c59
Introduced WeakEventHandlerManager
7 years ago
Steven Kirk
b32a10ceda
Update tests/Avalonia.Layout.UnitTests/LayoutManagerTests.cs
Co-Authored-By: donandren <donandren@gmail.com>
7 years ago
Steven Kirk
9b4bd8d621
Update tests/Avalonia.Layout.UnitTests/LayoutManagerTests.cs
Co-Authored-By: donandren <donandren@gmail.com>
7 years ago
Steven Kirk
260789c425
Update tests/Avalonia.Layout.UnitTests/LayoutManagerTests.cs
Co-Authored-By: donandren <donandren@gmail.com>
7 years ago
Steven Kirk
61be769d61
Update tests/Avalonia.Layout.UnitTests/LayoutManagerTests.cs
Co-Authored-By: donandren <donandren@gmail.com>
7 years ago
Steven Kirk
372f0f266e
Add another failing test relating to #1099 .
7 years ago
Andrey Kunchev
a4132890bf
add unit tests for layout queue
7 years ago
Steven Kirk
d991173296
Added tests for #2316 .
7 years ago
Andrey Kunchev
48ad6babda
improve test
7 years ago
Andrey Kunchev
d53dbe9416
add some more layout manager tests for potential issues with infinity loop and proper work
7 years ago
Steven Kirk
268e5ee549
Fix failing test.
7 years ago
Steven Kirk
131a4d90ef
Remove Avalonia.ISupportInitialize.
This is a relic from when we were targeting a PCL profile that didn't have `System.ComponentModel.ISupportInitialize`. Now that we have that, use it instead.
7 years ago
mstr2
039991da68
Fixed a bug where AddOwner would add a property to AvaloniaPropertyRegistry's property list more than once
7 years ago
Andrey Kunchev
870a2f365f
layoutmanager/listbox/vistualization/scroll issue unit test
7 years ago
artyom
6e4b9a23c2
Add unit tests for RoutedViewHost
7 years ago
mstr2
9d3fd84a7a
Fixes a bug where properties would be added multiple times to the global AvaloniaPropertyRegistry._properties list.
7 years ago
Nikita Tsukanov
c742fa42d2
[REMOTE] Skip unknown BSON properties
7 years ago
Steven Kirk
233adc9ca5
Added `:not()` style selector.
7 years ago
Steven Kirk
653fa458c1
Call InitializeComponent in RxUI activation tests.
To make sure activation works after loading XAML.
7 years ago
Steven Kirk
068acb6376
Added TopLevel.Opened unit tests.
7 years ago
Steven Kirk
fafa695257
Use recommended ContentControl pattern.
7 years ago
Steven Kirk
f75f85af2b
Fix order of inherited property changed events.
Previously `PropertyChanged` was raised on the child before the parent because the inherited value change was being notified by listening to the parent `PropertyChanged` event, and this event handler was added first.
Added an `InheritablePropertyChanged` event which will be called only after all other property changed events have been raised and only for inheritable properties.
7 years ago
Steven Kirk
302bf55b8a
Added failing tests for #1099 .
7 years ago
Steven Kirk
9501da85fa
Added failing tests for #2260 .
7 years ago
Steven Kirk
f3029d3346
Added failing test for #2203 .
7 years ago
Steven Kirk
d75af69307
Fix tests.
7 years ago
Steven Kirk
4ec2b1c554
Use PixelPoint and PixelRect for device points/rects.
The affected members are:
- `IWindowBaseImpl.Position`
- `IWindowBaseImpl.PositionChanged`
- `ITopLevelImpl.PointToClient`
- `ITopLevelImpl.PointToScreen`
- `IMouseDevice.Position`
- `Screen.Bounds`
- `Screen.WorkingArea`
7 years ago
Steven Kirk
38a3db18cb
Added IRenderer.SceneInvalidated event.
And use this event to trigger an update of the mouse pointer-over state.
7 years ago
Steven Kirk
6f02e832f8
Added failing test for buggy TreeViewItem expander.
A selector of type `Control /template/ Control:class` is returning `AlwaysThisInstance` instead of `Sometimes`.
7 years ago
Jumar Macato
440985a2b3
Add unit test for FillMode
7 years ago
Jeffrey Ye
3a28179704
return new string[0] from mock interfaces
7 years ago