Click here to Skip to main content
15,914,014 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Creating readonly objects in a WPF RichTextBox Pin
Pete O'Hanlon11-Sep-08 12:26
mvePete O'Hanlon11-Sep-08 12:26 
GeneralRe: Creating readonly objects in a WPF RichTextBox Pin
chaiguy133713-Sep-08 7:50
chaiguy133713-Sep-08 7:50 
QuestionCan not Convert System.Windows.Controls to System.Windows.Forms.Controls [modified] Pin
bruze11-Sep-08 3:29
bruze11-Sep-08 3:29 
AnswerRe: Can not Convert System.Windows.Controls to System.Windows.Forms.Controls Pin
chaiguy133713-Sep-08 7:56
chaiguy133713-Sep-08 7:56 
QuestionWPF Control Like Asp.net's Datalist Pin
divyesh14329-Sep-08 20:39
divyesh14329-Sep-08 20:39 
QuestionIs it possible to have a transparent "hole" in a layer of WPF? Pin
chaiguy13378-Sep-08 14:52
chaiguy13378-Sep-08 14:52 
AnswerRe: Is it possible to have a transparent "hole" in a layer of WPF? [modified] Pin
Pete O'Hanlon9-Sep-08 10:51
mvePete O'Hanlon9-Sep-08 10:51 
GeneralRe: Is it possible to have a transparent "hole" in a layer of WPF? Pin
chaiguy13379-Sep-08 11:09
chaiguy13379-Sep-08 11:09 
GeneralRe: Is it possible to have a transparent "hole" in a layer of WPF? Pin
Pete O'Hanlon9-Sep-08 11:12
mvePete O'Hanlon9-Sep-08 11:12 
GeneralRe: Is it possible to have a transparent "hole" in a layer of WPF? Pin
chaiguy13379-Sep-08 11:22
chaiguy13379-Sep-08 11:22 
QuestionComposite Application Guidance Pin
Jammer8-Sep-08 0:52
Jammer8-Sep-08 0:52 
AnswerRe: Composite Application Guidance Pin
Pete O'Hanlon8-Sep-08 1:07
mvePete O'Hanlon8-Sep-08 1:07 
GeneralRe: Composite Application Guidance Pin
Jammer8-Sep-08 1:12
Jammer8-Sep-08 1:12 
QuestionHow to make a WPF control appear on top of all other controls? Pin
Pravinc19848-Sep-08 0:43
Pravinc19848-Sep-08 0:43 
AnswerRe: How to make a WPF control appear on top of all other controls? Pin
Insincere Dave8-Sep-08 6:30
Insincere Dave8-Sep-08 6:30 
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 

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.