Skip to main content

All Questions

Tagged with
-2 votes
0 answers
55 views

SwiftUI: Changing ListView Row Background Color Based on Focus During Scrolling

I'm trying to change the background color of rows in a ListView while scrolling in SwiftUI. I've attempted the following code, but it's not working as expected List { ForEach(viewModel.menuItems) {...
Prasanna Kumar Komminani's user avatar
0 votes
1 answer
69 views

C# WPF ListView SelectedItem keep value on lost focus

Problem: Losing ListView Item focus and as a consequence reset of SelectedItem property when I try to push button on another panel different from panel with ListView. I need to keep focus (optional) ...
Fedor Yudin's user avatar
-1 votes
1 answer
85 views

how to enable keyboard focus for selected item in listview?

i have a winui/uwp app with a listview, when i use keyboard for navigate between items there is a white border around selected item, how i can enable this border for selected item by default? so i ...
Chibako's user avatar
  • 49
1 vote
0 answers
56 views

How to prevent focus going to whole ListViewItem when the item's content view is clicked

I have created a Xamarin ListView sample with customized item template. When I clicked the content view in the item template focus is applied for the list view item instead of that content view in ...
Rasika Palanisamy's user avatar
1 vote
1 answer
435 views

Set focus to the first listview item

In WinUI3 I need to set focus to the first item of ListView in order user could use the keyboard immediately. I do the following: listView.Focus(FocusState.Programmatic); if (listView.Items.Count >...
demonplus's user avatar
  • 5,731
4 votes
2 answers
1k views

how to focus on listview items in android tv app on flutter

I want to build an android tv app in flutter almost everything is done but one problem is I'm not able to focus(like some pop-up effect or border change anything that tells the user that you're on ...
Aviraj Patel's user avatar
0 votes
1 answer
210 views

Tab Focus on listview is skipping headers

I have a listview control as below which has header template and item template. On clicking the button which opens this list view, focus first comes to the entire list view. On hitting tab, focus ...
Nisha's user avatar
  • 13
1 vote
1 answer
3k views

Deleting specific item out of ListView with Bloc

I have a page that consists of a ListView, which contains TextFormFields. The user can add or remove items from that ListView. I use the bloc pattern, and bind the number of Items and their content ...
Jackilion's user avatar
0 votes
1 answer
187 views

Focus timepicker by tapping on image in a list in xamarin.forms

I have a listview, which consists of the stack layout with Time Picker and the image. What I want is while tapping on the image the timePicker should focus. If those controls are not in a listview ...
sahithi's user avatar
  • 1,079
0 votes
2 answers
142 views

WPF: how to auto scroll to my first ListViewItem when form load

So i am build simple Clipboard manager. Every ListViewItem come from Clipboard.GetText and my application minimize to Tray and when double click on its Icon the application jump and i want to focus ...
user979033's user avatar
  • 6,050
0 votes
1 answer
934 views

WPF: Remove dotted border around focused ListView

When my application change state to normal i want to set focus over my ListView: private void Window_StateChanged(object sender, EventArgs e) { if (WindowState == WindowState.Normal) ...
Erofh Tor's user avatar
  • 159
1 vote
2 answers
1k views

Navigate ListView with Keyboard without selecting (UWP)

I noticed that when navigating a ListView with the arrow keys, it will mark the ListItem as selected (though not trigger any click). However, if I also keep Ctrl+Shift pressed, then the focus moves ...
Gandora's user avatar
  • 348
1 vote
1 answer
453 views

TextView in RecyclerView not getting focused

I am adding a view that contains a RecyclerView to a ViewFlipper, but I am not able to move the focus to the list items within the recycler view and thus cannot select any list item. Could anyone ...
Green Ho's user avatar
  • 891
0 votes
1 answer
116 views

Focus on multiple list view in one window form

I have a window form containing 2 list views (for instance, named a and b) and a button. The function of the button is supposedly to show a message box differently when there is focus between the 2 ...
Teong's user avatar
  • 41
0 votes
0 answers
33 views

How can I focus on a Button within a custom ListView

In my app it has a custom ListView'. The ListView contains an Image button. At the moment if the user is using an Android phone or tablet they can select and press this Button. But if they are using ...
markharrop's user avatar

15 30 50 per page
1
2 3 4 5
10