Search found 2322 matches

by sfernandez
Today, 13:07
Forum: General Discussion
Replies: 3
Views: 29

Re: TreeView / ListView rendering hidden rows outside local viewport

Great, thanks for the update.
by sfernandez
Today, 12:34
Forum: General Discussion
Replies: 2
Views: 34

Re: Update UI from different thread.

I was going to say that you shouldn't use Dispatcher.CurrentDispatcher.CheckAccess() because that returns the dispatcher for the current thread, so it will always have access. And that you would probably need to store the Dispatcher used for the UI, so you can check against it, something like: prote...
by sfernandez
Today, 12:30
Forum: General Discussion
Replies: 6
Views: 1125

Re: 3.1.0 ScrollView problem pink and not scrolling

Marked this as solved, thanks.
by sfernandez
Today, 12:27
Forum: General Discussion
Replies: 3
Views: 29

Re: TreeView / ListView rendering hidden rows outside local viewport

This seems a problem with stencil, we rely on that for clipping on this kind of scenarios.
Are you setting up a stencil buffer when creating your main surface? Are you clearing it before rendering the UI to the screen?
by sfernandez
13 Sep 2021, 11:56
Forum: General Discussion
Replies: 6
Views: 1125

Re: 3.1.0 ScrollView problem pink and not scrolling

This is just a binding error that indicates that you are not specifying a View in your ListView (so it behaves like a simple ListBox without columns). You probably have something like this: <ListView ItesmsSource="{Binding SomeItems}"/> If you want to show several columns for each item you have to s...
by sfernandez
10 Sep 2021, 11:31
Forum: General Discussion
Replies: 9
Views: 1464

Re: Subclassing ScrollViewer not working as expected

It seems to be a bug with the x:Key parsing of custom types. This is not working: x:Key="{x:Type cl:MyScrollViewer}" , and you should get an error message when your xaml is parsed. Could you please report it? In the meantime you can skip specifying the key, as TargetType will automatically used as k...
by sfernandez
10 Sep 2021, 11:13
Forum: General Discussion
Replies: 6
Views: 1125

Re: 3.1.0 ScrollView problem pink and not scrolling

When you see pink controls it means you are not specifying any styles for your application and it is falling back to our internal default styles . You can use our theme by adding this to your App.xaml as we do in some of our samples: <Application x:Class="UserControls.App" xmlns="http://schemas.micr...
by sfernandez
09 Sep 2021, 12:57
Forum: General Discussion
Replies: 2
Views: 1279

Re: Loaded event inside DataTemplate.Triggers not working properly

Created issue #2107 to track this problem.
by sfernandez
08 Sep 2021, 20:24
Forum: General Discussion
Replies: 9
Views: 1464

Re: Subclassing ScrollViewer not working as expected

I don't understand why are you setting CanContentScroll to the baseValue inside the coerce callback... Forget what I said about this, I just noticed that you have another property in your custom control with the same name. Our coerce implementation was not expecting that the object could be modifie...
by sfernandez
08 Sep 2021, 20:16
Forum: General Discussion
Replies: 9
Views: 1464

Re: Subclassing ScrollViewer not working as expected

In Noesis there is no scroll bar, a pink background, and if I put a breakpoint in the mouse left click handler and follow the code, I can see mScrollInfo is null. Yes, as you noticed you were missing a Style with a proper template because you have this: <test:TestScrollViewer.Style> <Style/> </test...