This is a migrated thread and some comments may be shown as answers.

Improve user experience UWP-app on Windows 10 with mouse

1 Answer 88 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Henri
Top achievements
Rank 1
Henri asked on 18 Apr 2019, 01:56 PM

Dear Telerik,

we created an Application in Xamarin.Form.
Our customer asked us to make besides an android version, a Windows 10 desktop version.

We have some problems using the mouse (double click and swipe behavior) instead of touch.
In general it is hard to find the right spot where the controls recognize a mouse-action.

1)  RadTreeView
a) how to select a treeitem (RadTreeView) with double click  ?
b) is it possible to highlight the selected row ?(in this case we could add an OK and Cancel button on the bottom of the page)

 

2) RadListView

a) the buttons (delete , edit) in ItemSwipeContentTemplate are only accessible if the mouse-pointer is in the upper-left corner.
Is it possible to swipe with the mouse when clicked on cell, now matter where ?

b) double click on a cell is only registered when click some regions.

 

Could you help us out ?

 

Regards,

Henry

 

 

 

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 22 Apr 2019, 01:07 PM
Hello Henry,

I will go straight to your questions:

1. RadTreeView

In general, RadTreeView does not provide the conception for selection (selected item, selected index, etc). I would suggest you enable CheckBoxes support instead in order to highlight certain items and implement some logic on them.  Basically, we've designed the control in a way it is suitable for using on a mobile device.

2. RadListView

a) I didn't manage to reproduce this behavior, can you send me the ListView definition, so I could research it further?

b) I am afraid that the manipulation logic for swipe, tap and other is implemented on RadListViewItem and is internal, so basically it cannot be overridden.  The swipe is invoked through mouse down and mouse move actions.
 As to the last question about double-click - could you elaborate more on this? Some sample code would be of great help as well.

I am looking forward to your reply.

Regards,
Yana
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Henri
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or