Search found 37 matches

by peterh
10 Oct 2016, 14:43
Forum: General Discussion
Replies: 4
Views: 2512

Re: Render text elements on top of Noesis

I went with the approach to alternate hide/show. It works well enough for my use case.
by peterh
03 Oct 2016, 13:16
Forum: General Discussion
Replies: 4
Views: 2512

Render text elements on top of Noesis

In my Unity application, I need to print some text on top of Unity to print out some debug information. I need this text to appear above any Noesis elements and/or Unity GUI elements. The style of the text does not really matter as it's only for debug reasons, the only requirement is that it never s...
by peterh
15 Apr 2016, 08:51
Forum: General Discussion
Replies: 3
Views: 2299

Re: Global keybindings in Noesis

I can't get your workaround to work. I tried moving the keybinding out to the root element: <UserControl x:Class="MyNamespace.LayoutRoot" x:Name="Root"> <Grid> <Grid.InputBindings> <KeyBinding Command="{Binding SomeCommand}" Gesture="Enter" /> </Grid.InputBind...
by peterh
12 Apr 2016, 11:48
Forum: General Discussion
Replies: 3
Views: 2299

Global keybindings in Noesis

I am creating a Unity application using NoesisGUI. My NoesisGUIPanel uses a UserControl named LayoutRoot as root for the GUI. Inside this app, I have a button, let's call it ActionButton, which is a UserControl that is used in various views (but not all) in the app. Whenever ActionButton is used in ...
by peterh
07 Jan 2016, 14:42
Forum: General Discussion
Replies: 3
Views: 2912

Re: StopStoryboard in DataTrigger.EndActions

Thanks for the tip, but I'm afraid my real use case is a bit too complex for that workaround to work. I'll have to do without the animation for the time being.
by peterh
21 Dec 2015, 16:28
Forum: General Discussion
Replies: 3
Views: 2912

StopStoryboard in DataTrigger.EndActions

I am writing a style containing a DataTrigger that will animate on certain states. Right now, when leaving the state, the animation will not stop. I have tried including a StopStoryboard action in my DataTrigger.EndActions block, but no luck. Am I doing something wrong here? <Style x:Key="MySty...
by peterh
18 Nov 2015, 16:26
Forum: General Discussion
Replies: 1
Views: 1659

[C#] Resolving static enum reference

I am writing a DataTrigger that's supposed to react to changes in an enum: <DataTrigger Binding="{Binding MyEnum}" Value="{x:Static ns:AnEnum.A}"> <Setter Property="Content" Value="{StaticResource ResourceA}"/> </DataTrigger> <DataTrigger Binding="{Bindin...
by peterh
10 Nov 2015, 13:40
Forum: General Discussion
Replies: 1
Views: 1229

DependencyProperty with double type.

I am trying to declare a DependencyProperty: public static DependencyProperty BatteryLevelProperty = DependencyProperty.Register("BatteryLevel", typeof(double), typeof(BatteryIndicator), new PropertyMetadata(0, OnBatteryLevelChangedCallback)); But when building Noesis fails with the error ...
by peterh
04 Sep 2015, 15:41
Forum: General Discussion
Replies: 2
Views: 1422

Re: Noesis swallows useful exception information.

That's great, thanks!
by peterh
02 Sep 2015, 09:30
Forum: General Discussion
Replies: 4
Views: 2477

Re: KeyBindings in Noesis

I filed this in the tracker, and it was included in 1.2.4 http://www.noesisengine.com/docs/Gui.Co ... gelog.html
Enhancement InputBindings are now DependencyObjects and Command is a DependencyProperty so bindings can be set.