Search found 39 matches

by peterh
23 May 2023, 15:16
Forum: General Discussion
Replies: 3
Views: 545

Re: [C# SDK] Default xmlns does not work in Visual Studio

This raises more questions than answers for me. What is the intended workflow with the project structure in your templates? E.g. adding a new file when opening the blend project will not place that file in the Src folder? Why do you forego the normal C# project structure with project references and ...
by peterh
17 May 2023, 10:03
Forum: General Discussion
Replies: 3
Views: 545

[C# SDK] Default xmlns does not work in Visual Studio

I'm experimenting with the C# SDK, and created a new project using the template provided by the extension. VS can't seem to find the controls from the default namespace, making editing XAML in VS a pain. <Application x:Class="EasyLaser.XT.App.Noesis.App" xmlns="http://schemas.microsof...
by peterh
31 Oct 2022, 14:33
Forum: General Discussion
Replies: 1
Views: 233

Release schedule for Noesis 3.1.6

I am wondering if you have any indications as to the release schedule for Noesis 3.1.6? There are some fixes there I'd really like to get my hands on.
by peterh
03 Aug 2022, 13:11
Forum: General Discussion
Replies: 3
Views: 348

Re: Issue when adding new child elements to a Grid in codebehind.

Hi, I managed to solve it.

For some reason I had two identical NoesisViews (probably some merge conflict resolution gone awry) running at the same time which caused events to be triggered by the top one, but processed by the bottom one.
by peterh
02 Aug 2022, 16:47
Forum: General Discussion
Replies: 3
Views: 348

Issue when adding new child elements to a Grid in codebehind.

We have a piece of code which can be simplified as: public void DoStuff(Panel desiredParent, UserControl child) { desiredParent.Children.Add(child); } In Noesis 3.0, the child element would show up under the "desiredParent" element in Noesis Inspector, as well as render on screen without a...
by peterh
02 Jun 2021, 14:38
Forum: General Discussion
Replies: 2
Views: 890

Grid grows when content grows, but does not shrink when content shrinks.

I have a ScrollViewer ControlTemplate that looks like this (simplified for readability): <ControlTemplate TargetType="{x:Type ScrollViewer}"> <Grid> <DockPanel> <ScrollViewer> <GridViewHeaderRowPresenter /> </ScrollViewer> <ScrollContentPresenter Name="PART_ScrollContentPresenter"...
by peterh
16 Mar 2021, 21:25
Forum: General Discussion
Replies: 2
Views: 890

Re: Preventing user selecting items in a ListView

Turns out the None value is a UWP thing, but the question how to work around there not being one still stands.
by peterh
16 Mar 2021, 21:16
Forum: General Discussion
Replies: 2
Views: 890

Preventing user selecting items in a ListView

In WPF, the SelectionMode property of ListView has a possible value of "None" to prevent a user from selecting items in the ListView. This value seems to be missing in the Noesis.SelectionMode enum. Is there a workaround for this?
by peterh
16 Mar 2021, 21:07
Forum: General Discussion
Replies: 4
Views: 1280

Re: Automated Testing

We have developed an automated testing system that runs in Unity's Playmode Tests framework. It's in-house specific to our product so I can't share any code, but I can share the general principle we use. Assign a unique ID to UI elements relevant to tests using an Attached Property. Elements add the...
by peterh
25 Jan 2021, 15:29
Forum: General Discussion
Replies: 3
Views: 2052

Re: Diagnosing "[noesis] Visual is not a descendant of the specified ancestor"

Are those messages being shown when using Popups normally (by changing its IsOpen property and interacting with them), or are the messages showing when you call in code functions like TransformToAncestor or TransformToDescendant? The messages are shown when opening popups with certain content. We d...