Search found 1550 matches

by sfernandez
Today, 10:27
Forum: General Discussion
Replies: 2
Views: 24

Re: Move panels on mouse down over element

Hi, In order to receive all mouse movement while mouse button is down you should capture the mouse: Header.MouseLeftButtonDown += (s, e) => { Header.CaptureMouse(); Header.MouseMove += MovePanel; } Header.MouseLeftButtonUp += (s, e) => { Header.MouseMove -= MovePanel; Header.ReleaseMouseCapture(); }...
by sfernandez
Yesterday, 11:50
Forum: General Discussion
Replies: 2
Views: 12

Re: Runtime resource registration

why is the ResourceDictionary loaded by LoadApplicationResources not accessible by default? We have an open issue about that: 1505 , the Application.Resources is something we will expose in a future release. I get this error: "[noesis] Can't modify ResourceDictionary when loaded from a Source" This...
by sfernandez
Yesterday, 10:59
Forum: General Discussion
Replies: 1
Views: 9

Re: Can't get a simple control template to work

I answered in the bug #1507, could you please confirm it solves the problem?
by sfernandez
Yesterday, 10:56
Forum: General Discussion
Replies: 3
Views: 28

Re: Unity and code-behind question

Marked this as solved.
by sfernandez
Yesterday, 10:52
Forum: General Discussion
Replies: 2
Views: 16

Re: How to set/change font family and size globally in Unity?

As FontFamily and FontSize are properties that inherit down the tree you can set them in the root of the main xaml. If you don't explicitly set those properties in control styles, then the inherited value will apply and override the entire UI. To change the value depending on the language you can us...
by sfernandez
Yesterday, 10:36
Forum: General Discussion
Replies: 1
Views: 19

Re: PathGeometry Classes for dynamic geometry

We added this feature to our roadmap because it is being asked a few times in the past ( #1276), will work on it.
by sfernandez
Yesterday, 10:11
Forum: General Discussion
Replies: 7
Views: 63

Re: selectable element after last character in ListviewHeader

You're right, it should be e.Source, the object who initially fired the event.
To help with the sorting, can't you use the Column info of the GridViewColumnHeader?
by sfernandez
21 Jun 2019, 17:46
Forum: General Discussion
Replies: 7
Views: 63

Re: selectable element after last character in ListviewHeader

I suppose you have overriden the ConnectEvent method in the code-behind class: protected override bool ConnectEvent(object source, string eventName, string handlerName) { if (eventName == "Click" && handlerName == "GridViewColumnHeader_Click") { ((UIElement)source).AddHandler(ButtonBase.ClickEvent, ...
by sfernandez
21 Jun 2019, 17:28
Forum: General Discussion
Replies: 2
Views: 30

Re: Find XAML Resource in global Theme

Accessing the Application.Resources is something that we should expose, I created a ticket in our bugtracker for this feature: https://www.noesisengine.com/bugs/view.php?id=1505 Why Noesis allows you to find a style not related to the new FrameworkElement - I don't know, but it works This is working...
by sfernandez
21 Jun 2019, 16:56
Forum: General Discussion
Replies: 5
Views: 69

Re: Performance hit from simple binding

Would this have also caused the memory leak? That memory was probably just kept until the Garbage Collector decided to free it, because those boxed objects shouldn't be referenced by anyone. And if I'm binding to structures, try to avoid converters for now? The problem is related to the binding of ...