susloparov
8704235b66
Added test for GridSplitter
10 years ago
susloparov
2e813c867d
Removed Orientation Property from GridSplitter
It's possible to unambiguously detect orientation based on
Column/RowDefenitions or other elements.
10 years ago
Dan Walmsley
ed05f842c0
Corrected order of Assert arguments.
10 years ago
Dan Walmsley
d3f4dacdbc
whitespace
10 years ago
Dan Walmsley
9a0fead203
Added unit test to assert new behavior.
10 years ago
Dan Walmsley
f3d2520f6c
Fix ItemsControl tests.
10 years ago
Dan Walmsley
a5a59c3e8c
Updated ItemsControl test for new behaviour.
10 years ago
danwalmsley
e53cbd13f9
Added failing unit test for Carousel
10 years ago
Steven Kirk
b28fffc3f8
Coerce TextBox.CaretIndex when setting Text.
Fixes #728 .
10 years ago
Steven Kirk
59c49d259d
Renamed assembly SceneGraph -> Visuals.
To make way for low-level scene graph library.
10 years ago
Steven Kirk
85f07274d4
Fixed failing test.
10 years ago
Steven Kirk
1b4ebf5b1d
Renamed AsBinding -> ToBinding.
10 years ago
Steven Kirk
7067fa0146
Cross-axis scrolling for virtualized lists.
There are still a few bugs around scrollbar behavior, and maybe Grid. To
see them, add a long item in the middle of VirtualizationTest's items,
resize the window to require a scrollbar and scroll up and down.
10 years ago
AndrewSt
7872b6e2bf
Fix typo in TextBoxTest.cs
10 years ago
AndrewSt
fc6115735e
Add unit test check Ctrl+A, Ctrl+Z
10 years ago
Steven Kirk
ca17c50bf4
Treat warnings as errors.
In Release build in main Avalonia assemblies (couldn't do it in
Avalonia.Markup.Xaml due to warnings in OmniXaml). To do this, fixed a
number of warnings.
10 years ago
Steven Kirk
6afa000c42
Added a render loop.
Rather than repainting whenever, this adds a render loop which is called
N times per second. IRenderQueueManager and ITopLevelRenderer have been
removed, replaced by IRenderer.
10 years ago
Steven Kirk
6e7fb76966
Allow movement to after last char with arrow keys.
Fixes #716 .
10 years ago
Steven Kirk
4abd223f86
Fixed up existing TextBox tests.
Some tests were leaking services.
10 years ago
Steven Kirk
df2f685ec8
Set canvas property default values to NaN.
And add unit tests. Fixes #704 .
10 years ago
Jeremy Koritzinsky
1ae9b07764
Updated AppBuilder and added a documentation block about Avalonia Modules.
10 years ago
Steven Kirk
b61adbfd64
Detach PopupRoot from logical tree...
When parent `Popup` is detached. Together with previous comit also fixes
#706 .
10 years ago
Steven Kirk
a0e880581e
Use ContentControl in DropDown template.
Instead of `ContentPresenter`. This fixes a memory leak whereby
`DropDown` wasn't correctly parenting the `Rectangle` created for
`SelectionBoxItem` when the selected item is a control. Fixes #706 .
10 years ago
Jeremy Koritzinsky
89f762f1ec
Added scoping on the AppBuilder tests to limit the scope of the service initialization.
10 years ago
Jeremy Koritzinsky
1429c4dd95
Fixed failing tests.
10 years ago
Jeremy Koritzinsky
9a18ef0afa
Added support for auto-loading "Avalonia modules", which are classes that are auto-initialized via the instance constructor.
10 years ago
Steven Kirk
55d76d6cb9
Make sure panel is remeasured after add/remove.
After items are added or removed then the virtualizing panel must be
remeasured. It's usually not remeasured if the available size is the
same as on the last measure as that causes an infinite loop; this adds a
`ForceInvalidateMeasure` to `IVirtualizingPanel` which will force a
remeasure even if the available size hasn't changed. Also adds tests for
the behavior.
10 years ago
Steven Kirk
03eb617d37
Added failing test for #709 .
10 years ago
Steven Kirk
3c59935a44
Added missing [Fact] attribute.
10 years ago
Wiesław Šoltés
9cdcf6cb02
Revert "Updated projects and packages"
This reverts commit 7cca79b435 .
10 years ago
Nikita Tsukanov
8ee9d17ff6
Fixed some focus issues
10 years ago
Steven Kirk
41ba3b7782
Started adding TextBox error adornments.
10 years ago
Steven Kirk
a222fa9b0c
Don't modify text due to binding when typing.
If a TextBox is e.g. bound to an int and the user types "02" then the
TextBox text should be "02" - not the value that comes back from the
binding which will be "2".
10 years ago
Steven Kirk
941246e75c
Started to implement data validation on TextBox.
Not working still - added a failing test to demonstrate it.
10 years ago
Wiesław Šoltés
7cca79b435
Updated projects and packages
10 years ago
Steven Kirk
5a9371f786
Pass EnableDataValidation to ExpressionObserver.
10 years ago
Steven Kirk
4906a472b0
Reimplemented data validation using BindingNotifications.
10 years ago
yusuf-gunaydin
f86d90613b
Implemented Ctrl+Backspace and Ctrl+Delete for TextBox.
Fixes #609
10 years ago
Steven Kirk
7b23b6eab5
Moved test to correct file.
10 years ago
donandren
1ed45e8d43
added failing unit test related to #651 for RemoveRange from items
10 years ago
donandren
cd3d002cc9
added failing unit test for #651
10 years ago
Steven Kirk
209713e820
Moved tests to correct place.
@donandren correctly identified a problem with the `ItemsPresenter` but
he put the tests in the `ListBox` tests. Moved them to the correct
place. Also tweak formatting in `ItemContainerGenerator.InsertSpace`.
10 years ago
donandren
af8fbba51b
added failing unit test for ItemsPresenter
10 years ago
donandren
a3552bc20a
added another failing unit test for Listbox items not in sync with the bound collection
10 years ago
donandren
f764d46674
added failing unit test for issue #637 : ListBox not in sync with items after inserted/removed from items
10 years ago
Wiesław Šoltés
7282744b70
Removed outdated binding redirects and app.config
10 years ago
Steven Kirk
0bf9404e00
Deafult ItemsPresenter virtualization to None
And override it in ListBox. This prevents ItemsPresenter thinking it's virtualized in a TreeView. Fixes #610 .
10 years ago
Steven Kirk
b74c0d316b
Fix off-by-one error in ItemContainerGenerator
Fixes #604 .
10 years ago
Steven Kirk
6eaa5b74dc
Test has been refactored into 2 tests.
Removed test that has been refactored into 2 separate tests. Thanks
@donandren for finding those bugs!
10 years ago
Steven Kirk
1c88b3bd85
Fix scrolling to item when size == 0,0
When virtualized presenter size == 0,0 no containers will be
materialized so no container will be found.
Fixes #591 .
10 years ago