Click here to Skip to main content
15,884,388 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: INotifyPropertyChanged on Interface class property? Pin
Pete O'Hanlon29-May-12 22:03
mvePete O'Hanlon29-May-12 22:03 
GeneralRe: INotifyPropertyChanged on Interface class property? Pin
Adam_Dev29-May-12 22:10
Adam_Dev29-May-12 22:10 
GeneralRe: INotifyPropertyChanged on Interface class property? Pin
Pete O'Hanlon29-May-12 22:43
mvePete O'Hanlon29-May-12 22:43 
GeneralRe: INotifyPropertyChanged on Interface class property? Pin
Adam_Dev30-May-12 0:51
Adam_Dev30-May-12 0:51 
GeneralRe: INotifyPropertyChanged on Interface class property? Pin
Pete O'Hanlon30-May-12 1:17
mvePete O'Hanlon30-May-12 1:17 
Questionthe wpf added winform controls Pin
dengzn28-May-12 22:43
dengzn28-May-12 22:43 
AnswerRe: the wpf added winform controls Pin
Pete O'Hanlon28-May-12 23:01
mvePete O'Hanlon28-May-12 23:01 
AnswerRe: the wpf added winform controls Pin
Cracked-Down29-May-12 0:36
Cracked-Down29-May-12 0:36 
There is a workaround which can be used to avoid this issue

You need to wrap the WinformHost with UserControl of WPF.

Follow these steps
1. Create a user control in the WPF (lookless control)
2. Create a style for this control
3. In the template of the style add WinformHost with x:name
4. Now override the OnApplyTemplate() of this control
5. Provide the .Child property of the Winformhost, added in the control
template to the actual winform control that you want to display.

Wrapping the winform control in the WPF control will avoid overlapping the WPF controls.

This overlapping is due to difference in the mechanism for rendering control in WPF and Winforms.

Winforms: uses GDI+ for rendering
WPF: uses DirectX for rendering

Hope this will help you to solve your problem

Happy Coding
Smile | :)

modified 30-May-12 0:49am.

QuestionDirectshow in silverlight Pin
ebrahim rajabloo28-May-12 3:16
ebrahim rajabloo28-May-12 3:16 
AnswerRe: Directshow in silverlight Pin
Abhinav S28-May-12 4:23
Abhinav S28-May-12 4:23 
GeneralRe: Directshow in silverlight Pin
ebrahim rajabloo28-May-12 17:41
ebrahim rajabloo28-May-12 17:41 
GeneralRe: Directshow in silverlight Pin
Pete O'Hanlon28-May-12 20:18
mvePete O'Hanlon28-May-12 20:18 
QuestionOperation could destabilize the runtime!!! Pin
ebrahim rajabloo26-May-12 22:19
ebrahim rajabloo26-May-12 22:19 
QuestionWPF HierarchicalDataTemplate Questions: Pin
Kevin Marois24-May-12 14:21
professionalKevin Marois24-May-12 14:21 
AnswerRe: WPF HierarchicalDataTemplate Questions: Pin
Cracked-Down25-May-12 2:18
Cracked-Down25-May-12 2:18 
AnswerRe: WPF HierarchicalDataTemplate Questions: Pin
Cracked-Down25-May-12 7:33
Cracked-Down25-May-12 7:33 
GeneralRe: WPF HierarchicalDataTemplate Questions: Pin
Kevin Marois29-May-12 13:08
professionalKevin Marois29-May-12 13:08 
GeneralRe: WPF HierarchicalDataTemplate Questions: Pin
Cracked-Down29-May-12 18:55
Cracked-Down29-May-12 18:55 
GeneralRe: WPF HierarchicalDataTemplate Questions: Pin
Pete O'Hanlon29-May-12 22:27
mvePete O'Hanlon29-May-12 22:27 
QuestionHow to get to the top in wpf datagrid blank row? Pin
cengiz02624-May-12 10:19
cengiz02624-May-12 10:19 
AnswerRe: How to get to the top in wpf datagrid blank row? Pin
Mycroft Holmes24-May-12 12:43
professionalMycroft Holmes24-May-12 12:43 
QuestionCS6 Subscription and Creative Cloud Pin
Mark Walter Smith24-May-12 8:59
Mark Walter Smith24-May-12 8:59 
AnswerRe: CS6 Subscription and Creative Cloud Pin
Pete O'Hanlon24-May-12 9:15
mvePete O'Hanlon24-May-12 9:15 
QuestionLocalization in Silverlight Pin
Shirish kumar manda23-May-12 0:46
Shirish kumar manda23-May-12 0:46 
AnswerRe: Localization in Silverlight Pin
Abhinav S23-May-12 3:39
Abhinav S23-May-12 3:39 

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.