You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
here is my xaml in WPF UI for datagrid: <ui:DataGrid IsHitTestVisible="True" FlowDirection="RightToLeft" HeadersVisibility="Column" Name="dgvCardex" AutoGenerateColumns="False" IsReadOnly="True" MouseDoubleClick="dgvCardex_MouseDoubleClick" CanUserAddRows="False" CanUserDeleteRows="False" SelectionMode="Extended" SelectionUnit="FullRow" >
and was using exact same without WPF UI. I just wanted to get row details when I right click. but It seems that I can't do that here. I have to first click on the row I want and then right click to get the row. and another thing is that when I hit on a row, nothing shows to user like changing row background or something.
I know that WPF UI not using this code so the problem must be from these lines: <Style TargetType="DataGridRow"> <EventSetter Event="MouseRightButtonUp" Handler="dgvCardex_MouseRightButtonUp"/> </Style>
To Reproduce
just make a datagrid. you will see that no background change happen when you click and right click event wont get currentItem.
Expected behavior
To Get Row Data!
Screenshots
OS version
Windows 11 latest update
VS 2022 17.9.6
.NET version
8.0.4
WPF-UI NuGet version
3.0.4
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
here is my xaml in WPF UI for datagrid:
<ui:DataGrid IsHitTestVisible="True" FlowDirection="RightToLeft" HeadersVisibility="Column" Name="dgvCardex" AutoGenerateColumns="False" IsReadOnly="True" MouseDoubleClick="dgvCardex_MouseDoubleClick" CanUserAddRows="False" CanUserDeleteRows="False" SelectionMode="Extended" SelectionUnit="FullRow" >
and was using exact same without WPF UI. I just wanted to get row details when I right click. but It seems that I can't do that here. I have to first click on the row I want and then right click to get the row. and another thing is that when I hit on a row, nothing shows to user like changing row background or something.
I know that WPF UI not using this code so the problem must be from these lines:
<Style TargetType="DataGridRow">
<EventSetter Event="MouseRightButtonUp" Handler="dgvCardex_MouseRightButtonUp"/>
</Style>
To Reproduce
just make a datagrid. you will see that no background change happen when you click and right click event wont get currentItem.
Expected behavior
To Get Row Data!
Screenshots
OS version
Windows 11 latest update
VS 2022 17.9.6
.NET version
8.0.4
WPF-UI NuGet version
3.0.4
Additional context
No response
The text was updated successfully, but these errors were encountered: