Maksym Katsydan
3c444dc279
Fix MenuItem:pressed state
6 years ago
Dan Walmsley
308e72e7ec
convert D0 to D9 to 0 to 9 string.
6 years ago
Dan Walmsley
297ed15bb5
fix sizetocontent on win32.
6 years ago
Dan Walmsley
0148106f54
Seperate RenderScaling from DesktopScaling.
6 years ago
Dan Walmsley
8c331534a9
fix nre on osx when tooltip closes.
6 years ago
Benedikt Schroeder
c5edf9bc5d
Initial
6 years ago
Lorenzo Delana
2ede354bbc
fix X11 XDestroyWindow crash
6 years ago
Benedikt Schroeder
09099c1234
Fix text wrapping for fluent TextBox
6 years ago
Dariusz Komosinski
50925b988e
Use is check.
6 years ago
Dariusz Komosinski
c414e26cf6
Ensure that TryParse won't throw.
6 years ago
José Pedro
05154391fb
Fixed item type inference in compiled bindings.
6 years ago
Benedikt Stebner
718a50ccd8
Fix FillBuffer
6 years ago
Benedikt Stebner
a6c0968218
Correctly check for text.Length
6 years ago
Nikita Tsukanov
835aed07a5
Whoopsie
6 years ago
Nikita Tsukanov
6c89473ca1
Fixed tests
6 years ago
Benedikt Stebner
b9491b211f
Correctly compare against text.Length
6 years ago
Nikita Tsukanov
d355007c57
Extracted runtime XAML loader to a separate package
6 years ago
José Pedro
856118f21c
Use TextBox text alignment and wrapping in watermark.
6 years ago
Benedikt Schroeder
453222d8de
Fix some comments
6 years ago
FoggyFinder
e042266678
add some properties to `AffectsRender` list
6 years ago
Steven Kirk
125ae96859
Handle selected items being removed.
Fixes #4293 .
6 years ago
Steven Kirk
41831066c2
Revert "Fix selection after deleting an item."
6 years ago
FoggyFinder
5bce867f52
additional check for presenter
6 years ago
Dan Walmsley
d7d63e26c4
remove chinese comments.
6 years ago
Dan Walmsley
3449784b09
add fixes for relative panel
6 years ago
Nikita Tsukanov
6e106fb9e7
[Win32] only steal input focus if it's currently held by Popup's parent's child
6 years ago
Przemysław Onak
8916fda98d
Force recalculation of column width after edit is completed
6 years ago
Dan Walmsley
a542d8753d
ensure tooltips are closed when its parent detaches from visual tree.
6 years ago
FoggyFinder
62fd036d55
small adjustment to avoid IndexOutOfRangeException
6 years ago
Benedikt Schroeder
e87697f901
Allow combining TextTrimming and TextWrapping
6 years ago
Steven Kirk
6555a51f5a
Fix selection after deleting an item.
`SelectionModel` needs to subscribe to `CollectionChanged` on the items before `ItemsControl` in order for the selection to be correct when we come to setting the selected state.
Because `SelectionModel.Source` isn't subscribed during initialization in `ItemsChanged`, we also need to make sure we don't subscribe `ItemsControl` to the collection changes during initialization. Instead subscribe in `OnInitialized` (this requires a few tests to be rooted in order to be called).
Fixes #4293
6 years ago
Dan Walmsley
f1eae6ce12
correctly cast to IDataContextProvider.
6 years ago
Dan Walmsley
3fb97afa6d
make toggle switch use verticalcontentalignment center by default.
6 years ago
Dan Walmsley
0001578f0c
remove regions.
6 years ago
Dan Walmsley
70c71263ae
fix nullable implementation.
6 years ago
Dan Walmsley
cdd8df383e
make utility methods internal.
6 years ago
Dan Walmsley
0c365b837d
fix relativepanel
6 years ago
FoggyFinder
1c8541c060
fix typo & add missing attribute
6 years ago
Rustam Sayfutdinov
c96f328d06
Fix typo in PointerReleasedEventMessage
6 years ago
Dan Walmsley
fca777bf91
fixes for relativepanel
6 years ago
Steven Kirk
68792668ad
Make items be materialized only once.
When virtualization was turned off in an `ItemsControl`, items were virtualized twice. on control creation. Fix that.
6 years ago
Steven Kirk
a8b7e87938
Added IRecyclingDataTemplate.
In #4218 we imported `IElementFactory` from WinUI which is broadly analogous to a recycling datatemplate for lists. In Avalonia this implement `IDataTemplate` in order to have a common base class for all types of data templates.
The problem with this is that `IDataTemplate` already had a `SupportsRecycling` property which is incompatible with the way recycling is implemented in `IElementFactory`. Instead, introduce an `IRecyclingDataTemplate` to signal data templates that support recycling.
6 years ago
Nikita Tsukanov
efd5bbeaa9
Added an incantation nobody probably even remembers about anymore
6 years ago
Nikita Tsukanov
9309d779c7
Call SetWaitNotificationRequired
6 years ago
Nikita Tsukanov
1ae7500691
Fix X11 screens implementation for some old/weird setups
6 years ago
Dariusz Komosinski
5d8f54ac42
Fix hardcoded thumb min length.
6 years ago
Dariusz Komosinski
1d94f80f7f
Dispose window framebuffers.
6 years ago
Dariusz Komosinski
af8acfce0d
Prevent crashes caused by null locked framebuffer.
6 years ago
Benedikt Schroeder
0555f218d3
Remove obsolete SkiaSharp members
6 years ago
Dan Walmsley
09a58d0c14
realtive panel no longer cares about the declaration order. and measures to the largest child when not stretched.
6 years ago