Click here to Skip to main content
15,909,953 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Finding SortDescriptions for a DataGrid Pin
dbrenth25-Aug-10 7:38
dbrenth25-Aug-10 7:38 
GeneralRe: Finding SortDescriptions for a DataGrid Pin
dbrenth25-Aug-10 8:03
dbrenth25-Aug-10 8:03 
Questioninterfaces and access modifiers Pin
Ed Hill _5_24-Aug-10 23:39
Ed Hill _5_24-Aug-10 23:39 
AnswerRe: interfaces and access modifiers [modified] Pin
Pete O'Hanlon24-Aug-10 23:47
mvePete O'Hanlon24-Aug-10 23:47 
GeneralRe: interfaces and access modifiers Pin
Ed Hill _5_25-Aug-10 0:07
Ed Hill _5_25-Aug-10 0:07 
GeneralRe: interfaces and access modifiers Pin
Pete O'Hanlon25-Aug-10 1:27
mvePete O'Hanlon25-Aug-10 1:27 
QuestionCalling one button's IsMouseOver style on mouseEnter of another button Pin
Prasoon Chaudhary24-Aug-10 22:24
Prasoon Chaudhary24-Aug-10 22:24 
QuestionHow to bind the ComboBox which is in a ListView using collection Pin
DavJes24-Aug-10 4:44
DavJes24-Aug-10 4:44 
Hi,

I have listView, which has a GridView Column ,having DataTemplate which has ComboBox, I m binding the listview's Colums using a collection , but this combo alone with another collection . But its not working .

//resource

<objectdataprovider x:key="myList" objecttype="{x:Type local:NameList}">


<listview>...

<gridviewcolumn.celltemplate>

<datatemplate x:name="myDataTemp">

<combobox x:name="Web_Combo" selectedvalue="{Binding Path=MatchedValue, Mode=TwoWay}"

="" itemssource="{Binding Source={StaticResource myList}}" width="100" height="25">







code :

namespace N
{
public class NameList : List<string>
{
public NameList()
{
//this.Add("Name");
//this.Add("Name1");
}

}

public partial class Window5 : Window
{
public NameList pp
{
get;set;
}

public Window5()
{
this.InitializeComponent();
pp = new NameList();
pp.Add("dfgdf");
pp.Add("ggf");
}


}

}

Here if i hard code values inside consturctor its working , if i create object of this class and add items to it. its not binding.


pl let me know how to bind the object of the colletion to combo


thanks
AnswerRe: How to bind the ComboBox which is in a ListView using collection Pin
Ian Shlasko24-Aug-10 5:17
Ian Shlasko24-Aug-10 5:17 
GeneralRe: How to bind the ComboBox which is in a ListView using collection Pin
DavJes25-Aug-10 5:09
DavJes25-Aug-10 5:09 
GeneralRe: How to bind the ComboBox which is in a ListView using collection Pin
Ian Shlasko25-Aug-10 5:53
Ian Shlasko25-Aug-10 5:53 
AnswerRe: How to resolve duplicated ResourceDictionary? Pin
Abhinav S24-Aug-10 5:21
Abhinav S24-Aug-10 5:21 
QuestionSerialize WPF and telerik controls [modified] Pin
michalush8523-Aug-10 20:39
michalush8523-Aug-10 20:39 
AnswerRe: Serialize WPF and telerik controls Pin
souidi abderrahman24-Aug-10 1:13
souidi abderrahman24-Aug-10 1:13 
QuestionGetting the value of Height through OneWayToSource binding Pin
la0123-Aug-10 14:50
la0123-Aug-10 14:50 
AnswerRe: Getting the value of Height through OneWayToSource binding Pin
AspDotNetDev27-Aug-10 11:14
protectorAspDotNetDev27-Aug-10 11:14 
GeneralRe: Getting the value of Height through OneWayToSource binding Pin
la0129-Aug-10 15:24
la0129-Aug-10 15:24 
QuestionHow to cache data at WPF after the application closed? Pin
michalush8522-Aug-10 4:49
michalush8522-Aug-10 4:49 
AnswerRe: How to cache data at WPF after the application closed? Pin
Pete O'Hanlon22-Aug-10 5:04
mvePete O'Hanlon22-Aug-10 5:04 
GeneralRe: How to cache data at WPF after the application closed? Pin
michalush8522-Aug-10 5:18
michalush8522-Aug-10 5:18 
GeneralRe: How to cache data at WPF after the application closed? Pin
Pete O'Hanlon22-Aug-10 5:26
mvePete O'Hanlon22-Aug-10 5:26 
GeneralRe: How to cache data at WPF after the application closed? Pin
michalush8522-Aug-10 20:03
michalush8522-Aug-10 20:03 
GeneralRe: How to cache data at WPF after the application closed? Pin
Pete O'Hanlon22-Aug-10 20:09
mvePete O'Hanlon22-Aug-10 20:09 
GeneralRe: How to cache data at WPF after the application closed? [modified] Pin
michalush8522-Aug-10 20:29
michalush8522-Aug-10 20:29 
GeneralRe: How to cache data at WPF after the application closed? Pin
Pete O'Hanlon22-Aug-10 21:40
mvePete O'Hanlon22-Aug-10 21:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.