Static members not supported
Posted: 19 Nov 2018, 15:49
When I'm trying to access a string resource directly in XAML, I'm getting this error:
NoesisException: Assets/NoesisGUI/HelloWorld/Views/XYZ.xaml(61): Static members not supported.
NoesisException: Assets/NoesisGUI/HelloWorld/Views/XYZ.xaml(61): Static members not supported.
Code: Select all
<TextBlock
Margin="0,32,0,27">
<!-- Style="{StaticResource TextBlock.Standard}"> -->
<Run
Text="{x:Static properties:Strings.Copyright}" />
<LineBreak />
<Run
Text="{x:Static properties:Strings.RightsReserved}" />
</TextBlock>