Search found 95 matches

by darthmaule2
25 Jul 2019, 21:07
Forum: General Discussion
Replies: 4
Views: 256

Re: Master-detail pattern works in WPF but does not seem to work in Noesis

That works great, thanks.
by darthmaule2
25 Jul 2019, 19:26
Forum: General Discussion
Replies: 4
Views: 256

Re: Master-detail pattern works in WPF but does not seem to work in Noesis

Attaching an example isn't working for me in any browser... could be my work's proxy. I'll try from home later.
by darthmaule2
25 Jul 2019, 19:26
Forum: General Discussion
Replies: 4
Views: 256

Re: Master-detail pattern works in WPF but does not seem to work in Noesis

Attempting to add minimal example attachment...
by darthmaule2
25 Jul 2019, 19:21
Forum: General Discussion
Replies: 4
Views: 256

Master-detail pattern works in WPF but does not seem to work in Noesis

I use this pattern to display settings in a WPF application. So, the UI is a split view, with settings "Categories" (the "master" in the pattern) on the left. The individual settings for a given Category (the "detail" in the pattern) are displayed on the right. As you select different categories on ...
by darthmaule2
12 Jul 2019, 21:39
Forum: General Discussion
Replies: 4
Views: 816

Re: Having trouble using new EventTrigger with InvokeCommandAction (Managed Noesis 2.2.3)

I do have another question about this scenario -- why is the param = null? I would except it would contain the source object so I can know what triggered the command? This happens in your minimal example.
by darthmaule2
12 Jul 2019, 21:30
Forum: General Discussion
Replies: 4
Views: 816

Re: Having trouble using new EventTrigger with InvokeCommandAction (Managed Noesis 2.2.3)

Short story: Thanks for the minimal working example - it helped me figure this out - and I now I see what I did wrong... Long story: When I had previously ported some Prism classes, I saw ICommand was required, but that it was in System.Windows.Input. Thinking (incorrectly, apparently) it was a Wind...
by darthmaule2
11 Jul 2019, 19:26
Forum: General Discussion
Replies: 4
Views: 816

Having trouble using new EventTrigger with InvokeCommandAction (Managed Noesis 2.2.3)

I'm trying to connect the PreviewMouseDown event from my View to a DelegateCommand in my ViewModel. My View's DataContext is properly set to my ViewModel and binding is working fine. View.xaml <UserControl x:Class="Modules.FileManager.FileManagerView" xmlns="http://schemas.microsoft.com/winfx/2006/x...
by darthmaule2
30 May 2019, 12:01
Forum: General Discussion
Replies: 2
Views: 992

Re: Unable to set custom ControlTemplate for a MenuItem

Thanks, I have this working with the style you posted and my template:
        <ControlTemplate x:Key="TopLevelItemTemplate" TargetType="MenuItem">
by darthmaule2
29 May 2019, 22:22
Forum: General Discussion
Replies: 2
Views: 992

Unable to set custom ControlTemplate for a MenuItem

I confirmed the following works in WPF but not in Noesis. I did then realize you didn't yet have complete support for "x:Static"... <ControlTemplate x:Key="{x:Static MenuItem.TopLevelItemTemplateKey}" TargetType="MenuItem"> <Border x:Name="MenuItemBorder" Width="190" Height="100" BorderThickness="1"...
by darthmaule2
14 May 2019, 19:56
Forum: General Discussion
Replies: 1
Views: 574

Trying to bind to a BitmapImage created with a Uri pointing to an embedded resource

I have a folder called "Images" which contains an embedded resource "MyImage.png". I can display that image without any issues if I do it like this <Image Source="Images/MyImage.png"></Image> But, I can't load the image using a Uri from code-behind... I can see that FileTextureProvider::OpenStream(s...