Search found 12 matches

  • 1
  • 2
by frochet38
11 Sep 2020, 14:26
Forum: General Discussion
Replies: 6
Views: 208

Re: NoesisGUI Font Selecting "algorithm"

Yes, file added
by frochet38
11 Sep 2020, 14:16
Forum: General Discussion
Replies: 6
Views: 208

Re: NoesisGUI Font Selecting "algorithm"

Ticket #1789
by frochet38
11 Sep 2020, 14:04
Forum: General Discussion
Replies: 6
Views: 208

Re: NoesisGUI Font Selecting "algorithm"

Thanks for the quick answer, WPF font selection seems amazingly complex...
It's hard to say exactly what font Blend selects at the end, but changing FontWeigth from "Medium" to "Bold" in Blend selects different fonts whereas NoesisGUI selects the same one, so I guess there's a difference here.
by frochet38
11 Sep 2020, 09:58
Forum: General Discussion
Replies: 6
Views: 208

NoesisGUI Font Selecting "algorithm"

Hi, I'm working on the final look of my interface, and my UI designer picked up some specific fonts to achieve a nice look. I discovered NoesisGUI uses the FontFamily and other fonts attributes like FontWeight, FontStyle and FontStrech to select the font file used to display texts elements. My probl...
by frochet38
24 Aug 2020, 10:31
Forum: General Discussion
Replies: 4
Views: 566

Re: Animate a Scrollviewer without using scrollbar

Thanks a lot to you guys, I finally managed to make it work thanks to your advices. I have just a remark: this kind of code doesn't compile any more in the lastest version of Noesis: NsMeta< Noesis::TypeId >( "Extensions" ); I replaced it by: NsMeta< Category >("Extensions"); It seems to work but I ...
by frochet38
18 Aug 2020, 10:29
Forum: General Discussion
Replies: 4
Views: 566

Animate a Scrollviewer without using scrollbar

Hi, I have a lisbox with a collection of items, I use two buttons to control the listbox's scolling so I hide the listbox default scroller. using a custom template style instancied in a XAML file like this : <Canvas x:Name="PanelMakeupBottomLeft" Grid.Row="1" Grid.Column="4" Opacity="1.0" Background...
by frochet38
11 Aug 2020, 15:05
Forum: General Discussion
Replies: 3
Views: 558

Re: How to bypass the image cache when loading a BitmapImage from a file

Thanks a lot, that's what I was looking for, seems to work well.
by frochet38
10 Aug 2020, 17:38
Forum: General Discussion
Replies: 3
Views: 558

How to bypass the image cache when loading a BitmapImage from a file

Hi, I'm trying to display an image on some control, this works fine, but my image content changes based on user input. I reload and refresh the user-interface using the code below : Noesis::Image* pImage = m_pMainWindow->FindName<Noesis::Image>("PhotoModiface"); if (pImage != nullptr) { Noesis::Bitm...
by frochet38
29 Jul 2020, 17:21
Forum: General Discussion
Replies: 7
Views: 612

Re: ListBox Code behind SetSelected called only when selecting item with right mouse button

I finally made this work using : <i:Interaction.Triggers> <i:EventTrigger EventName="MouseDown" > <ei:ChangePropertyAction PropertyName="Background" Value="{DynamicResource Brush.Item.Over}"/> </i:EventTrigger> <i:EventTrigger EventName="MouseUp" > <ei:ChangePropertyAction PropertyName="Background" ...
by frochet38
29 Jul 2020, 12:10
Forum: General Discussion
Replies: 7
Views: 612

Re: ListBox Code behind SetSelected called only when selecting item with right mouse button

Thanks, It seems I have some control using triggers like the ones your're pointing out. Nevertheless, I'd like to simulate a "button pushed" status when the user is cliking on an item, and I can't find a property I can use with a trigger like "IsMouseCliked" telling the user is left clicking on the ...
  • 1
  • 2