
Hi, I am not able to set the BarExtent property in my application, but I can set this property in normal wpf application and works fine.
I am directly using the circular gauge xaml in my application, even the binding or setting this property with any value does not work.
It is always taking the default value of 5 which is set in the circular scale constructor.
public CircularScale(){ this.BarExtent = Unit.Pixel(5.0); ... }
I guess this might be problem but I cannot confirm this. All other unit properties works fine. This is the only(as per my investigation) property which has th value set in the constructor of derived class.
Even TickMarkMajor has the extent property and has been set in the CircularTickMarkMajor as below in the static constructor.
CircularTickMarkBase.TickMarkExtentProperty.OverrideMetadata(typeof (CircularTickMarkMajor), (PropertyMetadata) new FrameworkPropertyMetadata((object) Unit.Pixel(8.0), FrameworkPropertyMetadataOptions.AffectsRender));
Can this be BarExtent property setting be changed to dependency property setting instead of direct property setting?
At present I dont have any sample app to generate this issue.
thanks and regards,
Rithesh