robloo
6e31cb7524
Fix more zero size checks using Rect
4 years ago
robloo
043e35b6fd
Remove unused using
4 years ago
robloo
8fa365c08e
Fix PlacementMode property order
4 years ago
robloo
32886d717c
Revert "Attempt to fix CI build failure"
This reverts commit b116a870b1 .
4 years ago
robloo
b116a870b1
Attempt to fix CI build failure
4 years ago
robloo
945799adc0
Fix zero size check on Rect
4 years ago
robloo
65024d8b71
Remove IsDefault from FontFamily
This property wasn't used so didn't need to be made internal.
4 years ago
robloo
072e0613bb
Remove the IsDefault property
These was only removed for relevant/discussed types
4 years ago
robloo
de4d2390d3
Remove IsEmpty and Empty members
These were only removed for relevant/discussed types. Collections and some other lesser used types still have IsEmpty properties.
4 years ago
robloo
2b33704989
Add back PlacementMode properties as obsolete aliases of Placement
4 years ago
robloo
c636dc5f66
Update for latest master changes
4 years ago
affederaffe
c0bddf8fe7
Use Tmds.DBus.SourceGenerator 0.0.4
4 years ago
Tom Edwards
3e87a344e3
Use SetCurrentValue and StringBuilder in TextBoxTextInputMethodClient
4 years ago
Tom Edwards
baf926bdfc
Review comment
4 years ago
Tom Edwards
38516e3768
Fixed metadata overrides not being able to add coercion to a property which didn't already have it
4 years ago
Tom Edwards
86324dca77
Convert Text properties to StyledProperty
4 years ago
robloo
46fc6ff99c
Fix Menu Popup placement
4 years ago
robloo
6f523e1414
Inherit some ContextMenu property docs from Popup
4 years ago
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