robloo
a2a60fa031
Use newer convention for property get/set
4 years ago
robloo
cc7656eecb
Rename ContextMenu.PlacementMode to ContextMenu.Placement
4 years ago
robloo
2eb04c2719
Rename Popup.PlacementMode to Popup.Placement
4 years ago
robloo
dc52c0b66c
Match color model control height with the hex TextBox
4 years ago
affederaffe
b4b3b913f1
Use Tmds.DBus.SourceGenerator 0.0.3
4 years ago
Tom Deseyn
9a63f82421
Use latest Tmds.DBus.Protocol.
Version 0.14.0 reduces its external dependencies.
4 years ago
Max Katz
c0cf6deb24
Include Avalonia.Generators.props properly
4 years ago
Steven Kirk
ed7ee5cf39
Add Visual.GetTransformedBounds extension method.
Fixes #9569 .
4 years ago
Max Katz
2d58c4c215
Fix TS buikd
4 years ago
Max Katz
d19e3cd898
Add wasm and ios implementations
4 years ago
Benedikt Stebner
7b8f7dbfce
Normalize family names to upper case
4 years ago
Emmanuel Hansen
2d2fcf94ac
add async suffix
4 years ago
Emmanuel Hansen
16cb38f60d
add new IStorage api
4 years ago
Emmanuel Hansen
c276f6e1b3
add new IStorage api
4 years ago
Steven Kirk
f8eceb4af9
Update usages of ItemsControl Items/ItemsSource.
- Use `ItemsSource` when appropriate
- When `Items` is appropriate, don't use the setter
4 years ago
Max Katz
2fd5e6b9d9
Make browser GetItemsAsync trully async and lazy
4 years ago
Max Katz
6412da10cf
Update mobile impl
4 years ago
Max Katz
5968830296
Update API, samples and BCL impl
4 years ago
Steven Kirk
ddacc112ac
Throw if setting ItemsSource when Items present.
4 years ago
Steven Kirk
9856711494
Don't modify logical tree in ItemsSource mode.
4 years ago
Steven Kirk
2c56019d77
Update ItemsControl XML docs.
4 years ago
Steven Kirk
254d58da6a
Change type of ItemsView property.
It's a view so makes sense to expose the read-only view interface.
4 years ago
Steven Kirk
b917cc5a2e
Added some XML docs.
4 years ago
Benedikt Stebner
59b1ba6d46
Invariant family names
4 years ago
Tim
a76eb7f587
Add additional null check as Tip may be null in some situations
see https://github.com/AvaloniaUI/Avalonia/issues/10598
4 years ago
Steven Kirk
1143b335d6
Add nullable reference checking to X11Window.
4 years ago
Steven Kirk
0bbb66eeeb
Fix failing selection tests.
4 years ago
robloo
76e0e54a00
Restore ColorPicker flyout top placement
Default behavior was changed after https://github.com/AvaloniaUI/Avalonia/pull/10492
4 years ago
Steven Kirk
57c997bed7
Support multiple `InheritDataTypeFromItems`.
To allow binding both `ItemsControl.Items` and `ItemsSource` we need to support multiple `InheritDataTypeFromItems` attributes.
4 years ago
Steven Kirk
ba7e8a20b5
Added ItemsControl.ItemsSource.
`ItemsControl` now works more like WPF, in that there are separate `Items` and `ItemsSource` properties. For backwards compatibility `Items` can still be set, though the setter is deprecated. `Items` needed to be changed from `IEnumerable` to `IList` though.
4 years ago
Giuseppe Lippolis
8c01795ef8
fix: Warning CS0628 new protected member declared in sealed type
```bash
Warning CS0628 'DrawingGroup.DrawingGroupDrawingContext._rootDrawing': new protected member declared in sealed type Avalonia.Base (net6.0), Avalonia.Base (netstandard2.0) .\src\Avalonia.Base\Media\DrawingGroup.cs 120 Active
Warning CS0628 'DrawingGroup.DrawingGroupDrawingContext._currentDrawingGroup': new protected member declared in sealed type Avalonia.Base (net6.0), Avalonia.Base (netstandard2.0) .\src\Avalonia.Base\Media\DrawingGroup.cs 123 Active
```
4 years ago
Giuseppe Lippolis
3f306b48ab
fix(DrawingContext): CS0618 PushPreTransform(Matrix)' is obsolete: 'Use PushTransform'
```bash
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' Avalonia.Direct2D1.RenderTests, Avalonia.Skia.RenderTests .\tests\Avalonia.RenderTests\Media\ConicGradientBrushTests.cs 203 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' Avalonia.Direct2D1.RenderTests, Avalonia.Skia.RenderTests .\tests\Avalonia.RenderTests\Media\LinearGradientBrushTests.cs 98 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' Avalonia.Direct2D1.RenderTests, Avalonia.Skia.RenderTests .\tests\Avalonia.RenderTests\Media\RadialGradientBrushTests.cs 188 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' Avalonia.Direct2D1.RenderTests, Avalonia.Skia.RenderTests .\tests\Avalonia.RenderTests\Media\TextFormatting\TextLayoutTests.cs 315 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' Avalonia.Skia.UnitTests .\tests\Avalonia.Skia.UnitTests\Media\TextFormatting\TextFormatterTests.cs 795 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' ControlCatalog (netstandard2.0) .\samples\ControlCatalog\Pages\CustomDrawingExampleControl.cs 136 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' ControlCatalog (netstandard2.0) .\samples\ControlCatalog\Pages\CustomDrawingExampleControl.cs 140 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' ControlCatalog (netstandard2.0) .\samples\ControlCatalog\Pages\CustomDrawingExampleControl.cs 144 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' ControlCatalog (netstandard2.0) .\samples\ControlCatalog\Pages\CustomDrawingExampleControl.cs 146 Active
Warning CS0618 'DrawingContext.PushPostTransform(Matrix)' is obsolete: 'Use PushTransform' RenderDemo .\samples\RenderDemo\Pages\RenderTargetBitmapPage.cs 32 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' Avalonia.Base (net6.0), Avalonia.Base (netstandard2.0) .\src\Avalonia.Base\Media\DrawingGroup.cs 76 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' Avalonia.Direct2D1.RenderTests, Avalonia.Skia.RenderTests .\tests\Avalonia.RenderTests\Controls\CustomRenderTests.cs 91 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' Avalonia.Direct2D1.RenderTests, Avalonia.Skia.RenderTests .\tests\Avalonia.RenderTests\Controls\CustomRenderTests.cs 115 Active
```
4 years ago
Giuseppe Lippolis
02983e3c1e
fix: Misc XML Document issue
4 years ago
Benedikt Stebner
ef2a47bc95
Only try to create embedded font collection for valid assets location
4 years ago
Max Katz
2473bb8408
Fix some warnings
4 years ago
Max Katz
7452980c39
Move _lastKnownPosition
4 years ago
Max Katz
67f5201181
Fix tests
4 years ago
Tom Edwards
3b57b3496a
Added GenerateTypeSafeMetadata to property metadata
This method is used to strip coercion methods out of StyledPropertyMetadata when applying it to a new owner.
Also fixed AvaloniaProperty.(IPropertyInfo.CanSet) returning true for read-only properties
4 years ago
Benedikt Stebner
714f4a5b06
Correctly use transformed bounds
4 years ago
Benedikt Stebner
5ea3027f98
Do the same for Chinese IME
4 years ago
Benedikt Stebner
c5189bd6f6
Trz to fix Japanese IME
4 years ago
Tim
708c8a1c29
Add missing ClipToBounds for inner Grid
4 years ago
Dariusz Komosinski
d9d208b935
Add benchmark for Or selector and avoid extra virtual calls getting list count.
4 years ago
Julien Lebosquain
a97d61a1e9
Fix Generators build
4 years ago
Emmanuel Hansen
20746b3ee2
fix build
4 years ago
Emmanuel Hansen
8ada76c1b6
fix StorageFolder.GetItemsAsync on android
4 years ago
Emmanuel Hansen
34c1b46b30
Force app theme change when status bar theme changes on android.
4 years ago
Steven Kirk
21574f5607
Expose pre/post collection changed events.
Instead of implementing `ICollectionChangedListener` on `SelectionNodeBase`. We may want to expose this publicly at some point.
4 years ago
Daniil Pavliuchyk
ddb9669c11
Add ScrollBarAutomationPeer
4 years ago
Benedikt Stebner
c55747f328
Introduce ConfigureFonts AppBuilder action
Introduce WithInterFont extension method
4 years ago