I want to create something with a Panel on the MapView.
I know that to handle click events within NativeViewHost, I need to wrap it with a Button.
So, I made it like this.
By the way, the button in naviteviewhost is a native button
By default, Color and Padding were values.
Color = “# FFFFFF00” to make it transparent.
And, Padding = “0”, but it did not apply.
Is there a way to apply this ‘Padding’ to the desired value?
<App>
<NativeViewHost>
<Button Padding="0" Margin="0" Color="#FFFFFF00">
<Panel Width="100%" Height="100" Padding="0" Margin="0" HitTestMode="LocalBounds">
<Clicked>
<DebugAction Message="yes! clicked!"/>
</Clicked>
</Panel>
<Button>
<MapView/>
</NativeViewHost>
</App>