Handle function insertion on ListBox row taps directly: add Tapped handler to function item Border in DataTemplate and remove global view-level tap handler. Ensures handler is tied to list rows, not the toggle button.
This commit is contained in:
parent
8a5a50fcaa
commit
781f7161e5
2 changed files with 6 additions and 18 deletions
|
@ -156,6 +156,7 @@
|
|||
<ListBox.ItemTemplate>
|
||||
<DataTemplate x:DataType="m:FunctionDefinitionItem">
|
||||
<Border Background="Transparent" Padding="8" MinHeight="36"
|
||||
Tapped="OnFunctionsItemTapped"
|
||||
AutomationProperties.Name="Insert function">
|
||||
<Grid ColumnDefinitions="*,Auto">
|
||||
<StackPanel>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue