Search found 13 matches

  • 1
  • 2
by CMarinacci
13 Apr 2019, 21:35
Forum: General Discussion
Replies: 2
Views: 205

Re: ListView not working in Unity v2.2.1?

I can get this to work if I define a View for the ListView, but in WPF you don't have to.

Thanks,

Chris
by CMarinacci
13 Apr 2019, 21:09
Forum: General Discussion
Replies: 2
Views: 205

ListView not working in Unity v2.2.1?

I have a relatively simple ListView declaration: <ListView FontSize="20" Width="300" Height="300"> <ListView.Items> <ListViewItem Content="Item 1" /> <ListViewItem Content="Item 2" /> <ListViewItem Content="Item 3" /> <ListViewItem Content="Item 4" /> <ListViewItem Content="Item 5" /> </ListView.Ite...
by CMarinacci
16 Jun 2018, 01:05
Forum: General Discussion
Replies: 3
Views: 833

Re: All 2018 versions of the Unity editor may crash on an exception when using NoesisGUI

The crash happens with Unity 2018.1.5.f1as well.

Thanks,

Chris
by CMarinacci
12 Jun 2018, 22:17
Forum: General Discussion
Replies: 3
Views: 833

All 2018 versions of the Unity editor may crash on an exception when using NoesisGUI

To reproduce the crash: 1. Install Unity 2018.1.4.f1 (the latest release as of this post). 2. Start up Unity and create a new 2D Unity project. 3. Install the latest NoesisGUI Unity package (2.1.0f1) into the project. 4. Load the ControlGallery scene from the NoesisGUI Samples folder. 5. In the Asse...
by CMarinacci
13 Mar 2018, 22:57
Forum: General Discussion
Replies: 5
Views: 890

Re: Possible issue with bound DataContext (v2.1.0f1 Unity)

When using the ElementName binding, the code works correctly. The ToolTip's DataContext is set once when the parent UserControl loads, and never changes after that. I'll report it in the bugtracker. I'll see if I can come up with a simple project that reproduces it, but it may not be possible to mak...
by CMarinacci
13 Mar 2018, 17:30
Forum: General Discussion
Replies: 5
Views: 890

Re: Possible issue with bound DataContext (v2.1.0f1 Unity)

The DataContext doesn't change to null when the ToolTip closes, it changes to null when another non-text ToolTip connected to a different control opens. Opening a text-only ToolTip seems to be what stops the DataContext switching behavior. The DataContext does not switch after this, so it stays in w...
by CMarinacci
13 Mar 2018, 05:55
Forum: General Discussion
Replies: 5
Views: 890

Possible issue with bound DataContext (v2.1.0f1 Unity)

I have a ToolTip created from a UserControl. The ToolTip's DataContext is bound to a property of its parent's DataContext. I am not changing any of these values in codebehind -- they do not change once they are initially set. The value of the ToolTip's DataContext switches back and forth between the...
by CMarinacci
06 Mar 2018, 01:01
Forum: General Discussion
Replies: 0
Views: 1373

Binding to ObservableCollection elements not always working when ObservableCollection is modified (Unity 2.1.0rc3)

I bound some controls to the indexed elements of an ObservableCollection. When the ObservableCollection was modified, the controls were not always updated. WPF handles this case correctly. I've attached a ZIP file containing a couple of solutions that show this behavior: BindingTest.sln: A Unity ver...
by CMarinacci
01 Mar 2018, 22:24
Forum: General Discussion
Replies: 1
Views: 638

Enum binding different than in WPF (Unity)

If you bind an enum property to the Text property of a TextBlock in NoesisGUI, the Text property is not set to the ToString() value of the enum property, as it is in WPF. I tried working around this by using an IValueConverter, but the value passed by NoesisGUI to the Convert method is an int instea...
  • 1
  • 2