Search found 7 matches
- 18 Jun 2026, 14:10
- Forum: General Discussion
- Replies: 7
- Views: 46562
Re: Mouse Cursor Changes
The workaround works until the mouse leaves the view bounds, then it falls back to the allowed effects (not a big issue for me, but worth mentioning). Also, it only behaves if DragOverEventArgs.handled is set to true , otherwise it seems to override with DragDropEffects_Move internally, regardless o...
- 17 Jun 2026, 13:43
- Forum: General Discussion
- Replies: 7
- Views: 46562
Re: Mouse Cursor Changes
Thanks, I made a bug report here: https://www.noesisengine.com/bugs/view.php?id=5087. Regarding GiveFeedbackEventArgs.effects - when DragOver and friends are raised, the effects propagate as I expect. But what is the expected value when a drop target has not yet been dragged over? GiveFeedback is ra...
- 15 Jun 2026, 12:16
- Forum: General Discussion
- Replies: 7
- Views: 46562
Re: Mouse Cursor Changes
The goal is mainly to select a cursor based on GiveFeedbackEventArgs.effects . Setting FrameworkElement.Cursor seems to work if done on the root content element, e.g. GetView()->GetContent()->SetCursor(...); The cursor is cleared again after DoDragDrop , which is fine until you have an explicit defa...
- 10 Jun 2026, 12:03
- Forum: General Discussion
- Replies: 7
- Views: 46562
Mouse Cursor Changes
I've been working on some drag and drop functionality based off of the Inventory sample, and its going well so far, but I have some doubts about how best to handle cursor changes. From what I understand, the callback registered via SetCursorCallback is generally invoked when the mouse moves between ...
- 02 Apr 2026, 11:43
- Forum: General Discussion
- Replies: 2
- Views: 28131
Re: UICollection DependenciesProperty
This is insightful, thanks! I won't be able to try it out any time soon, but I'll take your word for it.
- 27 Mar 2026, 15:00
- Forum: General Discussion
- Replies: 2
- Views: 28131
UICollection DependenciesProperty
I have a particular custom Control that defines a Collection DependencyProperty: pTypeData->RegisterProperty<Noesis::Ptr<Noesis::UICollection<Noesis::BaseComponent>>>( s_itemsProperty, "items", Noesis::FrameworkPropertyMetadata::Create(Noesis::Ptr<Noesis::UICollection<Noesis::BaseComponent...
- 04 Dec 2025, 08:39
- Forum: General Discussion
- Replies: 6
- Views: 6828
Re: Show a xaml from within a ContentControl element?
It looks like your binding is resolving to the actual view model. If you don't define a DataTemplate for that view model type, only its name will be shown. Presumably, that view model has some property that contains the actual UI you want to display. You should define a DataTemplate to extract and s...