From c7ddd3e90926b92f3e4afcfff621b0265e67a7dc Mon Sep 17 00:00:00 2001 From: Ronnie Barnard Date: Thu, 7 Jan 2016 15:13:54 -0800 Subject: [PATCH 1/2] Changed the [Object][object] error that showed when a HyperlinkButton is bound to an object --- testsite/Controls/HyperlinkButtonViewModel.ts | 10 ++++++ testsite/Controls/hyperlinkbuttonbound.fap | 32 +++++++++++++++++++ testsite/index.html | 1 + themes/Metro.theme.xml | 22 ++++++------- 4 files changed, 52 insertions(+), 13 deletions(-) create mode 100644 testsite/Controls/HyperlinkButtonViewModel.ts create mode 100644 testsite/Controls/hyperlinkbuttonbound.fap diff --git a/testsite/Controls/HyperlinkButtonViewModel.ts b/testsite/Controls/HyperlinkButtonViewModel.ts new file mode 100644 index 00000000..48ad8bc7 --- /dev/null +++ b/testsite/Controls/HyperlinkButtonViewModel.ts @@ -0,0 +1,10 @@ +class HyperlinkButtonViewModel extends Fayde.MVVM.ViewModelBase { + Item: string; + + constructor() + { + this.Item = "This is a test"; + super(); + } +} +export = HyperlinkButtonViewModel; \ No newline at end of file diff --git a/testsite/Controls/hyperlinkbuttonbound.fap b/testsite/Controls/hyperlinkbuttonbound.fap new file mode 100644 index 00000000..344a32c1 --- /dev/null +++ b/testsite/Controls/hyperlinkbuttonbound.fap @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/testsite/index.html b/testsite/index.html index 215a7bb5..a3521cf2 100755 --- a/testsite/index.html +++ b/testsite/index.html @@ -23,6 +23,7 @@ 'Controls/contentcontrol.fap', 'Controls/grid.fap', 'Controls/hyperlinkbutton.fap', + 'Controls/hyperlinkbuttonbound.fap', 'Controls/itemscontrol.fap', 'Controls/listbox.fap', 'Controls/passwordbox.fap', diff --git a/themes/Metro.theme.xml b/themes/Metro.theme.xml index 5356ce5c..7b466e3b 100755 --- a/themes/Metro.theme.xml +++ b/themes/Metro.theme.xml @@ -594,20 +594,15 @@ - - + + + - - - + + + + + + From 4ffe5c20de09156661702e263a989fddcd88a8e6 Mon Sep 17 00:00:00 2001 From: Ronnie Barnard Date: Wed, 13 Jan 2016 15:15:28 -0800 Subject: [PATCH 2/2] Removed the Underline --- themes/Metro.theme.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/themes/Metro.theme.xml b/themes/Metro.theme.xml index 7b466e3b..8f9e6e6f 100755 --- a/themes/Metro.theme.xml +++ b/themes/Metro.theme.xml @@ -542,7 +542,7 @@ - @@ -550,14 +550,14 @@ Visible - + --> - + @@ -595,11 +595,11 @@ - +