Enable Panel (or a derived Panel) to support more options for borders and background. Specifically, support:
React Native's <View/>
in a RN-based app it's worth investigating the potential for reducing the # of native elements with the expectation of achieving better performance.
Related to https://github.com/Microsoft/react-native-windows/issues/2245.
It could be that Panel exposes a number of protected methods to toggle these options and then any derived Panel-type can choose what options to expose.
Good rule of thumb for future additions to XAML...
If its possible in CSS, it should be possible in XAML.
For CornerRadius
is this about moving it to the base Panel? As it already supports per-corner values, eh?
Yes, this idea would be about enabling the base Panel type to have built-in support for rendering something like borders such that a derived Panel could easily have that behavior. This proposal is to track exploring whether that idea may or may not be useful for the React Native on Windows project.
CSS has been around a while and does a lot of things. I'm not taking the default position that they're all good things to do. :)
Most helpful comment
Good rule of thumb for future additions to XAML...
If its possible in CSS, it should be possible in XAML.