View Issue Details

IDProjectCategoryView StatusLast Update
0001122NoesisGUIC++ SDKpublic2019-04-18 18:10
Reporternikobarli Assigned Tosfernandez  
Status resolvedResolutionopen 
Product Version2.0.2f2 
Target Version2.2.2Fixed in Version2.2.2 
Summary0001122: Errors when loading XAML
DescriptionFrom forum discussion:

The following XAML (modified from the original version found in cannot be loaded by NoesisGUI

                <RoutedUICommand x:Key="MyCommand1" Text="Text" />
                <RoutedUICommand x:Key="MyCommand2" Text="Another Text" />

                <CommandBinding Command="{StaticResource MyCommand1}"
                    Executed="FirstMethod" />
                <CommandBinding Command="{StaticResource MyCommand2}"
                    Executed="SecondMethod" />

                <KeyBinding Key="Z" Modifiers="Ctrl" Command="{StaticResource MyCommand1}" />
                <KeyBinding Key="H" Modifiers="Alt" Command="{StaticResource MyCommand2}" />

                <Button x:Name="btn1" Command="{StaticResource MyCommand1}" Content="Click me" />
                <Button x:Name="btn2" Command="{StaticResource MyCommand2}" Content="Click me" />

- RoutedUICommand class is not available to be used directly in the xaml.
- CommandBinding cannot use StaticResources to set the Command property.
TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2017-06-30 02:47 nikobarli New Issue
2017-08-30 12:27 sfernandez Assigned To => sfernandez
2017-08-30 12:27 sfernandez Status new => assigned
2018-11-01 02:14 jsantos View Status public => private
2018-11-22 20:46 sfernandez View Status private => public
2018-11-22 20:46 sfernandez Platform => Any
2019-04-18 18:10 sfernandez Status assigned => resolved
2019-04-18 18:10 sfernandez Fixed in Version => 2.2.2
2019-04-18 18:10 sfernandez Target Version => 2.2.2