Steven Kirk
db954bfd0e
Formatted NumericUpDown ControlTheme.
4 years ago
Steven Kirk
f82541a90d
Tweaked NotificationCard ControlTheme.
4 years ago
Steven Kirk
800967c627
Formatted Menu/FlyoutPresenter ControlTheme.
4 years ago
Steven Kirk
901026a187
Formatted ListBox/Item ControlTheme.
4 years ago
Steven Kirk
4d73e2b3a9
Formatted Label ControlTheme.
4 years ago
Steven Kirk
c246d76a20
Formated ItemsControl ControlTheme.
4 years ago
Steven Kirk
4f3fafc9df
Tweaked Expander ControlTheme.
And added "Rounded" option to ControlCatalog for testing.
4 years ago
Steven Kirk
6f797a9c56
Tidied up EmbeddableControlRoot ControlTheme.
4 years ago
Steven Kirk
ebe9d6b086
Tidied up DropDownButton ControlTheme.
4 years ago
Steven Kirk
e89060fbc3
Formatted DataValidationErrors ControlTheme.
4 years ago
Steven Kirk
100978a5bf
Formatted ContentControl ControlTheme.
4 years ago
Steven Kirk
47215816a2
Validated ComboBox/Item ControlTheme.
4 years ago
Steven Kirk
ddbc9fbfca
Tweaked CheckBox ControlTheme.
4 years ago
Steven Kirk
c15837b743
Ported ButtonSpinner to ControlTheme.
4 years ago
Steven Kirk
576a8b897c
Fix Button/ToggleButton transitions.
4 years ago
Steven Kirk
9d0132dc24
Remove unneeded normal state.
4 years ago
Steven Kirk
052cf699d0
Ported ScrollBar to ControlTheme.
4 years ago
Steven Kirk
59c58e5672
Don't set Foreground in PathIcon theme.
It is more useful if this property inherits by default.
4 years ago
Steven Kirk
f57c0ffbec
Added ItemContainerTheme property.
Otherwise there's no easy way to apply themes to item containers.
4 years ago
Steven Kirk
afe3486e9f
Remove trailing /template/ selectors.
4 years ago
Steven Kirk
2b3608078e
WIP: Porting fluent theme to use control themes.
Co-Authored-By: Takoooooo <tako0qq@gmail.com>
4 years ago
Steven Kirk
002377044a
Disallow selectors with trailing /template/.
It's an invalid selector: what does `Button /template/` select?
4 years ago
Dan Walmsley
45ae4221dc
correct spelling.
4 years ago
Dan Walmsley
b7a3bce6f9
fix compiler warning.
4 years ago
Dan Walmsley
84a4de5c07
make splitview not culture sensitive.
4 years ago
Dan Walmsley
c034525d29
win32, keep window size at all scale settings when entering and exiting fs mode.
4 years ago
Steven Kirk
a341c33b55
Revert "Fix parent selectors with /template/ at end."
This reverts commit e50b416d5b as it was not functioning correctly.
4 years ago
Steven Kirk
030c956e31
Revert "Make MovePreviousOrParent internal as well."
This reverts commit 5e1f28f2a9 .
4 years ago
Max Katz
daa071e1f9
Add base PickerOptions + some formatting
4 years ago
Luis von der Eltz
c7b65512bd
Some QOL for DevTools navigate feature
4 years ago
Steven Kirk
4d23058c9b
Don't run an unnecessary batch update.
If there are no styles to detach, there's no reason to run a batch update.
4 years ago
Steven Kirk
259c2d8020
Remove check for invalid state.
This state is not actually invalid: it can happen when running an empty batch update of >1 value which causes new, empty batch update to run in a `PropertyChanged` handler triggered from the first batch update.
4 years ago
Max Katz
49aad04861
Apply target's TemplatedParent to a Flyout and Tooltip, when it's opened ( #8412 )
* Apply target's TemplatedParent to a Flyout and Tooltip, when it's opened
* Add flyout and tooltip leak tests
* Fix Flyout_Is_Freed
4 years ago
Lobster Uberlord
37a1a5553d
Use Marshal.AllocHGlobal to allocate frame buffer
4 years ago
Steven Kirk
f385cc12f1
Remove debug/unused code.
4 years ago
Benedikt Stebner
5dc768aa13
Add some xml comments
4 years ago
Benedikt Stebner
1408e52199
Add IAddChild support
4 years ago
Max Katz
6c2b145189
Remove DottedLineFocusAdorner
4 years ago
Max Katz
0e78f8afda
Pen support for Browser backend
4 years ago
Max Katz
5000a4ffe3
Do not enable MouseInPointerEnabled automatically and remove EnableWmPointerEvents option
4 years ago
Max Katz
1c8b26bcde
Fix YTilt
4 years ago
Max Katz
17562c16bd
Fixes after review
4 years ago
Steven Kirk
cfe572f30b
Remove node from parent when reparented.
When a control was move from one parent container to another, and that move caused the new parent container to be laid out in a different position, a code path was taken which resulted in the `VisualNode` being present under both the old and new containers.
Ensure that the node is removed from its old parent in this case.
Fixes #7381
Fixes #6103 (probably)
4 years ago
Steven Kirk
5c6370aa56
Don't make ResourceDictionary inherit...
...from `AvaloniaDictionary`.
4 years ago
Steven Kirk
19703360f7
Apply own control theme before templated parent's.
4 years ago
Tako
2b1eba8c7c
Fix leak in the InternalSelectionModel
4 years ago
Steven Kirk
5e1f28f2a9
Make MovePreviousOrParent internal as well.
4 years ago
Steven Kirk
e50b416d5b
Fix parent selectors with /template/ at end.
Previously the combinator state was lost when traversing nested selectors. To fix it, instead of running the parent selector in `NestingSelector.Evaluate`, return the parent selector with `MovePrevious`. This required `MovePrevious` to be aware of parent styles and because I had to change its signature, I also made it internal as it doesn't need to be a public API.
4 years ago
Lobster Uberlord
508fad9d2c
Enable use of Skia Raster backend for HTML canvas in Blazor
To enable the raster backend set CustomGpuFactory to null in
the existing SkiaOptions, by default Avalonia will use the
GPU/GL Skia backend.
4 years ago
Lobster Uberlord
2edc2ec425
Prevent input focus leaving the TextBox on first click
4 years ago