I have a common ViewCell which multiple ListView's in different ContentPage use. Now in ViewCell xaml.cs file i want to know which class invoked this ViewCell. Is it possible to find this?
Here is my sceanrio. I have added ContextActions to the ViewCell. Now what i want is based on the ContentPage/ViewModel which invokes this View Cell the ContextActions Text should change to either Cancel, Add, More... So how can i identify which class in ViewCell so that ContextActions text can be changed?
I am using MVVM so can the ContextActions Text Property binded with ViewModel property?