View Issue Details

IDProjectCategoryView StatusLast Update
0003427NoesisGUIC# SDKpublic2026-03-03 16:59
Reportervoula_d Assigned Tosfernandez  
PrioritynormalSeverityminor 
Status resolvedResolutionno change required 
Product Version3.2.3 
Target Version3.2.12 
Summary0003427: Setting a SolidColorBrush Color property does not produce a PropertyChanged event.
Description

I have defined a dependency property, LightColor, as follows:

public Brush LightColor
{
    get { return (Brush)GetValue(LightColorProperty); }
    set { SetValue(LightColorProperty, value); }
}
public static readonly DependencyProperty LightColorProperty = DependencyProperty.Register("LightColor", typeof(Brush), typeof(TheView), new PropertyMetadata(ColorChangedCallback));

I am trying to change the color of the Brush using:

(LightColor as SolidColorBrush).Color = Colors.Green; 

This should trigger the ColorChangedCallback but it doesn't. I can see that the Color property is set, but the callback is never called.
Is this expected behaviour or a bug? Trying the same with WPF triggers ColorChangedCallback.
Thank you.

PlatformAny

Activities

sfernandez

sfernandez

2026-03-03 16:59

manager   ~0011990

PropertyChangedCallback will be called when you change the value of the "LightColor" property.
Changes done to internal properties of the Brush won't be notify throgh that callback.

Issue History

Date Modified Username Field Change
2024-06-20 14:04 voula_d New Issue
2024-06-22 12:09 jsantos Assigned To => sfernandez
2024-06-22 12:09 jsantos Status new => assigned
2024-06-22 12:10 jsantos Target Version => 3.2.5
2024-10-24 16:43 sfernandez Target Version 3.2.5 => 3.2.6
2024-11-22 18:19 jsantos Target Version 3.2.6 => 3.2.7
2025-01-20 17:42 jsantos Target Version 3.2.7 => 3.2.8
2025-06-06 12:52 jsantos Target Version 3.2.8 => 3.2.9
2025-10-02 00:48 jsantos Target Version 3.2.9 => 3.2.10
2025-10-20 18:25 jsantos Target Version 3.2.10 => 3.2.11
2026-01-20 19:32 jsantos Target Version 3.2.11 => 3.2.12
2026-03-03 16:56 jsantos Description Updated
2026-03-03 16:57 jsantos Description Updated
2026-03-03 16:59 sfernandez Status assigned => resolved
2026-03-03 16:59 sfernandez Resolution open => no change required
2026-03-03 16:59 sfernandez Note Added: 0011990