listviewitem Questions

4

When you insert/remove/reorder (or do any other manipulation) ListView items according to the default behaviour of ListView.builder and ListView.separated it always rebuilds the whole widget. How c...
Phosphaturia asked 25/12, 2020 at 13:20

7

Solved

I have a ListViewItem that I am applying a Style to and I would like to put a dotted grey line as the bottom Border. How can I do this in WPF? I can only see solid color brushes.
Joiejoin asked 1/6, 2011 at 1:42

2

Solved

Even if I know it's not ideal - I need to programmatically populate a listView (for whatever reason). I am declaring my columns in the markup: <ListView.View> <GridView> <GridVi...
Anatolia asked 20/8, 2009 at 11:0

7

Solved

I want to change the Item's/Row's height in listview. I searched every where and I figured that in order to change the height I need to use LBS_OWNERDRAWFIXED or MeasureItem or something like that...
Senna asked 3/7, 2011 at 15:51

10

Solved

I have the MultiSelect property of the listView set to false and I'm trying to get a single listViewItem. But the available property is SelectedItems. I've been using the following code... foreach...
Oahu asked 26/2, 2013 at 14:19

7

Solved

I'm using SetWindowTheme and SendMessage to make a .net listview look like a vista style listview, but the .net control still has a dotted selection border around the selected item: Selected ite...
Impound asked 22/4, 2010 at 14:33

2

Solved

I'm currently designing a windows 8 store app using XAML but I have a minor sizing issue. I have a ListView with a DataTemple. The code for my ListView & DataTemplate are below: <ListView x:...
Labana asked 25/2, 2013 at 12:46

2

Solved

I have a context menu - problem is I need it to only open when a listviewitem is clicked. Right now it will open if I click anywhere in the listview or in the header. <ListView> <ListV...
Florez asked 20/9, 2013 at 16:7

3

Solved

I have a GridView where I want to detect a doubleclick event on the items in the list, i do it as follows: <ListView> <ListView.View > <GridView > <GridViewColumn Header="F...
Edington asked 5/12, 2010 at 20:34

2

I have a custom ListView in which I have some TextViews and a few buttons. On clicking every button a new activity opens. The problem is, let's say if I am currently viewing the 15th ListView item ...

3

Solved

As part of a FlatList, I render each ListItem (from the react-native-elements library) where I try to display an avatar (icon) from a url to a photo: <ListItem avatar={{ source: { uri: item.i...
Seep asked 27/11, 2018 at 7:27

8

How can you hide an item in a ListView or at least set its height to zero? I have tried setting the visibility of the View to GONE but it still maintains the item's space (height).
Sensuality asked 14/4, 2010 at 14:25

3

Solved

I installed Material Design In XAML Toolkit to my project. I have ListView which contains within itself GridView (with GridViewColumns) and i want to override styles for each row in this table. But...
Hauteloire asked 24/9, 2017 at 21:1

5

Solved

Anyone know how to get a ListViewItem by grabbing the first visible item in the ListView? I know how to get the item at index 0, but not the first visible one.
Boer asked 28/5, 2010 at 4:56

4

Solved

I have a listview control on my WinForms application. here, on click of separate button, i do change couple of listview items backcolor and reload the whole grid as there are certain changes into ...
Scudder asked 4/8, 2014 at 9:56

3

When my ListViewItem is highlighted, I want the text to turn white. How can I define this? <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_focus...
Ubiquitous asked 30/9, 2010 at 3:9

2

How can I use setOnClickListener in each item in my ListView? my xml : <ListView android:id="@+id/tv1" android:layout_width="match_parent" android:layout_height="wrap_content"> </Lis...
Janellejanene asked 20/8, 2017 at 14:54

7

i have a list View in my app (this is the xml layout): <?xml version="1.0" encoding="utf-8"?> <ListView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/array...
Outstand asked 22/11, 2010 at 16:0

2

Solved

How do you change the height of items in a ListView control in a Windows 10 UWP app? For example in UWP, the following does not make the row height 20. (WPF questions might suggest this, but it do...
Hennebery asked 29/6, 2016 at 21:20

2

I'm doing some project on c#. I need to get i item from ListView window, handle of it I got by doing something like this IntPtr par_hWnd = API.FindWindow(null, "Form1"); IntPtr child1 = API.FindWi...
Kiona asked 1/2, 2011 at 0:7

1

Solved

I use Xamarin.Forms to define a ListView. This ListView defines some ContextActions on inside the ViewCell. Depending on the platform, these context actions are then presented to the user. In Andro...
Helm asked 28/4, 2017 at 22:34

2

Solved

developers. I try to stretch listview item in horizontal orientation. I do reset ItemContainerStyle ,and the horizentalalignment is strech. Here is all code in the MainPage.xaml. <Grid x:Name=...
Potsdam asked 29/3, 2017 at 13:5

2

Solved

I have a problem with ListView design in Expression Blend that is harder than I thought it should. I'd like to just draw a screen using XAML. This WILL NOT run inside an application, is just a sta...
Akira asked 17/8, 2012 at 20:25

4

Solved

i got the following problem. i have a ListView with custom rows consisting of an imageview and a textview. the textview's xml code is <TextView xmlns:android="http://schemas.android.com/apk/r...
Introgression asked 10/12, 2010 at 19:17

7

Solved

In a ListView you can have icons on each item. When viewing in Details-mode, the icon is shown in the left-most column. Can I show an icon in some other column?
Tinsmith asked 11/12, 2009 at 14:48

© 2022 - 2024 — McMap. All rights reserved.