Steven Kirk
d0e2a844db
Removed unused owner reference.
6 years ago
Steven Kirk
00c1c35125
Go direct to property store.
To avoid a call to `VerifyAccess` (which shows up when profiling).
6 years ago
Steven Kirk
afce4460dd
Removed useless default values.
There's already an overload without the parameter.
6 years ago
Steven Kirk
685f3f7b6e
Fix typos.
6 years ago
Steven Kirk
5805eaf0f9
Fix compile errors after merge with master.
Due to `OnPropertyChanged` signature changing on branch.
6 years ago
Steven Kirk
9de65221e2
Merge branch 'master' into refactor/value-store
6 years ago
Steven Kirk
155e9d4bbd
Merge pull request #3424 from AvaloniaUI/port/items-repeater
Port ItemsRepeater changes from WinUI
6 years ago
Steven Kirk
ef42e9350d
Add doc comment for NonVirtualizingLayoutContext.
6 years ago
Steven Kirk
155915134e
Use correct context type.
6 years ago
Steven Kirk
9a0be51f46
Merge branch 'master' into port/items-repeater
6 years ago
Steven Kirk
c6e6ad5678
Fix bug with UniformGridLayout MaximumRowsOrColumns and requested size
Ported from 007ab33a66
6 years ago
Steven Kirk
0236ced64f
Fix ItemsRepeater overwriting DataContext
Ported from 0e24e05dbd
6 years ago
Steven Kirk
bb7276d568
Extend the fix for Recycling the focused element to non virtualized l…
…ayouts
* Ensure that we set the m_processingItesmSourceChange flag for non-virtualizing layouts as well as virtualizing ones.
Ported from cc335ac391
6 years ago
Steven Kirk
09297dbb08
Fix repeater holding onto elements
If a consumer changes the ItemsSource with a non recycling layout then the items from the old source would be perpetually held by repeater, a potentially substantial leak.
Ported from e158eec3e9
6 years ago
Steven Kirk
1f46076f16
Use NonVirtualizingLayoutContext.
- Add and use `NonVirtualizingLayoutContext` in `NonVirtualizingLayout`
- Return -1 instead of throwing if element is not a child of `ItemsRepeater`
Ported from 22adf4dc62
6 years ago
Steven Kirk
261e477522
ItemsRepeater fix.
* Remove item from repeater children if there is no itemtemplate when being recycled.
Ported from c4d4d9995a
6 years ago
Steven Kirk
55275e09de
Fix stack layout arrange when items use stretch and final size is mor…
…e than desired size.
Ported from f37ebd5bb2
6 years ago
Steven Kirk
36fdb8e534
Add a MaximumRowsOrColumns to Uniformgridlayout
* Add a MaximumRowsOrColumns property to UniformGridLayout
* Fix nit
* Fix bugs
Ported from 6bd03c98f7 ?w=1
6 years ago
Steven Kirk
4cca4f0e4c
update to repeater to allow passing in uielements in itemssource
* minor update to repeater to allow passing in uielements in itemssource
* minor fixes
Ported from 95d5ff0076
6 years ago
Steven Kirk
3d3ef68d4b
Merge pull request #3378 from AvaloniaUI/feature/drawing-image
Display Drawings in Image control
6 years ago
Jumar Macato
a71b3ba70a
Merge branch 'master' into feature/drawing-image
6 years ago
Jumar Macato
08c9710ad1
Merge pull request #3347 from macpawluk/issues/immediate-renderer
Fix for issue #3344 - ImmediateRenderer trimming content
6 years ago
Steven Kirk
fea0d76a5e
Merge branch 'master' into issues/immediate-renderer
6 years ago
danwalmsley
d9bf203c5f
Merge pull request #3409 from AvaloniaUI/fixes/osx-black-corners
fixes the black window corners on OSX.
6 years ago
Dan Walmsley
3338215946
fixes the black window corners on OSX.
6 years ago
Steven Kirk
b8ff41dea5
Merge pull request #3405 from JaggerJo/remove-script-not-needed-anymore
Delete 'avalonia-rename.ps1' Script
6 years ago
Josua Jäger
cab67d680d
Delete avalonia-rename.ps1
Looks like the script is not needed anymore. I was initially searching for a script to build all Nuget Packages. Removing scripts that are no longer needed / up to date seems like a good idea.
6 years ago
Jumar Macato
9c3fd08a1b
Merge pull request #3391 from jp2masa/update-obsolete-api-usages
Fixed PlatformHotkeyConfiguration obsolete API usage
6 years ago
Dariusz Komosiński
c8b0087a01
Merge branch 'master' into update-obsolete-api-usages
6 years ago
Nikita Tsukanov
7ee96105a6
Merge pull request #3398 from yahiheb/duplicate-link
Remove duplicate link (mentioned below)
6 years ago
Jumar Macato
37e541e925
Merge branch 'master' into duplicate-link
6 years ago
Jumar Macato
91af53a527
Merge pull request #3397 from yahiheb/typo
Fix typo
6 years ago
Yahia Chiheb
7db73dfa95
Remove duplicate link (mentioned below)
6 years ago
Yahia Chiheb
d50f33e912
Fix typo
6 years ago
José Pedro
11b1ec2ded
Fixed PlatformHotkeyConfiguration obsolete API usage.
6 years ago
Steven Kirk
db76f0496c
Merge branch 'master' into feature/drawing-image
6 years ago
Steven Kirk
580697b25d
Make DrawingPresenter obsolete.
6 years ago
Benedikt Stebner
4340831f29
Merge pull request #3377 from donandren/issues/3376
Fixes font fallback when non default weight/style used
6 years ago
Steven Kirk
de31680253
Make D2D backend match Skia.
Skia doesn't support getting DPI from loaded bitmaps and always returns 96. Do the same in D2D.
6 years ago
Steven Kirk
37d00781cb
Invalidate DrawingImage when Drawing changed.
And add some XML docs.
6 years ago
Steven Kirk
dbe4301d36
Sanitize image drawing API.
- Remove opacity parameter - should push an opacity instead
- Add a WPF-compatible overload of `DrawImage` to `DrawingContext`
6 years ago
Andrey Kunchev
c64cc71c6c
fix fontfallback for font with some styles like bold/italic etc.
6 years ago
Andrey Kunchev
dd864dd5c9
add a test for same situation for direct2d
6 years ago
Andrey Kunchev
44fa2152bd
add failing test for #3376
6 years ago
Steven Kirk
fd08fdc820
Update ControlCatalog image page.
To display `DrawingImage`.
6 years ago
Steven Kirk
11a714dbf7
Use Size not PixelSize in ImageTests.
`Image` now bases the size of a bitmap on `IImage.Size`.
6 years ago
Steven Kirk
6bd9ca8fa3
Initial implementation of DrawingImage.
6 years ago
Steven Kirk
a8e75384b7
Added IImage interface.
`IImage` represents a base interface for raster and vector images. `IBitmap` now implements this interface and `DrawingContext` accepts this interface in `DrawImage`.
The interface defines a `Draw` method which introduces a level of indirection for drawing the image through the image itself.
Renamed `IDrawingContextImpl.DrawImage` to `DrawBitmap` as this only handles drawing bitmap images. `Bitmap` now calls this method directly on the platform implementation.
6 years ago
Jumar Macato
e822c24282
Merge pull request #3373 from AvaloniaUI/fixes/3371-image-sizing
Added Image.StretchDirection and fix Image measurement
6 years ago
Steven Kirk
4d8266df9c
Port Image sizing algorithm from WPF.
Fixes #3371
Fixes #2380
6 years ago