Dan Walmsley
b4e237e980
add repro for treeview issue.
3 years ago
Steven Kirk
ef55b065c3
Merge pull request #11391 from AvaloniaUI/MikeCodesDotNET-patch-1
Update readme.md
3 years ago
Max Katz
3efec1fa6e
Merge pull request #11326 from AvaloniaUI/fixes/11167-transitioningcontentcontrol
Refactor TransitioningContentControl
3 years ago
Mike James
fda71e488d
Update readme.md
Added AWS to sponsors.
3 years ago
Max Katz
27d91aef59
Merge pull request #11387 from AvaloniaUI/refactor/avaloniaproperty-api-internal
Make some AvaloniaProperty APIs internal.
3 years ago
Steven Kirk
8c9d610438
Make some AvaloniaProperty APIs internal.
- Constructors are now internal: properties should only be created using the `Register*` methods anyway
- `Notifying` is now internal, this should only be needed by `DataContext` and the constructor which set this was already made internal
- Base `OverrideMetadata` methods are now internal: the implementations on `StyledProperty` should be used
3 years ago
Steven Kirk
c496fb3cec
Merge pull request #10863 from aldelaro5/fix-combobox-issues
InternalSelectionModel: Prevent unwanted source collection changes
3 years ago
Steven Kirk
5878814bed
Added test for #9438 .
3 years ago
Max Katz
ff54192a05
Merge pull request #11341 from AvaloniaUI/fixes/11212-attached-property-coercion
Register attached property metadata on TOwner instead of THost.
3 years ago
Steven Kirk
63c5ed0020
Merge branch 'master' into fix-combobox-issues
3 years ago
Steven Kirk
5b7d5a33ae
Fix benchmarks compile error,
3 years ago
Steven Kirk
bd631a49df
Merge pull request #11380 from AvaloniaUI/refactor/obsolete-istyleable
Deprecate IStyleable interface.
3 years ago
Steven Kirk
4bff48fdcb
Merge pull request #11379 from AvaloniaUI/safe-area-demo-build-fix
Fix building safe area demo project
3 years ago
Steven Kirk
3109fd7f2e
Merge branch 'master' into refactor/obsolete-istyleable
3 years ago
Steven Kirk
474d78b335
Deprecate IStyleable .
This was signalled for removal in #9553 , but I was hesitant to do it because it will be in use by a lot of code in order to override `StyleKey`. Instead of removing it, deprecate it and provide a virtual `StyledElement.StyleKeyOverride` property as the supported way of overriding a control's style key.
3 years ago
Nikita Tsukanov
3aa881b007
Merge pull request #11377 from AvaloniaUI/fix-cecil-metadata-importer
Fix Cecil metadata importer
3 years ago
Emmanuel Hansen
bab99456ad
fix safe area demo project build
3 years ago
Steven Kirk
00d077a634
Pass both owner and host type to AvaloniaProperty.
For non-attached properties these will be the same. For attached properties the metadata needs to be registered on the host, but the `Owner` property needs to be set to the owner, not the host.
3 years ago
Max Katz
3bf8327dd4
Update XAMLX
3 years ago
Max Katz
fe0edf557c
Update Cecil
3 years ago
Max Katz
6277b3e555
Merge pull request #11364 from AvaloniaUI/fix-selectiontextblock-selectionbrush-color
Use correct theme specific selection brush on SelectableTextBlock
3 years ago
Max Katz
515391fc7d
Merge pull request #11363 from AvaloniaUI/fix-unnecessary-corelib-reference
Use TypeSystem.String instead of typeof(string) when resolving types from Cecil
3 years ago
Max Katz
9a3ed2e022
Use correct theme specific selection brush on SelectableTextBlock
3 years ago
Max Katz
f858a7a985
Use TypeSystem.String instead of typeof(string) when resolving types from Cecil
3 years ago
Max Katz
4485356aed
Merge pull request #11344 from garstenauer/fix-11324-dynamicresource-not-updated-on-theme-change
Fix: FloatingResourceObservable should handle ActualThemeVariantChanged
3 years ago
Max Katz
6b9b771c53
Merge branch 'master' into fixes/11212-attached-property-coercion
3 years ago
Max Katz
69b5c7aad8
Merge pull request #11361 from robloo/api-standardization
Standardize CaptionButtons to Minimize/Maximize spelling
3 years ago
robloo
4edb8a5fec
Use template part name constants in CaptionButtons
3 years ago
robloo
a0f70f4b02
Standardize CaptionButtons to Minimize/Maximize spelling
3 years ago
Steven Kirk
e5eee5ac3c
Fix custom transition.
Don't set `FillMode` because the value will get stuck.
3 years ago
Max Katz
5e2b6c1e3a
Merge branch 'master' into fixes/11212-attached-property-coercion
3 years ago
Max Katz
e1b203b409
Merge pull request #11342 from timunie/fix/NumericUpDown_Decrease_when_null
Fix/numeric up down decrease when null
3 years ago
Martin Garstenauer
ec8cbeb37d
Fix FloatingResourceObservable listening for ActualThemeVariantChanged
3 years ago
Tim
85b816c27f
fix unit tests
Do not set Min / max in case it is decimal,Min / decimal.Max
3 years ago
Tim
a2cf40c812
Use `IsSet` instead of hardcoded values
3 years ago
Tim
d5b73e2109
Add some unit tests for Incement / Decrement
3 years ago
Tim
4340052cae
fix incement / decrement when value was null
3 years ago
Steven Kirk
559640fb1a
Register attached metadata on host not owner.
3 years ago
Steven Kirk
e7c3e0c673
Added failing test for #11212 .
3 years ago
Steven Kirk
507e46ae38
Merge branch 'master' into fixes/11167-transitioningcontentcontrol
3 years ago
Steven Kirk
7882801e5f
Set default value for PageTransition.
Create an immutable crossfade class which can safely be used as a default styled property value.
3 years ago
Max Katz
7e2150ec54
Merge pull request #11313 from workgroupengineering/features/Issue_11311
feat: CompiledBinding StringFormat without curly braces
3 years ago
Max Katz
132c3b8a6a
Merge pull request #11323 from AvaloniaUI/fixes/itemscontrol-tab-navigation
Fix ItemsControl tab navigation
3 years ago
Steven Kirk
5470c1272f
Set default transition.
Not really sure we should be doing this, but the previous version had it (though it was using a mutable object as a `StyledProperty` default value which means the instance was shared: bad).
3 years ago
Steven Kirk
5474d1e360
Refactor TransitioningContentControl.
Now has two `ContentPresenter`s between which it transitions.
Fixes #11167
3 years ago
Steven Kirk
f3640afc56
Set KeyboardNavigationMode.Once on Menu.
Not 100% sure this is necessary, but WPF does it.
3 years ago
Steven Kirk
6b2d6f71a1
Fix tab navigation in TabControl.
This control is a bit trickier as `KeyboardNavigationMode.Once` needs to only apply to the header panel. Set `KeyboardNavigationMode.Once` on the panel when the template is applied, and forward `TabOnceActiveElement` from the `TabControl` to the panel.
3 years ago
Steven Kirk
d4194c8e2b
Added failing tests for TabControl tab navigation.
3 years ago
Steven Kirk
31ece204fc
Fix tab navigation in ItemsControl & ListBox
- Don't set `KeyboardNavigationMode.Once` on `ItemsPresenter`
- Instead set it on `ListBox` (more controls to come)
- Make `TabOnceActiveElement` follow `Selection.AnchorIndex` in `SelectingItemsControl` and set it on `ItemsControl` itself
3 years ago
Giuseppe Lippolis
20971097ca
test: Binding StringFormat without curly braces
3 years ago