PropertyChanged event not firing for Brightness, Contrast or Gamma

649
2
Jump to solution
04-30-2019 06:09 PM
by Anonymous User
Not applicable

With 100.5, the only thing printed is "Opacity changed".  Looks like this is an issue with all the ImageAdjustmentLayers.

Are the others supposed to fire too?

var layer = new ArcGISTiledLayer();
layer.PropertyChanged += (s, e) =>
{
    Debug.Print(e.PropertyName + " changed");
};
layer.Opacity = 0.5;
layer.Brightness = 50.0;
layer.Gamma = 50.0;
layer.Contrast = 30.0;

Thanks, Kirk
Tags (1)
0 Kudos
1 Solution

Accepted Solutions
PreetiMaske
Esri Contributor

Kirk, Looks like you found a bug!. I will create an internal issue for this.

View solution in original post

0 Kudos
2 Replies
PreetiMaske
Esri Contributor

Kirk, Looks like you found a bug!. I will create an internal issue for this.

0 Kudos
dotMorten_esri
Esri Notable Contributor

Adding to this, Preeti not only logged the issue, but was being awesome as usual and already submitted and merged a fix! Thanks for reporting this.

0 Kudos