wieslawsoltes / PanAndZoom

Pan and zoom control for Avalonia.
http://wieslawsoltes.github.io/PanAndZoom/
MIT License
345 stars 45 forks source link

ViewModel for realize MVVM #40

Closed RomanSoloweow closed 4 years ago

RomanSoloweow commented 4 years ago

A class that will contain all the methods and fields.

wieslawsoltes commented 4 years ago

@RomanSoloweow For which MVVM framework? I don't think this is the scope of this project.

You can use https://github.com/wieslawsoltes/PanAndZoom/blob/da1b3a6a39e869fc4f782a35fdad563642b51eb0/src/PanAndZoom/IPanAndZoom.cs#L10

RomanSoloweow commented 4 years ago

We can realize INotifyPropertyChanged object and use it as datacontext for panzoomborder. I can try to do it

wieslawsoltes commented 4 years ago

I think we can close this issue, there is IPandAndZoom interface that should be sufficient.