Search found 1524 matches

by sfernandez
14 Jun 2019, 13:15
Forum: General Discussion
Replies: 1
Views: 11

Re: ListBox's ScrollBar and Unity's MainCamera scroll simultaneously when the mouse wheel is swiped

Hi, To determine when mouse is over the UI you can use the following: Noesis.Visual root = Noesis.VisualTreeHelper.GetRoot(m_view.Content); Noesis.Point mousePos = new Noesis.Point(UnityEngine.Input.mousePosition.x, UnityEngine.Screen.height - UnityEngine.Input.mousePosition.y); Noesis.HitTestResult...
by sfernandez
12 Jun 2019, 11:12
Forum: General Discussion
Replies: 5
Views: 40

Re: How to keep font in fixed size

Could you please open this last question as another topic, it would be easier for other people looking for the same problem to find it that way.
Thanks for your collaboration.
by sfernandez
12 Jun 2019, 11:05
Forum: General Discussion
Replies: 9
Views: 86

Re: How to get Actual Size programmatically based on internal content?

What I'm trying to say is that you can create a Menu control in code and feed it with a list of items and it will automatically populate and position the menu items for you. There is no need to manually create buttons and calculate positions, that is all already done by the layout system. Everything...
by sfernandez
11 Jun 2019, 16:22
Forum: General Discussion
Replies: 5
Views: 40

Re: How to keep font in fixed size

Could you please share the xaml corresponding to the UserControl to understand what is happening? If I have to guess I imagine you have a Viewbox wrapping the contents of the UserControl. If you don't want to scale down the contents you can set the Viewbox StretchDirection="UpOnly", is that what you...
by sfernandez
11 Jun 2019, 14:04
Forum: General Discussion
Replies: 9
Views: 86

Re: How to get Actual Size programmatically based on internal content?

I am attempting to create menu's like you would in windows application where content needs to overlay other elements. There are specific controls for that in Noesis, you can define a Menu with MenuItem children to show a popup with options. And it can be dynamically filled by binding the ItemsSourc...
by sfernandez
10 Jun 2019, 12:25
Forum: General Discussion
Replies: 2
Views: 19

Re: Visibility in storyboard error

In previous versions of Noesis that animation will probably be ignored as the Visible value was treated as a string, and unable to set it. You can use the following: <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="PackageListText" Storyboard.TargetProperty="(UIElement.Visi...
by sfernandez
10 Jun 2019, 12:20
Forum: General Discussion
Replies: 9
Views: 86

Re: How to get Actual Size programmatically based on internal content?

Hi, sorry for the late answer. ActualWidth and ActualHeight properties are calculated during the layout process in the UI Update, so they won't provide meaningful values just after element gets created or its size/position properties has changed. You can force an update by calling element.UpdateLayo...
by sfernandez
06 Jun 2019, 18:23
Forum: General Discussion
Replies: 7
Views: 77

Re: [C++, OpenCV] Display image CV::Mat queue as video in XAML

You need to create a texture that will be updated with that video frame data. Then create a TextureSource from that texture and use it as image source of an Image (or ImageBrush). You can take a look at our Images tutorial for more info: https://www.noesisengine.com/docs/Gui.Core.ImagesTutorial.html...
by sfernandez
06 Jun 2019, 18:16
Forum: General Discussion
Replies: 5
Views: 68

Re: [Unity] Seek of Storyboard

Hi, unfortunately Storyboard.Seek is not yet implemented in Noesis: https://www.noesisengine.com/bugs/view.php?id=1484 We will implement it as soon as possible. Its possible evaluate animation for special time positions? Or its not possible for some reasons? In current version it is not possible, so...
by sfernandez
06 Jun 2019, 17:46
Forum: General Discussion
Replies: 3
Views: 46

Re: Behavior with Event inside Style

Hi, The Freezable class exposes the virtual method CloneCommonCore() where any inheriting class can perform their own clone code. For example, the TriggerBase class in the Interactivity package (available in the Native SDK under Src/Packages/App/Interactivity/Src folder) uses that method to clone it...