Fix LinkLabel binding

This commit is contained in:
Frank A. Krueger 2018-02-02 09:20:24 -08:00
parent db417111fd
commit 674f9d2fba
1 changed files with 3 additions and 1 deletions

View File

@ -79,6 +79,8 @@ namespace Ooui.Forms.Renderers
if (e.PropertyName == Ooui.Forms.LinkLabel.HRefProperty.PropertyName)
UpdateHRef ();
if (e.PropertyName == Ooui.Forms.LinkLabel.TargetProperty.PropertyName)
UpdateTarget ();
else if (e.PropertyName == Xamarin.Forms.Label.HorizontalTextAlignmentProperty.PropertyName)
UpdateAlignment ();
else if (e.PropertyName == Xamarin.Forms.Label.VerticalTextAlignmentProperty.PropertyName)
@ -110,7 +112,7 @@ namespace Ooui.Forms.Renderers
void UpdateTarget ()
{
Control.Target = Element.HRef;
Control.Target = Element.Target;
}
void UpdateAlignment ()