Context Change in Xamarin forms

Can you help me to write the code in xamarin for a Context Change? Thanks