csharpmarkup2-winui-wpf-0-6-14
·
193 commits
to master
since this release
What's Changed
WinUI 3 and Uno Platform
- Changed namespace
Microsoft.UI.Markup
toCSharpMarkup.WinUI
WPF
- Add
CSharpMarkup.WPF
NuGet andCSharpMarkup.WPF.Examples
application
Improvements for all UI frameworks (WPF, WinUI 3 and Uno Platform):
- Add many layout factory helpers generated via
[ContentProperty]
attribute - Add
UIObject
(and for WPF alsoUIDependencyObject
) to allow specifying both markup and non-markup content objects without appending.UI
- Add content parameter to the generated helper that has parameters for a view's self-defined writable properties
- Add support for inheriting specified markup factory helper parameters in derived types, used for
TimeLine
- Add performant generic
Spread()
andSpreadS()
(allocation-free) - Add
.Resources()
convenience helper - Add default bind properties for
Brush
derived types - Add implicit
to.<Type>
convertor from markup types to support e.g..BorderBrush(Red)
- Add generated
to.<Type>
type convertors from[TypeConvertor]
attribute for WPF and UnoWinUI (WinUI does not use that attribute - need to select and add convertors manually) - Add support to use manual type convertors in codegen
- Add 4 manual type convertors
- Support passing in
string
andUIElement
forInline
- Replace
O<>
with nullable value types to support automatic value conversion for builder helper method parameters, e.g. to compileBorder(CornerRadius: 2.5)
. As a consequence remove redundant generated factory methods - Update and cleanup example applications
- WPF example: automatic update on .NET Hot Reload
- Fixes
Full Changelog: csharpmarkup2-winui-0-5-1...csharpmarkup2-winui-wpf-0-6-14