Click here to Skip to main content
15,883,127 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
ZoomBoxPanel, Adding a Fade Out Subsidiary Slider Control: Part 4[^]

I am having two zoomboxpanel's(zoomboxpanel is taken from above link) in different containers on a window and the zoomboxslider in the status-bar. how to keep two zoomboxpanel's in sync with single zoomboxslider.

Thanks & Regards

1 solution

The best way is to use binding to a property in a singleton instance. You need to have an instance because the NotifyPropertyChanged only works for instantiated classes. This may help:

Binding to a singleton the elegant way using a custom DataSourceProvider[^]
or an article I wrote:

Dynamic Binding of Static Properties[^]

If these do not help, get back to me, because I should be able to help you.
Share this answer
koteswararao_m 16-Jul-12 2:24am    
Thanku nelson. i solved my problem by changing the binding behavior of zoomboxpanel and zoomboxslider.
previously its like we need to bind panel to slider. new i changed such a way to bind slider to panel so that i can bind slider for both the panels.

any way thank you so much for your suggsitions
Clifford Nelson 16-Jul-12 12:45pm    
Glad to be of help. Would be nice if you rated and answer and maked the question as solved by this answer.


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900