View Issue Details

IDProjectCategoryView StatusLast Update
0001305NoesisGUIUnitypublic2026-05-06 21:38
Reporterhoreaper Assigned Tojsantos  
PrioritynormalSeverityfeature 
Status assignedResolutionopen 
Product Version2.1.0f1 
Target Version3.2 
Summary0001305: Static members not properly supported
Description

Trying to bind a static property with:

<Button Content="{x:Static loginScreen:Guest.Text}" Click="ButtonGuest_OnClick" />

Result in exception:
NoesisException: Assets/Xaml/LoginWindow.xaml(63): Static members not supported. Can't use 'TextResources.LoginScreen.Guest.Text'.


Another place where this occurs when trying to use a static value as a resource key: <ImageBrush x:Key="{x:Static local:SomeStaticClass.SomeKeyName}" ... /> In this case there is no indication of a failure until one notices that it was added to the resource dictionary under the key: "local:SomeStaticClass.SomeKeyName".

PlatformAny

Relationships

related to 0001035 assignedsfernandez NoesisGUI Crash when using x:Static for accessing value of public static field in C# 
related to 0001479 assignedsfernandez NoesisGUI Define MenuItem role resource keys and use them in default style 

Activities

sfernandez

sfernandez

2020-07-16 12:39

manager   ~0006539

Current version only supports the following scenarios: https://www.noesisengine.com/docs/Gui.Core.MarkupExtensions.html#staticextension

Issue History

Date Modified Username Field Change
2018-05-27 00:22 horeaper New Issue
2018-10-30 13:02 admin Assigned To => jsantos
2018-10-30 13:02 admin Status new => assigned
2018-11-01 02:14 jsantos View Status public => private
2018-11-22 18:00 sfernandez View Status private => public
2018-11-22 18:00 sfernandez Platform => Any
2018-11-22 18:01 sfernandez Relationship added related to 0001035
2020-07-16 12:33 sfernandez Relationship added related to 0001479
2020-07-16 12:39 sfernandez Note Added: 0006539
2020-07-16 17:03 ck_russ Description Updated
2021-09-23 12:19 sfernandez Project NoesisGUI => GE
2021-09-23 12:30 sfernandez Project GE => NoesisGUI
2025-09-24 13:13 admin Target Version => 3.2
2025-10-10 13:29 jsantos Category Unity3D => Unity
2026-05-06 21:38 jsantos Description Updated