Click here to Skip to main content
15,908,675 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: How to create a collapsible panel in WPF Pin
abetterword29-Dec-10 9:20
abetterword29-Dec-10 9:20 
QuestionUDP & WCF Pin
Mohammad Dayyan19-Aug-09 22:00
Mohammad Dayyan19-Aug-09 22:00 
AnswerRe: UDP & WCF Pin
Pete O'Hanlon19-Aug-09 22:51
mvePete O'Hanlon19-Aug-09 22:51 
QuestionProblem with Silverlight application using WCF Service to get the data from database without LINQ Pin
ravi.vellanky19-Aug-09 21:15
ravi.vellanky19-Aug-09 21:15 
QuestionRe: Problem with Silverlight application using WCF Service to get the data from database without LINQ Pin
Mark Salsbery20-Aug-09 6:03
Mark Salsbery20-Aug-09 6:03 
AnswerRe: Problem with Silverlight application using WCF Service to get the data from database without LINQ Pin
ravi.vellanky20-Aug-09 18:18
ravi.vellanky20-Aug-09 18:18 
GeneralRe: Problem with Silverlight application using WCF Service to get the data from database without LINQ Pin
Mark Salsbery21-Aug-09 6:55
Mark Salsbery21-Aug-09 6:55 
AnswerRe: Problem with Silverlight application using WCF Service to get the data from database without LINQ Pin
Edbert P31-Aug-09 16:33
Edbert P31-Aug-09 16:33 
GeneralRe: Problem with Silverlight application using WCF Service to get the data from database without LINQ Pin
ravi.vellanky31-Aug-09 18:15
ravi.vellanky31-Aug-09 18:15 
QuestionWPFToolkit - Sort Arrows in DataGrid Pin
#realJSOP19-Aug-09 4:42
professional#realJSOP19-Aug-09 4:42 
AnswerRe: WPFToolkit - Sort Arrows in DataGrid Pin
User 27100923-Aug-09 4:54
User 27100923-Aug-09 4:54 
QuestionPopulate a DataGrid WITHOUT Binding Pin
#realJSOP19-Aug-09 3:23
professional#realJSOP19-Aug-09 3:23 
AnswerRe: Populate a DataGrid WITHOUT Binding Pin
Pete O'Hanlon19-Aug-09 3:56
mvePete O'Hanlon19-Aug-09 3:56 
QuestionHow can I prevent a user to click a button more than once Pin
fiaolle18-Aug-09 9:13
fiaolle18-Aug-09 9:13 
AnswerRe: How can I prevent a user to click a button more than once Pin
Pete O'Hanlon18-Aug-09 9:56
mvePete O'Hanlon18-Aug-09 9:56 
GeneralRe: How can I prevent a user to click a button more than once Pin
fiaolle19-Aug-09 23:04
fiaolle19-Aug-09 23:04 
GeneralRe: How can I prevent a user to click a button more than once Pin
Pete O'Hanlon20-Aug-09 9:01
mvePete O'Hanlon20-Aug-09 9:01 
GeneralRe: How can I prevent a user to click a button more than once Pin
Jeremy Likness25-Aug-09 10:03
professionalJeremy Likness25-Aug-09 10:03 
QuestionAdding the WPF Ribbon Bar as a resource for my other apps Pin
trey white18-Aug-09 7:11
trey white18-Aug-09 7:11 
AnswerRe: Adding the WPF Ribbon Bar as a resource for my other apps Pin
Pete O'Hanlon18-Aug-09 9:24
mvePete O'Hanlon18-Aug-09 9:24 
I'm a bit confused as to what you're actually asking. Are you asking whether you can host none-WPF windows inside the application so that they appear to be running inside a ribbon enabled WPF application? If you are, then yes you can - as long as you add the WindowsFormsIntegration and System.Windows.Forms assemblies as in the following:
<Window x:Class="WpfForm.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:wfi="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration"
    xmlns:wf="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
    xmlns:myForm="clr-namespace:MyFormsNamespace;assembly=MyFormsApp"
    Title="Host in WPF" Height="400" Width="300"
    >

  <Grid>
    <wfi:WindowsFormsHost>
      <myForm:MyWindowForm />
    </wfi:WindowsFormsHost>
  </Grid>
</Window>
In this sample, you can see that I've added the windows form inside the WindowsFormsHost.

"WPF has many lovers. It's a veritable porn star!" - Josh Smith

As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.


My blog | My articles | MoXAML PowerToys | Onyx



GeneralRe: Adding the WPF Ribbon Bar as a resource for my other apps Pin
trey white18-Aug-09 10:26
trey white18-Aug-09 10:26 
GeneralRe: Adding the WPF Ribbon Bar as a resource for my other apps Pin
Pete O'Hanlon18-Aug-09 10:46
mvePete O'Hanlon18-Aug-09 10:46 
GeneralRe: Adding the WPF Ribbon Bar as a resource for my other apps Pin
trey white18-Aug-09 11:00
trey white18-Aug-09 11:00 
GeneralRe: Adding the WPF Ribbon Bar as a resource for my other apps Pin
Pete O'Hanlon18-Aug-09 11:11
mvePete O'Hanlon18-Aug-09 11:11 
QuestionWebClient usage from Silverlight not working fo me (Security?) Pin
pisanis18-Aug-09 5:06
pisanis18-Aug-09 5:06 

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.