Search found 1502 matches

by sfernandez
23 May 2019, 15:25
Forum: General Discussion
Replies: 4
Views: 19

Re: Best way to include button symbols in text?

Hi, you can use an InlineUIContainer in a TextBlock to insert images or vector art along with the text. For example, you can have the following xaml to insert an image: <TextBlock> <Run>Press </Run><InlineUIContainer><Image Source="{Binding UseButtonImg}"/></InlineUIContainer><Run> to use</Run> </Te...
by sfernandez
23 May 2019, 15:19
Forum: General Discussion
Replies: 2
Views: 18

Re: [Unity] Problem building to Android on 2.2

Since 2.2 version runtime dependencies should be specified in the corresponding XAML by using the extension property Xaml.Dependencies : <UserControl x:Class="Localization.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/x...
by sfernandez
22 May 2019, 14:11
Forum: General Discussion
Replies: 2
Views: 25

Re: Best Approach for Scaling - HD vs 4K Resolution

1) With a single Viewbox at the root you won't get the expected results unless the aspect ratio is always the same. Proper UI scaling can be achieved by using Grid relative sizes and Viewboxes: - You should partition your screen in the appropriate cells where UI will be placed, then use viewboxes in...
by sfernandez
22 May 2019, 13:42
Forum: General Discussion
Replies: 4
Views: 38

Re: ListBox inside ListBox wont fire events

I created a similar test and I'm not able to reproduce the problem, the SelectedPresentation setter gets called as expected. Can you verify Session class implements INotifyPropertyChanged interface, and SelectedPresentation property is public with public getter and setter. Here is my code: public cl...
by sfernandez
21 May 2019, 14:22
Forum: General Discussion
Replies: 1
Views: 22

Re: Animation for displaying and then collapsing a UserControl is not working

Hi, I've thought that perhaps NotifyOnTargetUpdated mechanism is not working in Noesis You're right, Binding.NotifyOnTargetUpdated and Binding.TargetUpdated event are not implemented in Noesis yet. Could you please report it in our bugtracker, it sounds like an interesting feature to have in the fut...
by sfernandez
21 May 2019, 13:13
Forum: General Discussion
Replies: 4
Views: 38

Re: ListBox inside ListBox wont fire events

Is this the same bug as: viewtopic.php?f=3&t=1672 ? No, it is not related. This seems to be a problem with data contexts. Just to understand the scenario...you have a ViewModel with a list of Session objects, that is bound to the outer ListBox. Then each Session has a list of Presentation objects t...
by sfernandez
21 May 2019, 12:59
Forum: General Discussion
Replies: 2
Views: 23

Re: NoesisApp.Application never calls Window Unloaded event on app.Shutdown();

Hi, you have some good points here... The Application.MainWindow property is missing in Noesis so we will add it for next release: https://www.noesisengine.com/bugs/view.php?id=1473 Unfortunately there is no way now to get the main window other than keep a reference in its code-behind when it gets c...
by sfernandez
21 May 2019, 11:54
Forum: General Discussion
Replies: 6
Views: 60

Re: MainWindow.xaml not loading using Application Framework on .NET Core

After some investigation I found that Visual Studio uses <RootNamespace> project property to generate the name of the Embedded Resources , and unfortunately that value is not available during runtime because it is a Visual Studio thing. So if you have "ConsoleApp1" as RootNamespace, then manifest re...
by sfernandez
17 May 2019, 21:51
Forum: General Discussion
Replies: 6
Views: 60

Re: MainWindow.xaml not loading using Application Framework on .NET Core

Hi skyflashde, As I can't see the xamls my guess is that you don't have the x:Class in the MainWindow root, so it is creating a default Window instead, could that be the problem? I created an empty .NET Core console project myself that works so you can compare it with your own. Please take a look at...
by sfernandez
17 May 2019, 00:32
Forum: General Discussion
Replies: 1
Views: 38

Re: Trying to bind to a BitmapImage created with a Uri pointing to an embedded resource

Is that Images folder under another folder in the C# project? Because embedded resources are stored using the whole project path. The xaml parser is able to build the full path because it uses xaml folder as base uri. So for example, if you have Xamls/MainMenu/MainMenu.xaml and Xamls/MainMenu/Images...