Steven Kirk
b2a473d286
More integration of new SelectionModel.
6 years ago
Steven Kirk
c1b2e2d44d
Refactored ItemSourceView.
- Inner list needs to be a non-generic `IList` because `IList<T>` is no covariant.
- Moved out of the Repeater directory as it's now general-purpose.
6 years ago
Steven Kirk
a9b04a5c2c
Started integrating new SelectionModel.
6 years ago
Steven Kirk
a9f05f22c2
Added #nullable to SelectingItemsControl.
6 years ago
Steven Kirk
e62bacab7e
Reimplemented SelectionModel.
Handles only list selections, not nested selections.
6 years ago
Steven Kirk
95f9a98843
Fixed/skipped failing tests.
6 years ago
Steven Kirk
af90219ff4
Reverted SelectionModel.
6 years ago
Jeremy Koritzinsky
aa5bc078a7
Re-enable SharpGenTools.Sdk to patch calli but disable codegen ( #4512 )
6 years ago
danwalmsley
bc42091ce9
Revert "Expose Cut Copy and Paste methods for binding for context menus"
6 years ago
Dan Walmsley
71109100eb
tidy code.
6 years ago
Dan Walmsley
5ea8c57f76
move standard textbox context menu to the templates.
6 years ago
Dan Walmsley
e93ac83ae4
add gesture text.
6 years ago
Jumar Macato
fb75a836be
add context menu
6 years ago
Dan Walmsley
b5c0b240c8
use OverlayInputPassThrough in default theme menus.
6 years ago
Dan Walmsley
a25b3235eb
fix default theme pointer move over menus.
6 years ago
Jumar Macato
43b94e997c
Expose Cut Copy and Paste methods for binding for context menus
6 years ago
Maksym Katsydan
9ff731ab70
Fix another missing resources on default theme (including #4376 )
6 years ago
Dan Walmsley
54cedcea87
dont allow text selection to be lost when context menu is opened... i.e. for copy and paste to work.
6 years ago
Dan Walmsley
df19b1c127
change api stability to preview3.
6 years ago
Dan Walmsley
0daf5f771e
dont generate sharpgen sources.
6 years ago
Dan Walmsley
03cc2dfff7
clear reveal password when lose focus.
6 years ago
Jumar Macato
23713366fa
add support for default theme
6 years ago
Maksym Katsydan
a887e3e50e
Fluent TextBox: Return "Hide" password button icon
6 years ago
Maksym Katsydan
71393ceb6a
Fluent TextBox: Update naming and fix nits from previous PR
6 years ago
Maksym Katsydan
e5644c0b72
Fluent TextBox: Remove multibinding from floatingWatermark
Also rename floatingWatermark and watermark
6 years ago
Maksym Katsydan
913958732e
Fluent TextBox: Add PasswordBoxRevealButton style
6 years ago
Maksym Katsydan
ff873cb5b8
Fluent TextBox: Add TextBoxClearButton style
6 years ago
Maksym Katsydan
87afc2ffa0
TextBox: Add :empty pseudoclass
6 years ago
Steven Kirk
7a325af366
Fix auto-sizing on secondary monitors on win32.
- Allow nested calls to `BeginAutoSizing` - previously it was called twice when showing a window on a secondary monitor and when the second `using` block exited it cleared the autosizing state despite the outer block not completing
- Call `SetWindowStartupLocation` within the auto-sizing block. Moving to a secondary monitor causes a resize message.
6 years ago
Dan Walmsley
c46df2b0a9
usings.
6 years ago
Dan Walmsley
54eb6d0343
remove comments, add missing braces (style), tidy.
6 years ago
Jumar Macato
8300b0c35d
rename prop
6 years ago
Jumar Macato
2a11f6801c
address review
6 years ago
Jumar Macato
661480e55c
polish
6 years ago
Jumar Macato
ffa8fa7262
implement ShowPassword Property in textpresenter and forward from textbox
6 years ago
Steven Kirk
edd20a4141
Added API changes to ApiCompatBaseline.
6 years ago
Steven Kirk
37bd384794
Use EnabledDataValidation from metadata.
`DirectProperty` stored a `EnabledDataValidation` flag in its metadata but also had an `IsDataValidationEnabled` property in `DirectPropertyBase` which was the one used by `AvaloniaObject`. Use the version from metadata so that it can be overridden and remove the flag from `DirectPropertyBase`.
6 years ago
artyom
64d11e2e31
Cast the view to IDataContextProvider
6 years ago
artyom
0bbe036437
Show DefaultContent when Router is set to null
6 years ago
artyom
fbc549b51c
Don't apply hook when DataTemplates property is set
6 years ago
artyom
f23bfafbae
Show default content when Router is null
6 years ago
Steven Kirk
7d2563de3a
Expose OverrideMetadata for direct properties.
6 years ago
Maksym Katsydan
63a4333832
ControlCatalog: Update ContextMenuPage and MenuPage samples
6 years ago
Maksym Katsydan
aed62ca4a7
Fluent: Add missing MenuItem Header styles
6 years ago
José Pedro
22866e8694
Fixed item type inference for ItemsRepeater in compiled bindings.
6 years ago
Rustam Sayfutdinov
c5c12393f6
Fix typo in FontSizeNormal
6 years ago
Steven Kirk
2337da31b1
Add null check for scroller.
6 years ago
Steven Kirk
e74a0d9698
Make ItemsRepeater work with no ScrollViewer.
There doesn't seem to be any reason to make `ItemsRepeater` not work properly when there's no `ScrollViewer`.
Fixes #4330
6 years ago
Steven Kirk
de8171f8ac
Correctly handle UnsetValue/DoNothing in setters.
Just need to call `BindingValue<T>.FromUntyped` instead of doing a conditional, because otherwise we run the risk of passing `UnsetValue` to the `BindingValue<T>` ctor which will throw in that case.
6 years ago
Steven Kirk
15e7876530
Fix incorrect argument ordering.
6 years ago