listview

Add a column filter to a detailed view (list view) in c#

i'm looking for a way to add column filters to detailed view (list view) in c# ? (i found ways to sort the list ... but need a way to filter items out) any thoughts? ...

How to detect draw of last row in a Listview to retrieve the next set of data?

I am looking for a way like Social Networks site retrieve additional data when the last record is visible to user. How I am able to do that for a ListView in Compact Framework (c# mobile app). Still looking for answers 2 ...

How can I dock/anchor two listviews vertically aligned to grow equally on orientation change?

I have two ListViews in Compact Framework 2.0 positioned vertically next to each other. Each of the ListViews occupies half of the screen. How can I dock/anchor them so when the orientation changes for landscape they grow equally and do not overlap each other. From -------- -------- | | | | | | | | | | ...

button added to listview in google notepad example

Hi, I've taken the Notepad Tutorial from Google and added a button to the note_row.xml But now, I can no longer edit the row when I click on it. I can however click the button. Any idea what I add where? I did google, but nothing worked for me. Thanks ...

Multi-Column ListView

If anyone over here has used Kaspersky Internet Security 2010 you'll realize that the Report View has got several columns that can be expanded to reveal more columns (like subcolumns). Is there any place I can a UserControl with such functionality? If there is none, can anyone give me some pointers on how to design a UserControl which h...

how to disable listview column resizing?

I want to disable listview column resizing. How can i do it? ...

How to refresh Android listview?

I want to refresh an Android ListView after adding/deleting dynamic data. Can any one tell me how to achieve this? ...

Listview and SQLDataSource render nothing

I've never used either of these 2 controls before and I'm stuck with no visible rendering of the page (compiles and runs but produces nothing); I have no code behind file with this simple asp.net page and I am using Visual Studio 2008: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="zList.Index" %...

WPF contextmenu and ListView

Ok, hopefully this is simple but for some reason I can't find a straight answer and I'm not familiar enough with WPF yet to know how to do it. I have a listview, it gets bound to an observable collection of objects to display. I want to have a context menu with a bunch of options. The options in the context menu are relative to the part...

Round bottom corners on Android Bitmap?

Hey all, what would be best practice for clipping the bottom borders of a Bitmap? Just manipulate the Bitmap itself or overlay an alpha mask drawable or ...? The whole story: I've a Listview which looks like the iPhone's grouped UITableView style. I would like to display a Bitmap in the last row, but for now the Bitmap overlaps my cust...

[.NET C#] How To Add A Calculated Column to A Data-Bound Listview?

Hi! I have a WPF ListView with several columns bound to a custom collection. The question is, how can I add another column which is calculated, not bound. Specifically, this is what I have, which displays fine: <ListView Name="ui_rptTransactions"> <ListView.View> <GridView> ...

Hide ListView table header from the code behind

Hi, I want to hide a column of ListView based on the role from the code behind. Here's the mark-up and the code: <asp:ListView ID="lvTimeSheet" runat="server"> <LayoutTemplate> <table id="TimeSheet"> <thead> <tr> <th id="thDelete" runat="server" Visible='<%# IsAdmin() %>'>...

Animate selected item of wpf listbox

Hi all, I'm trying to set a global style for all the listboxes in my application. Below is the xaml code that i've used. Here i've tried to trigger out an animation but it doesn't work. I just want an animation on the selected item. Any help? <Style TargetType="{x:Type ListView}"> <Style.Setters> <Setter Property="BorderThic...

Adding a CheckBox to ListView item prevents it from being able to receive ItemClick

In the Adapter for the ListView, I return a LinearLayout, in which I add a Checkbox, a ImageView and a TextView. This basically constructs a ListView, in which each item contains a Checkbox, a ImageView and a TextView. However the strange thing is that if I don’t add the Checkbox, then ListView receives onItemClick event correctly, as lo...

How to populate thread safe a ListView in c#?

I need to put some ListView populate code in a thread. For the simple case, this thread should not run twice. When I want to issue a new thread the previous needs to stop, whatever did. EDIT 1 The scenario is the following. I have a textual filter above the ListView. On textchange I call a populateList() method. The problem is that the...

WPF ListView DoubleClick OriginalSource problem

Hi ! I attached an EventHandler to the MouseDoubleClick event. <Style TargetType="ListViewItem" BasedOn="{StaticResource MyStyle}"> <EventSetter Event="MouseDoubleClick" Handler="ListViewItem_MouseDoubleClick" /> </Style> private void ListViewItem_MouseDoubleClick(object sender, RoutedEventArgs e) {}...

Modal Windows Forms in Office

I have a modal Windows form created in VB.NET that I am using for a PowerPoint add-in (this issue would also apply to an Excel add-in, I suspect). The form lets the user select shapes on the current slide from a ListView object. With each selection, the corresponding shape should be selected on the current slide. I know that my code i...

Way to color parts of the Listbox/ListView line in C# WinForms?

Is there a way to color parts of ListBox Items (not only whole line)? For example listbox item consists of 5 words and only one is colored or 3 of 5. Is there a way to do the same with ListView? (I know that ListView can be colored per column but i would like to have multiple colors in one column). I am interested in only free solu...

ListView Selection Problem

This method is used to handle KeyDown event of the listview: private void listView_KeyDown(object sender, KeyEventArgs e) { if (e.Control) switch (e.KeyCode) { case Keys.A: { foreach (ListViewItem item in listView.Items) ...

WPF ListView Keyboard Navigation Problem

I've a listview like this ListView: ————----- Mango Orange Grapes Grapes Grapes Apple Strawberry Whenever i navigate using downarrow, the BlueHighlight pauses at the first Grapes, a dotted rectangle start from second grapes and pauses at the third grapes, then the BlueHighlight resumes from Apple. This seems weird and it...