Search found 96 matches

  • 1
  • 4
  • 5
  • 6
  • 7
  • 8
  • 10
by asusralis
09 Aug 2019, 22:44
Forum: General Discussion
Replies: 6
Views: 490

Re: Trouble binding to an ItemsControl from a template.

Oh, I'm sorry to hear that :( Thanks for the information!
by asusralis
08 Aug 2019, 21:53
Forum: General Discussion
Replies: 6
Views: 490

Re: Trouble binding to an ItemsControl from a template.

I wanted it where all the DataTemplates have a separator in the ItemsControl. I use a selector for multiple DataTemplates, so if I understand correctly I'd have to put a separator in all of them? Is there any way to automatically have a separator for an ItemsControl without changing the DataTemplate...
by asusralis
07 Aug 2019, 16:41
Forum: General Discussion
Replies: 6
Views: 490

Re: Trouble binding to an ItemsControl from a template.

Yes, exactly - I want the rectangle to show between each element in the ItemsSource, but not at the top of the first element or the bottom of the last. I found a similar question for this, but I can't seem to do it through the style. If there's an easier way I'd love to try it, but using the Alterna...
by asusralis
07 Aug 2019, 16:38
Forum: General Discussion
Replies: 4
Views: 378

Re: Problems with referencing resources.

Awesome, thanks!
by asusralis
07 Aug 2019, 03:04
Forum: General Discussion
Replies: 6
Views: 490

Trouble binding to an ItemsControl from a template.

Hello! I'm trying to add separators for all my ItemsControls. This is what I have so far: <Style TargetType="ItemsControl"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="ItemsControl"> <StackPanel> <Rectangle x:Name="Separator" Height="1" Margin="10,5" Fill="White" /> <Ite...
by asusralis
06 Aug 2019, 20:19
Forum: General Discussion
Replies: 4
Views: 378

Re: Problems with referencing resources.

Bump? It also freezes when (I think) I use the same element twice from a resource from the same user control. <UserControl.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="/Assets/Project/Views/Resources.xaml" /> </ResourceDictionary.MergedDictionar...
by asusralis
01 Aug 2019, 18:20
Forum: General Discussion
Replies: 4
Views: 378

Problems with referencing resources.

I'm not sure if I'm just doing this wrong or there's a problem with Noesis. I defined two elements in a resource dictionary and I'm trying to reference one in the other. I shortened a lot of the actual XAML for this post. <UserControl.Resources> <ResourceDictionary> <ResourceDictionary.MergedDiction...
by asusralis
29 Jul 2019, 17:30
Forum: General Discussion
Replies: 7
Views: 2355

Using the delegate version of VisualTree.HitTest crashes Unity

Noesis.Visual root = (Noesis.Visual)Noesis.VisualTreeHelper.GetRoot(view.Content); Noesis.HitTestResult result = null; Noesis.VisualTreeHelper.HitTest(root, (target) => { var element = target as Noesis.UIElement; if ((element != null) && (!element.IsHitTestVisible || !element.IsVisible)) { return N...
by asusralis
09 Jul 2019, 21:11
Forum: General Discussion
Replies: 4
Views: 1985

Re: Premultiplied images not working properly in Unity.

It seems I restarted Unity and it was fixed, but what do you mean by a label? Is it a field on the texture setting? I don't remember ever having to set a label to Noesis on a texture.
  • 1
  • 4
  • 5
  • 6
  • 7
  • 8
  • 10