Search found 98 matches
- 21 Aug 2019, 21:01
- Forum: General Discussion
- Replies: 4
- Views: 1275
Any way to know if a UIElement is visible in the window?
I have a ListView bound to an ObservableCollection of 100s of items, each of which has an associated Noesis.BitmapImage that must be displayed as a thumbnail on the screen. I can't load them all at once or the UI thread pauses for a long time. So, I only want to load the ones that are visible in the...
- 15 Aug 2019, 19:11
- Forum: General Discussion
- Replies: 1
- Views: 743
Are custom RoutedEvents supported in the Managed SDK?
I'm not having much luck with my custom RoutedEvents and thought I saw somewhere they were only in the native SDK...? public static readonly RoutedEvent TapDownEvent = EventManager.RegisterRoutedEvent( "TapDown", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(SBToggleButton)); ...
- 15 Aug 2019, 19:09
- Forum: General Discussion
- Replies: 1
- Views: 983
Can't get TranslateTransform to animate
I'm trying to animate the Y property of a RenderTransform... <Rectangle.RenderTransform> <TranslateTransform x:Name="ToggleButtonTransform"/> </Rectangle.RenderTransform> Like this... <EventTrigger RoutedEvent="FrameworkElement.PreviewMouseUp"> <BeginStoryboard> <Storyboard> <Dou...
- 08 Aug 2019, 18:33
- Forum: General Discussion
- Replies: 3
- Views: 699
- 08 Aug 2019, 01:04
- Forum: General Discussion
- Replies: 4
- Views: 1245
Re: Trouble porting a custom Button from WPF to Noesis
That fixed it, thanks. You mention the XamlPlayer... is there a standard way to integrate Noesis Xaml parsing output into a build? My current setup provides no debug output on Xaml parsing which makes it very difficult to debug Xaml issues. I can drag & drop a xaml into the XamlPlayer, but it wo...
- 07 Aug 2019, 20:53
- Forum: General Discussion
- Replies: 4
- Views: 1984
Re: Any way to attach a command to the PreviewMouseDown event of a ListViewItem?
Understood, thank you. I have a dozen places in the code where this would be very helpful.
- 07 Aug 2019, 15:50
- Forum: General Discussion
- Replies: 4
- Views: 1984
Re: Any way to attach a command to the PreviewMouseDown event of a ListViewItem?
That is fantastic!... but, it looks like Noesis.GUI.Extensions requires some blend DLLs which are full .NET only right now? Looks like Microsoft open sourced those libraries here: https://devblogs.microsoft.com/dotnet/open-sourcing-xaml-behaviors-for-wpf/ And this unmerged pull request adds .NET cor...
- 05 Aug 2019, 21:42
- Forum: General Discussion
- Replies: 4
- Views: 1984
Any way to attach a command to the PreviewMouseDown event of a ListViewItem?
I have a <ListView> which I can attach a command to the PreviewMouseDown event, and that works well. But, because it doesn't provide the EventArgs, I can't see which ListViewItem was clicked. Is there a way to attach this same event but to the ListViewItem itself? I've tried putting it into the Cont...
- 05 Aug 2019, 15:51
- Forum: General Discussion
- Replies: 3
- Views: 699
What's the best way to implement the concept of a long touch press?
In WPF, we implemented a class which consumed the TouchDown, TouchMove and TouchUp events and had a bunch of logic to determine if a specific TouchDown was still valid after a set duration we considered to be a "long press". Is there a better way to do this? It would really nice to have th...
- 03 Aug 2019, 20:39
- Forum: General Discussion
- Replies: 4
- Views: 1245
Re: Trouble porting a custom Button from WPF to Noesis
Looks like I'm not able to attach files - not sure what the issue is. I tried all three browsers and via drag and drop and the "Add files" button.