Completed
Last Updated: 19 Sep 2022 12:52 by ADMIN
Release LIB 2022.3.926(26 Sep 2022)
ADMIN
Dinko | Tech Support Engineer
Created on: 13 Oct 2015 12:41
Category: Gauge
Type: Bug Report
4
Gauge: BarIndicator is not updated when using GaugeRanges and their Min and Max properties are changed at runtime
BarIndicator is not updated when using GaugeRanges and their Min and Max properties are changed at runtime. The indicator's layout is updated only when the gauge control is re-sized.

Possible workaround:

Update measure and arrange the  BarIndicator control manually. 

        var size = this.BarIndicatorRanges1.RenderSize;
        this.BarIndicatorRanges1.Measure(Size.Empty);
        this.BarIndicatorRanges1.Measure(size);
 
        this.BarIndicatorRanges1.Arrange(new Rect(size));
        this.BarIndicatorRanges1.UpdateLayout();
0 comments