Last active
November 30, 2017 23:36
-
-
Save rdelrosario/ec0bd313ff4f9b89b65b7376f12da78b to your computer and use it in GitHub Desktop.
CustomPage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CustomPage : ContentPage | |
{ | |
public static readonly BindableProperty FormattedTitleProperty = BindableProperty.Create(nameof(FormattedTitle),typeof(FormattedString),typeof(CustomPage),null); | |
public FormattedString FormattedTitle | |
{ | |
get { return (FormattedString)GetValue(FormattedTitleProperty); } | |
set | |
{ | |
SetValue(FormattedTitleProperty, value); | |
} | |
} | |
public static readonly BindableProperty FormattedSubtitleProperty = BindableProperty.Create(nameof(FormattedSubtitle),typeof(FormattedString),typeof(CustomPage),null); | |
public FormattedString FormattedSubtitle | |
{ | |
get | |
{ | |
return (FormattedString)GetValue(FormattedSubtitleProperty); | |
} | |
set | |
{ | |
SetValue(FormattedSubtitleProperty, value); | |
} | |
} | |
public static readonly BindableProperty FormattedTitleProperty = BindableProperty.Create(nameof(FormattedTitle),typeof(FormattedString),typeof(CustomPage),null); | |
public FormattedString FormattedTitle | |
{ | |
get { return (FormattedString)GetValue(FormattedTitleProperty); } | |
set | |
{ | |
SetValue(FormattedTitleProperty, value); | |
} | |
} | |
public static readonly BindableProperty FormattedSubtitleProperty = BindableProperty.Create(nameof(FormattedSubtitle),typeof(FormattedString), typeof(CustomPage), null); | |
public FormattedString FormattedSubtitle | |
{ | |
get { return (FormattedString)GetValue(FormattedSubtitleProperty); } | |
set | |
{ | |
SetValue(FormattedSubtitleProperty, value); | |
} | |
} | |
public static readonly BindableProperty SubtitleProperty = BindableProperty.Create(nameof(Subtitle),typeof(string),typeof(CustomPage),null); | |
public string Subtitle | |
{ | |
get { return (string)GetValue(SubtitleProperty); } | |
set | |
{ | |
SetValue(SubtitleProperty, value); | |
} | |
} | |
public CustomPage() | |
{ | |
InitializeComponent(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment