Mainly layouts and refacts
This commit is contained in:
parent
59daaaef53
commit
7b3340cbc3
23 changed files with 629 additions and 417 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue