diff --git a/MdXaml/MarkdownScrollViewer.cs b/MdXaml/MarkdownScrollViewer.cs
index 389997b..f19ae77 100644
--- a/MdXaml/MarkdownScrollViewer.cs
+++ b/MdXaml/MarkdownScrollViewer.cs
@@ -47,14 +47,14 @@ public class MarkdownScrollViewer : FlowDocumentScrollViewer, IUriContext
nameof(MarkdownStyle),
typeof(Style),
typeof(MarkdownScrollViewer),
- new PropertyMetadata(null, UpdateStyle));
+ new PropertyMetadata(MdStyle.Standard, UpdateStyle));
public static readonly DependencyProperty MarkdownStyleNameProperty =
DependencyProperty.Register(
nameof(MarkdownStyleName),
typeof(string),
typeof(MarkdownScrollViewer),
- new PropertyMetadata(null, UpdateStyleName));
+ new PropertyMetadata(nameof(MdStyle.Standard), UpdateStyleName));
public static readonly DependencyProperty AssetPathRootProperty =
DependencyProperty.Register(
@@ -253,7 +253,6 @@ public ClickAction ClickAction
public MarkdownScrollViewer()
{
Engine = new Markdown();
- SetCurrentValue(MarkdownStyleNameProperty, nameof(MdStyle.Standard));
}
private void UpdateClickAction()
diff --git a/MdXaml/MdXaml.csproj b/MdXaml/MdXaml.csproj
index 9b834f5..ac9d306 100644
--- a/MdXaml/MdXaml.csproj
+++ b/MdXaml/MdXaml.csproj
@@ -4,7 +4,7 @@
netcoreapp3.0;net45;net5.0-windows
true
MdXaml
- 1.14.0
+ 1.15.0
Bevan Arps(original); whistyun
Markdown XAML processor
diff --git a/MdXaml/MdXamlMigfree.csproj b/MdXaml/MdXamlMigfree.csproj
index 745b5ff..205c19f 100644
--- a/MdXaml/MdXamlMigfree.csproj
+++ b/MdXaml/MdXamlMigfree.csproj
@@ -4,7 +4,7 @@
netcoreapp3.0;net45;net5.0-windows
true
MdXaml_migfree
- 1.14.0
+ 1.15.0
Bevan Arps(original); whistyun
Markdown XAML processor