Missing helpers for some controls that have child(ren)
VincentH-Net opened this issue · comments
Vincent Hoogendoorn commented
@scottcg wrote: I need some additional helpers for those controls that have a child/children (Border, Menu, MenuItem)
This is an issue in WinUI and WPF codegen; it should generate helpers for types that implement settable property public UIElement Child
Vincent Hoogendoorn commented
@scottcg Fixed in 0.6.1-dev.5
(8 types in WPF, 6 in WinUI)
Vincent Hoogendoorn commented
Need to also support cases like Menu
.
Could be ItemsControl
subclasses, but look into this IAddChild doc; possibly we need to (also) check for ContentPropertyAttribute