Blog.Mobile.Components.BaseContentPage.BaseContentPage C# (CSharp) Method

BaseContentPage() public method

public BaseContentPage ( ) : Blog.Mobile.ViewModels
return Blog.Mobile.ViewModels
		public BaseContentPage()
		{
			SetBinding(TitleProperty, new Binding(BaseViewModel.TitlePropertyName));
			SetBinding(IconProperty, new Binding(BaseViewModel.IconPropertyName));

			Device.OnPlatform (
				iOS: () => {
					BackgroundImage = "background.png";
				},
				Android: () => {
					BackgroundImage = "@drawable/background";
				},
				WinPhone: () => {
					BackgroundImage = "Images/background.png";
				}
			);
		}
    }
BaseContentPage