Click here to Skip to main content
15,389,584 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Enregistrer en RTF un RichTextBox / Save RTF RichTextBox Pin
Gerry Schmitz4-Aug-19 6:51
mveGerry Schmitz4-Aug-19 6:51 
GeneralRe: Enregistrer en RTF un RichTextBox / Save RTF RichTextBox Pin
dctc335-Aug-19 23:54
Memberdctc335-Aug-19 23:54 
GeneralRe: Enregistrer en RTF un RichTextBox / Save RTF RichTextBox Pin
Gerry Schmitz6-Aug-19 4:56
mveGerry Schmitz6-Aug-19 4:56 
QuestionListBox - Validate One or More Selections Pin
Kevin Marois22-Jul-19 9:30
professionalKevin Marois22-Jul-19 9:30 
QuestionWPF DataTemplateSelector Question Pin
Kevin Marois18-Jul-19 19:44
professionalKevin Marois18-Jul-19 19:44 
AnswerRe: WPF DataTemplateSelector Question Pin
Richard Deeming19-Jul-19 1:07
mveRichard Deeming19-Jul-19 1:07 
GeneralRe: WPF DataTemplateSelector Question Pin
Kevin Marois19-Jul-19 16:01
professionalKevin Marois19-Jul-19 16:01 
GeneralRe: WPF DataTemplateSelector Question Pin
Kevin Marois19-Jul-19 16:39
professionalKevin Marois19-Jul-19 16:39 
That did it. Here's what I came up with:
<pre>public static class VisualTreeExtensions
{
    public static T FindParentOfType<T>(this DependencyObject child) where T : DependencyObject
    {
        DependencyObject parentDepObj = child;
        do
        {
            parentDepObj = VisualTreeHelper.GetParent(parentDepObj);
            T parent = parentDepObj as T;
            if (parent != null) return parent;
        }
        while (parentDepObj != null);
        return null;
    }
}

If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.

AnswerWPF ListBox Drag and drop Security elevation issue. Pin
Alisaunder12-Jun-19 16:13
MemberAlisaunder12-Jun-19 16:13 
QuestionUser Control - Dependancy property MVVM Pin
MichaelLuna10-Jun-19 14:33
MemberMichaelLuna10-Jun-19 14:33 
QuestionContentPresenter and ghost Views\ViewModels Pin
jbravofaria5-Jun-19 0:29
Memberjbravofaria5-Jun-19 0:29 
AnswerRe: ContentPresenter and ghost Views\ViewModels Pin
Gerry Schmitz5-Jun-19 6:40
mveGerry Schmitz5-Jun-19 6:40 
GeneralRe: ContentPresenter and ghost Views\ViewModels Pin
jbravofaria5-Jun-19 9:22
Memberjbravofaria5-Jun-19 9:22 
GeneralRe: ContentPresenter and ghost Views\ViewModels Pin
Gerry Schmitz6-Jun-19 5:47
mveGerry Schmitz6-Jun-19 5:47 
Questiondeployment size with WPF on .NET Core Pin
Super Lloyd2-Jun-19 14:47
MemberSuper Lloyd2-Jun-19 14:47 
AnswerRe: deployment size with WPF on .NET Core Pin
Mycroft Holmes2-Jun-19 16:02
professionalMycroft Holmes2-Jun-19 16:02 
GeneralRe: deployment size with WPF on .NET Core Pin
Super Lloyd2-Jun-19 16:44
MemberSuper Lloyd2-Jun-19 16:44 
GeneralRe: deployment size with WPF on .NET Core Pin
Gerry Schmitz5-Jun-19 6:49
mveGerry Schmitz5-Jun-19 6:49 
GeneralRe: deployment size with WPF on .NET Core Pin
Super Lloyd5-Jun-19 14:26
MemberSuper Lloyd5-Jun-19 14:26 
AnswerRe: deployment size with WPF on .NET Core Pin
Eddy Vluggen6-Jun-19 0:10
professionalEddy Vluggen6-Jun-19 0:10 
GeneralRe: deployment size with WPF on .NET Core Pin
Super Lloyd6-Jun-19 0:52
MemberSuper Lloyd6-Jun-19 0:52 
AnswerWPF ListBoxView Problem Pin
Alisaunder23-May-19 2:17
MemberAlisaunder23-May-19 2:17 
AnswerRe: WPF ListBoxView Problem Pin
Gerry Schmitz23-May-19 3:31
mveGerry Schmitz23-May-19 3:31 
AnswerRe: WPF ListBoxView Problem Pin
Alisaunder23-May-19 7:19
MemberAlisaunder23-May-19 7:19 
GeneralRe: WPF ListBoxView Problem Pin
Gerry Schmitz23-May-19 7:44
mveGerry Schmitz23-May-19 7:44 

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.