Search found 2664 matches

by sfernandez
11 Oct 2022, 10:51
Forum: General Discussion
Replies: 5
Views: 217

Re: ContextMenu incorrect behavior

Whenever you see a pink template rendered instead of the normal control, it means that control doesn't have a valid template and it is using our internal debug templates. This happens when you define a local style that doesn't extend your application styles. In this example you should probably do th...
by sfernandez
11 Oct 2022, 10:38
Forum: General Discussion
Replies: 2
Views: 80

Re: Testing for left button click while in a MouseMove Event

Glad to know it is fixed, closing this then.
by sfernandez
11 Oct 2022, 10:34
Forum: General Discussion
Replies: 2
Views: 85

Re: Binding property to different element does not update UI

Thanks for the update, closing this then.
by sfernandez
11 Oct 2022, 10:33
Forum: General Discussion
Replies: 3
Views: 101

Re: Is it possible to disable default gamepad button handling?

Great to know it worked, marking this as solved then.
by sfernandez
11 Oct 2022, 10:32
Forum: General Discussion
Replies: 4
Views: 104

Re: ContextMenu Placement and PlacementTarget intermittently not being respected

Thanks for the report, we'll fix it for the next release.
by sfernandez
04 Oct 2022, 11:15
Forum: General Discussion
Replies: 1
Views: 62

Re: LoadXXX methods

Hi, You have to inherit from the base classes and set an instance of your providers before loading any xaml: GUI.SetXamlProvider(...); GUI.SetFontProvider(...); GUI.SetTextureProvider(...); You can use our embedded or local providers as reference to implement your own: https://github.com/Noesis/Mana...
by sfernandez
04 Oct 2022, 11:04
Forum: General Discussion
Replies: 3
Views: 101

Re: Is it possible to disable default gamepad button handling?

KeyboardNavigation manages the focus when no one else handles the KeyDown event, so you can add a behavior to the menu that sets the e.handled to true for the PreviewKeyDown event when PageLeft and PageRight keys are pressed, could you try that?
by sfernandez
03 Oct 2022, 10:53
Forum: General Discussion
Replies: 6
Views: 136

Re: Recommendations for a slide in / slide out docking panel containing drag and drop widgets

Hi, Having a simple UserControl that exposes a property to bind the collection of tabs I think will work. And as I said, maybe another property that indicates if it is hidden or expanded to handle the expand/collapse animations easier. You will be able to use it like this, assuming your data context...
by sfernandez
03 Oct 2022, 10:36
Forum: General Discussion
Replies: 14
Views: 1333

Re: Dynamically adding a new widget in C++ code, and then using FindName() to get it

Hi, 1) Yes, that code is perfectly valid to dynamically add an element to the UI tree. 2) Setting the name in an element does not register it in the xaml namescope. For that you have to call RegisterName (which is what the xaml parser does when finds an x:Name): mXamlGrid->RegisterName("Rigger&...
by sfernandez
30 Sep 2022, 10:49
Forum: General Discussion
Replies: 4
Views: 104

Re: ContextMenu Placement and PlacementTarget intermittently not being respected

Just an addition, there is no need to explicitly assign the PlacementTarget, it will be automatically set to ContextMenu's owner when opening.