MouseUp on "empty" Border/Grid does not fire
Posted: 20 Jun 2016, 13:20
Noesis seems to have a different behaviour than wpf when it comes to visually empty containers:
in wpf the Border_MouseUp fires when the area contained by grid/border is clicked but in Noesis it doesn't. Only when the Textblock actually has text does the event fire as it should. Assigning text and then hiding the textblock doesn't work either.
Is there a way around this, or do I have to make a "ghost" textblock and set its margin to -9999?
Code: Select all
<Border BorderBrush="Black" BorderThickness="1" MouseUp="Border_MouseUp">
<Grid MouseUp="Border_MouseUp">
<TextBlock />
</Grid>
</Border>Is there a way around this, or do I have to make a "ghost" textblock and set its margin to -9999?