Click here to Skip to main content
15,891,184 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: How to make a WPF control appear on top of all other controls? Pin
Pravinc19848-Sep-08 18:55
Pravinc19848-Sep-08 18:55 
GeneralRe: How to make a WPF control appear on top of all other controls? Pin
chaiguy13379-Sep-08 11:17
chaiguy13379-Sep-08 11:17 
GeneralRe: How to make a WPF control appear on top of all other controls? Pin
chaiguy13379-Sep-08 11:19
chaiguy13379-Sep-08 11:19 
GeneralRe: How to make a WPF control appear on top of all other controls? Pin
Tinkering Turtle23-Sep-09 10:10
Tinkering Turtle23-Sep-09 10:10 
QuestionHow to change Image Source on MouseDown event in WPF? Pin
divyesh14327-Sep-08 19:00
divyesh14327-Sep-08 19:00 
AnswerRe: How to change Image Source on MouseDown event in WPF? Pin
Pete O'Hanlon7-Sep-08 23:45
mvePete O'Hanlon7-Sep-08 23:45 
GeneralRe: How to change Image Source on MouseDown event in WPF? Pin
JoanComasFdz28-Oct-10 6:43
JoanComasFdz28-Oct-10 6:43 
QuestionHow to add Controls to ListView Control in WPF Pin
bruze6-Sep-08 10:16
bruze6-Sep-08 10:16 
Can any one Help,


I have tried add Controls to ListView Control in WPF Application.

<br />
private void Form_Load(object Sender, RoutedEventArgs e)<br />
        {<br />
            Button btn = new Button();<br />
            btn.Name = "Button1";<br />
            btn.Content = "Button Text";<br />
            listView1.Controls.Add(btn);<br />
            //this.listView1.Controls.Add(new Button()); <br />
            <br />
        }<br />


But I got the Error

'System.Windows.Controls.ListView' does not contain a definition for 'Controls'

How to add Controls to ListView Control in WPF

Thanks,
Sivaprasad
AnswerRe: How to add Controls to ListView Control in WPF Pin
Pete O'Hanlon7-Sep-08 8:44
mvePete O'Hanlon7-Sep-08 8:44 
QuestionHow to access button in some other cs file Pin
Aslesh5-Sep-08 6:51
Aslesh5-Sep-08 6:51 
AnswerRe: How to access button in some other cs file Pin
Pete O'Hanlon5-Sep-08 9:09
mvePete O'Hanlon5-Sep-08 9:09 
GeneralRe: How to access button in some other cs file Pin
Aslesh5-Sep-08 9:15
Aslesh5-Sep-08 9:15 
GeneralRe: How to access button in some other cs file Pin
Pete O'Hanlon5-Sep-08 9:21
mvePete O'Hanlon5-Sep-08 9:21 
GeneralRe: How to access button in some other cs file Pin
Aslesh5-Sep-08 9:49
Aslesh5-Sep-08 9:49 
QuestionWCF - Move app.config settings into code Pin
#realJSOP5-Sep-08 6:17
mve#realJSOP5-Sep-08 6:17 
AnswerRe: WCF - Move app.config settings into code Pin
Pete O'Hanlon5-Sep-08 9:17
mvePete O'Hanlon5-Sep-08 9:17 
GeneralRe: WCF - Move app.config settings into code Pin
#realJSOP5-Sep-08 9:41
mve#realJSOP5-Sep-08 9:41 
GeneralRe: WCF - Move app.config settings into code Pin
Pete O'Hanlon5-Sep-08 9:49
mvePete O'Hanlon5-Sep-08 9:49 
QuestionSnoop Pin
Jammer5-Sep-08 3:09
Jammer5-Sep-08 3:09 
AnswerRe: Snoop Pin
Pete O'Hanlon5-Sep-08 9:38
mvePete O'Hanlon5-Sep-08 9:38 
GeneralRe: Snoop Pin
Jammer7-Sep-08 1:34
Jammer7-Sep-08 1:34 
AnswerRe: Snoop Pin
Paul Conrad7-Sep-08 5:24
professionalPaul Conrad7-Sep-08 5:24 
GeneralRe: Snoop Pin
Jammer7-Sep-08 23:30
Jammer7-Sep-08 23:30 
QuestionSmall question re: customized controls in WPF Pin
chaiguy13374-Sep-08 17:12
chaiguy13374-Sep-08 17:12 
AnswerRe: Small question re: customized controls in WPF Pin
Pete O'Hanlon4-Sep-08 22:46
mvePete O'Hanlon4-Sep-08 22:46 

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.