I have a ListView that goes something like this:
<ListView
x:Name="SeriesListView"
SnapsToDevicePixels="True"
ItemsSource="{Binding Items}"
BorderBrush="Transparent" BorderThickness="0"
Padding="0" Margin="0"
VerticalContentAlignment="Top"
Background="Purple"
LostFocus="ListView_LostFocus"
>
<L...
Hello all,
I have a semi-complicated problem and hoping that someone here will be able to help me.
On a click event I create a thread and start a long-running operation based on this method. After the long-running task is completed, it does a callback to another method, which does a post to the handler:
@Override
public void content...
I would like to open a custom dialog when someone clicks on a listview entry. That dialog will need to know the text that was clicked on in order to display additional information on that particular entry. Can anyone point me in the right direction on how to accomplish that?
Thanks!
...
Alright so I've got a ListView with many items available to it any time (in virtualized mode). Right above the ListView is a text box that allows the user type in any search term and the ListView will be filtered live. The ListView is currently bound to a DataSet like this:
SoundListView.DataContext = DS.Tables[0].DefaultView;
The Dat...
Hi!
I have an issues, I want to show 20 items in the list.
But there is a catch: if the user scrolls down to the bottom of the list, there will be an item that says: "Show more items", and when the users click on it, more items will be added to the list.
My question is how is poosible to have a last item, that has a different style a...
Hi all,
I'm using a listview control to show a list of categories/subcategories
<%# Eval("SubCategory1")%>
When the user clicks the SubCategory1 link, the list view should fill up with the next subcategory, SubCategory2. The problem is off course that <%# Eval("SubCategory1")%> is hard-coded. I need it to change to <%# Eval("SubCat...
've programmatically created a listview, for displaying images. When you click on the download the ItemCommand is fired, and the browser sends the user the image as a binary response, using the following:
SPFile ImageIfile = spfolder.Files[ServerName];
byte[] bs = ImageIfile.OpenBinary();
string res = Page.Response.ContentType;
Page.Res...
I want to have an ImageView that is part of a listview row item, but that appears to both in and out of the row. is this possible? if so, how? many thanks in advance...
...
Hello,
I am having issues with my ListView text filter. Here's the problem:
** Upon using the keyboard to search for an item in the list, when
that item is clicked, it always takes them to the actions I have
specified for position 0 as my list is separated based on positions.
Each position launches a different activity.
Is it poss...
package one.two;
import java.util.ArrayList;
import java.util.List;
import android.app.ListActivity;
import android.database.Cursor;
import android.inputmethodservice.Keyboard.Row;
import android.os.Bundle;
import android.view.Menu;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.TextView;
pu...
public class List_View extends ListActivity {
private TextView toptext;
private TextView bottomtext;
DBAdapter db = new DBAdapter(this);
public void onCreate(Bundle icicle)
{
super.onCreate(icicle);
setContentView(R.layout.list);
getData();
toptext = (TextView) findViewById(R.id.to...
I've a Dictionary
Dictionary<string, List<string>> SampleDict = new Dictionary<string, List<string>>();
I need to fill a listView with the contents of the Dictionary
For example the "SampleDict" contains
One A
B
C
Two D
E
F
The listView should be filled like
S.No Item SubItem
...
I'm sure that I'm missing something simple to get this implemented, but have run through every known combination I can come up with to get what I'm looking to do working. I'm trying to have a ListView footer sit at the bottom of the screen when the ListView items do not fill the page.
For example, I have a page with a ListView of three ...
I have so many issues with my project, i really don't know where to begin. First off, i get an error "an object reference is required for non-static field, method or property". It underlines retPath (the line: DriveRecursion_results.DriveRecursion(retPath);). I have no idea how to fix this.
THe other thing i'm still stumped on is how...
If I have a ListView embedded in a WinForm, is there any way I can simply click in the ListView and start typing in new items when the form is running?
...
I have an ImageView object that I'm setting the android:src="@drawable/some_xml_file" instead of a standard png and it seems to not always render the drawable, as you can see in the first row here (it also happens intermittently in other rows as well):
I've tried setting the src & the background property but they both have the same effe...
Well like the title says if you go to the Alarm clock App on droid i am trying to recreate the screen that comes up when you select an alarm. Essentially the "other" screen in the app. I am new to this but have spent the past day searching for this but im not to sure i know the correct terminology to find what im looking for.
I am maki...
I have an asp.net ListView that is sortable.
I have a button with a "select" command name. When I click on the button the appropriate row gets selected. If I then click on a sort header the ListView will sort, but the selected index will stay the same. In other words if I click the 2nd row then sort the 2nd row is still selected.
Is...
I'm trying to create a model to store data about photos, icons and pathnames.
class PhotoListItemModel : public QAbstractItemModel {
struct ItemModelType {
std::string fileName;
QImage image;
boost::shared_ptr<char> unique_id;
};
std::map<string, ItemModelType> ItemMap;
std::map<char*, stri...
I am working with MVVM and WPF.
VM contains -
an Observable collection of Task (where Task is a class that has public properties TaskId, TaskTime and TaskDetails)
CurrentTaskId
I can set background color of each rows by using one of the method below
using ListView ItemContainerStyle Trigger OR
using ListView ItemContainerStyleSe...