blah blah blah is here! blah blah » Close

0
votes
0 answers

WPF ListView column sizing woes

So I'm just wondering how people are handling the unfortunate side effect of the Virtualizing StackPanel where columns are not auto sizing to handle items that are not shown? For example: ------------ top of listview | Header | ...

0
votes
1 answers

Realign ListView contents.

I have this in my code to retreive the ListView contents and save to a file. But the alignment is wrong. How do I set it to be right? // save to textfile StreamWriter sw = new StreamWriter(@"D:\test.txt" ...

1
votes
6 answers

C# WinForms: Embed NumericUpDown control inside a ListView

Would it be easier if I change my ListBox to ListView? In another words, I want to embedded NumericUpDown control inside a ListView such that the 3rd column (Quantity) of the ListView is controlled by the NumericUpDown. The item for Quan ...

1
votes
1 answers

C# Update ListBox2 When ListBox1 items are selected.

Hi, I have two listboxes on my form and I want to update listbox2 whenever an iem in listbox1 is clicked. For example, Listbox1 will have category names like countries; USA, Canada, UK, France and so on. And Listbox 2 will have city n ...

-1
votes
0 answers

C#: Get ListView Items values.

i have the this code [code] ListVie.Columns.Add("H1", 120, HorizontalAlignment.Left); ListVie.Columns.Add("H2", 80, HorizontalAlignment.Left); ListVie.Columns.Add("H3", 80, Horizont ...

1
votes
1 answers

Navigating Webbrowser to Listview item C#

Hi, I am working on a small application which has a listview and webbrowser control. I have a list of URLs in the first column of the list view and I want the webbrowser to navigate to that URL once the item in the listview is clicked, i ...

0
votes
1 answers

Handle a flickering listview.

Please help me to solve this problem : I have 2 treeview and 2 listview The first treeview show a directory structure just like in explorer window. and the second treeview show another directory structure from remote computer. if i ...

0
votes
0 answers

Export chart and listview data from wpf to excel in c#

I have a form in which i am displaying a lisview with a gridview in it to show data in tabular format. I have a chart in the wpf form as well. I want to export these two controls to one excel sheet. How can i do so? Thanks sumit

0
votes
0 answers

Drag and drop files

I'm looking for a quick tutorial on how to handle dropping of files onto a list view control on a form from Windows Explorer. What I want is that when the user drops a file or some files onto the list view on the form, the list view adds ...

Feedback