Mainly layouts and refacts

This commit is contained in:
Paul Schneider 2016-10-14 16:21:03 +02:00
commit 7b3340cbc3
23 changed files with 629 additions and 417 deletions

View file

@ -15,7 +15,9 @@ namespace BookAStar.Views
public static readonly BindableProperty MarkdownProperty = BindableProperty.Create(
"Markdown", typeof(string), typeof(MarkdownView), null, BindingMode.TwoWay
);
public static readonly BindableProperty EditableProperty = BindableProperty.Create(
"Editable", typeof(bool), typeof(MarkdownView), false, BindingMode.OneWay
);
public string Markdown
{
get
@ -36,6 +38,14 @@ namespace BookAStar.Views
}
}
}
private bool editable;
public bool Editable
{
get {
return (bool) GetValue(EditableProperty);
}
set { SetValue (EditableProperty, value); }
}
public event EventHandler<EventArgs> Modified;