Search found 1599 matches

by sfernandez
09 Aug 2019, 11:23
Forum: General Discussion
Replies: 6
Views: 65

Re: Trouble binding to an ItemsControl from a template.

For a basic ItemsControl the container type is a ContentPresenter so there is no other way to customize item representation than DataTemplates. But if you are using a ListBox then the container is a ListBoxItem, a control that has its own ControlTemplate, so you can create a single Style for all you...
by sfernandez
08 Aug 2019, 19:27
Forum: General Discussion
Replies: 4
Views: 79

Re: Trouble porting a custom Button from WPF to Noesis

By default we were logging all that information to the debugger Output window, unfortunately I just found that it was only working for the debug version of the library (we were using System.Diagnostics.Debug.WriteLine), so it was in fact useless if user didn't build their own debug version of Noesis...
by sfernandez
08 Aug 2019, 02:05
Forum: General Discussion
Replies: 6
Views: 64

Re: Text not rendering in Unity

Thanks for the update, marking post as solved.
by sfernandez
07 Aug 2019, 17:31
Forum: General Discussion
Replies: 6
Views: 65

Re: Trouble binding to an ItemsControl from a template.

You have to define the ItemTemplate used to render each of the items in the list so you can specify the "Separator" for each item, not in the ItemsControl template which will appear only once: <Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.c...
by sfernandez
07 Aug 2019, 16:56
Forum: General Discussion
Replies: 4
Views: 48

Re: Any way to attach a command to the PreviewMouseDown event of a ListViewItem?

Noesis.GUI.Extensions NuGet is only required for WPF Blend editing.
Those classes are already exposed in the cross-platform Noesis.App NuGet, so it will correctly work in your .NET Core 3.0 project.
by sfernandez
07 Aug 2019, 13:39
Forum: General Discussion
Replies: 4
Views: 57

Re: Problems with referencing resources.

Already created the report so you can track it: #1529
by sfernandez
07 Aug 2019, 12:54
Forum: General Discussion
Replies: 6
Views: 65

Re: Trouble binding to an ItemsControl from a template.

Where exactly do you want that "Separator" to show? In between each item?
by sfernandez
07 Aug 2019, 12:52
Forum: General Discussion
Replies: 4
Views: 48

Re: Any way to attach a command to the PreviewMouseDown event of a ListViewItem?

We implemented an extension in Noesis to define interactivity triggers/behaviors in styles, and you can use that in ListViewItem style like this: <Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:i="http://schemas.mic...
by sfernandez
07 Aug 2019, 12:19
Forum: General Discussion
Replies: 4
Views: 79

Re: Trouble porting a custom Button from WPF to Noesis

Hello, Noesis doesn't implement ComponentResourceKey , the xaml parser should be logging that as an error like: [noesis] StandardToggleButton.xaml(11): Can't set an extension of type 'ComponentResourceKey' as Key But you can use string keys in this case and it works as expected: <ControlTemplate x:K...
by sfernandez
07 Aug 2019, 11:43
Forum: General Discussion
Replies: 6
Views: 64

Re: Text not rendering in Unity

What settings do you have in Unity's Game tab for Resolution and Scale (top-left of the Game view). Maybe you have it configured so the render surface is bigger than the actual size of that view so it gets clipped. Please try it with "Free Aspect" and "Scale 1x" and let us know if that fixes your pr...