robloo
31a1e514fa
Improve ColorPreviewer margins with drop shadow
This sets ClipToBounds to false for the control which allows the drop shadow to fully draw above/below the control itself. Doing this removes the need to adjust margins in almost all places. This is a big simplification to margin calculation and removes strange negative values.
3 years ago
rabbitism
6b56d44022
feat: add combobox samples.
3 years ago
robloo
9d76cdd3dd
Rename incorrect `Color.ToUint32` to `ToUInt32`
3 years ago
Max Katz
bc79b388b5
Use ImmediateDrawingContext in the ICustomDrawOperation interface
3 years ago
Steven Kirk
bdbc0344dc
Enable source generators in Sandbox.
3 years ago
Max Katz
a09c182e89
Implement SystemAccentColors backed by the actual system values
3 years ago
Steven Kirk
576014db05
Improve slider integration tests.
They are now failing due to #11015 .
3 years ago
Max Katz
d3fb8dee89
Build fixes
3 years ago
Max Katz
e909bdb005
Fix some other AVP warnings
3 years ago
Max Katz
80ad07ddff
Fix build
3 years ago
Nikita Tsukanov
cf28998a46
Bitmap effects support
3 years ago
Emmanuel Hansen
b95feeb0af
fix nullable warnings
3 years ago
Emmanuel Hansen
d203c1b386
add safe area demo
3 years ago
Steven Kirk
27f103025a
Fix nullable errors.
3 years ago
Steven Kirk
36444706c1
Added a playground page to virtualization demo.
For testing selection, collection changes and scroll into view etc.
3 years ago
Steven Kirk
35d70577f4
Added repro for #10367 to virtualization demo.
3 years ago
Steven Kirk
5e961ff7bf
Started rewriting VirtualizationDemo.
To give some more realistic examples of lists to test virtualization on. Started with a chatgpt-generated chat.
3 years ago
Emmanuel Hansen
904be53ffa
merge scroll viewer samples
3 years ago
Steven Kirk
22f266f994
ItemsRepeater.Items -> ItemsSource.
3 years ago
Steven Kirk
027bd2313a
AutoCompleteBox.Items -> ItemsSource.
3 years ago
Steven Kirk
2b2eb8261a
DataGrid.Items -> ItemsSource.
3 years ago
Steven Kirk
996578f2bf
Remove all remaining uses of Items setter.
3 years ago
Emmanuel Hansen
04c8b652c8
move clipboard to TopLevel
3 years ago
Emmanuel Hansen
7c460a9bcb
add system bar color attached property
3 years ago
Nikita Tsukanov
371251d58c
Review comments
3 years ago
robloo
849d801429
Add custom ColorSliderThumbTheme to the sample page
This theme makes the thumb larger than the track
3 years ago
Max Katz
9dba61d56d
Minor improvements of clipboard page demo
3 years ago
Nikita Tsukanov
bc3768c2a0
More platforms are now using IDispatcherImpl
3 years ago
robloo
a0224876ab
Use SetCurrentValue to fix HamburgerMenu bug #10537
3 years ago
robloo
2eb04c2719
Rename Popup.PlacementMode to Popup.Placement
3 years ago
Steven Kirk
9845dfadef
Add system decorations and extend client area opts
3 years ago
Emmanuel Hansen
16cb38f60d
add new IStorage api
3 years ago
Emmanuel Hansen
c276f6e1b3
add new IStorage api
3 years ago
Giuseppe Lippolis
7f9cbb6aed
fix(DevTools): Debug Application without ApplicationLifetime
3 years ago
Steven Kirk
f8eceb4af9
Update usages of ItemsControl Items/ItemsSource.
- Use `ItemsSource` when appropriate
- When `Items` is appropriate, don't use the setter
3 years ago
Steven Kirk
b9171f32f2
Fix compile error.
3 years ago
Giuseppe Lippolis
ad220a6af6
fix: CS0618 'DataFormats.FileNames' is obsolete: 'Use DataFormats.Files
Warning CS0618 'DataFormats.FileNames' is obsolete: 'Use DataFormats.Files, this format is supported only on desktop platforms.' ControlCatalog (net6.0), ControlCatalog (netstandard2.0) .\samples\ControlCatalog\Pages\ClipboardPage.xaml.cs 69 Active
Warning CS0618 'DataFormats.FileNames' is obsolete: 'Use DataFormats.Files, this format is supported only on desktop platforms.' ControlCatalog (net6.0), ControlCatalog (netstandard2.0) .\samples\ControlCatalog\Pages\ClipboardPage.xaml.cs 78 Active
3 years ago
Max Katz
5968830296
Update API, samples and BCL impl
3 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.
3 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
```
3 years ago
tkefauver
87e0ff2a51
Flyout sample label fix
3 years ago
Dan Walmsley
4d343293c8
fix test on windows.
3 years ago
Dan Walmsley
ac9b06ef66
make integration tests intel compatible
3 years ago
Steven Kirk
16efee95ca
Disambiguate ShowWindowTest controls.
Under the appium-mac2-driver, `FindElementByAccessibilityId` doesn't actually find elements by their accessibility ID, it also finds them by their accessibility name. Since #10531 added an automation peer for `Label` which sets the accessibility name, the wrong control was being located (e.g. it located the "Position" label instead of the `Name="Position"` text box).
Disambiguate these controls by adding a `Current` prefix to make integration tests pass again.
3 years ago
Emmanuel Hansen
34c1b46b30
Force app theme change when status bar theme changes on android.
3 years ago
Daniil Pavliuchyk
ddb9669c11
Add ScrollBarAutomationPeer
3 years ago
Benedikt Stebner
c55747f328
Introduce ConfigureFonts AppBuilder action
Introduce WithInterFont extension method
3 years ago
Max Katz
a28aa6e04a
Update control catalog to support insets samples
3 years ago
Dan Walmsley
c9aed1386d
update the test app to show the size that measure was called with on window content.
3 years ago
Benedikt Stebner
7786a00623
Add Inter font reference to all samples
3 years ago