Julien Lebosquain
5e13c5b59a
Implemented layout and render time graph overlays
3 years ago
Steven Kirk
0065a962ac
Move ItemsRepeater to separate assembly.
3 years ago
rabbitism
9ca156d6a6
fix: fix RadioButton empty GroupName behavior.
3 years ago
Max Katz
39f232dcff
Remove public setter where possible on events or replace with "init;"
3 years ago
Dmitry Zhelnin
65d8e46fa6
VirtualizingStackPanel: fix selection wrapping
3 years ago
Benedikt Stebner
07c11c75e7
Use IGlyphRunImpl in the IDrawingContextImpl
3 years ago
Julien Lebosquain
dec8c1c586
Used Memory/Span instead of CharacterBufferReference/Range
+ GlyphRun uses ReadOnlyMemory for characters
3 years ago
Steven Kirk
d0f479d80c
Don't recycle focused element.
Fixes #9269
3 years ago
Steven Kirk
a9fd9f4474
A few more tests.
Trying to get a repro for an issue seen with DataBox but so far unable to repro in a unit test. Anyway, these tests should be useful.
3 years ago
Simon Cropp
16ffe2f6f9
use default literal
3 years ago
Simon Cropp
fb37ab1e77
leverage GetRequiredService
3 years ago
Simon Cropp
dba476c11c
fix more typos
3 years ago
Simon
876fa08812
move to a consistent langversion of 11
3 years ago
daniel
21f6307c37
again
3 years ago
daniel
5f5f5ebc9b
try fix tests
3 years ago
daniel
4780567438
Don't reomve old content from logicaltree
3 years ago
Emmanuel Hansen
f61c7f6cd9
Revert "fix tests"
This reverts commit 584e18f78d29480890711b1149d946f61e0d8447.
3 years ago
Emmanuel Hansen
c804fa00cf
fix tests
3 years ago
Max Katz
8a78f134c5
Remove JetBrains.Annotations from the repo
3 years ago
Steven Kirk
fdc4a4c497
Added WindowClosingEventArgs.
Fixes #9524 .
3 years ago
Steven Kirk
58b404a3ab
Added failing test for #7974 .
3 years ago
Steven Kirk
17f7541fdd
Fix selection in combination with move.
3 years ago
Steven Kirk
039fb905ad
Handle item move and replace.
3 years ago
Steven Kirk
c55b7a9000
Correctly handle control items being removed.
3 years ago
Steven Kirk
9781a13256
Remove Smooth suffix.
`VirtualizingStackPanel` only does smooth scrolling now.
3 years ago
Steven Kirk
518391b37d
Make ItemsSourceView ctors private.
So in future we could have different `ItemSourceView` concrete implementations that e.g. have an inner `IReadOnlyList<T>` in order to address #8764 .
3 years ago
Steven Kirk
f0c89a614e
Reimplemented Carousel.
Only `VirtualizingCarouselPanel` currently implemented.
3 years ago
Benedikt Stebner
895d85aa89
Implement CharacterBufferReference and related classes
3 years ago
Steven Kirk
c99307c6fa
Use more consistent naming.
3 years ago
Steven Kirk
6f04196b84
Made TreeView work again and tests pass.
3 years ago
Steven Kirk
a7a71034b0
Remove unneeded tests.
3 years ago
Steven Kirk
000f393be7
Refresh containers when relevant property changes.
When `ItemsControl.DisplayMemberBinding` or `ItemTemplate` changes, refresh the containers.
3 years ago
Steven Kirk
004103a925
Reimplement DisplayMemberBinding.
Use a slightly different approach to the one that was previously there: create an item template that contains `DisplayMemberBinding`. This is the approach that WPF broadly uses too.
3 years ago
Steven Kirk
7e1068f441
Fix test.
3 years ago
Steven Kirk
c1ee26c05a
Fixed SelectingItemsControlTests.
`ListBox` now needs a root as it uses a `VirtualizingStackPanel`.
3 years ago
Steven Kirk
fab8f15213
Make a few more tests pass.
3 years ago
Steven Kirk
1101f28dd7
Refactored ItemContainerGenerator.
A bunch of tests still failing, and some code commented out, but outlines the new API shape.
3 years ago
Steven Kirk
5d1f9f4a0f
Removed VirtualizationMode.
If you want a different virtualization mode, use a different panel.
3 years ago
Steven Kirk
c20e3c29e6
Initial (re)impl of VirtualizingStackPanel.
Currently only supports smooth scrolling.
3 years ago
Steven Kirk
692c0c155d
Begin refactoring ItemsPresenter.
A lot still broken, in particular virtualization is completely removed.`ItemsPresenter` now no longer has an `Items` or `ItemTemplate` property; it detects when it's hosted in an `ItemsControl`. `IItemsPresenter` interface removed.
3 years ago
Glen Nicol
2a5dceecbb
Feature: Double click expand/collapse treeview and numpad keyboard shortcuts
3 years ago
Daniil Pavliuchyk
80e1e1eb4c
Disabled controls should lose focus and don't accept keyboard events
3 years ago
robloo
932d52dcf3
Standardize Default members in Size
3 years ago
robloo
3fc6a51571
Remove Rect.Default
3 years ago
daniel mayost
aa31daecde
Move FlowDirectionTests to Avalonia.Base.Tests
3 years ago
daniel mayost
4fae1b6e7a
Move FlewDirection to Visual and fix tests
3 years ago
Max Katz
526d9d052b
Avalonia.Base and controls related project trimming attributes
3 years ago
robloo
509ebddcc4
Standardize Default member in Rect
3 years ago
Dan Walmsley
1af7eb6f3a
fix window showdialog, and show raising exceptions when incorrect behavior is used.
3 years ago
Dan Walmsley
7d6932bd5e
add failing unit tests.
3 years ago