Skip to content

Commit caab443

Browse files
committed
Added remote file path for XamlDisplayerPanel to load files
1 parent 3291c19 commit caab443

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
-512 Bytes
Binary file not shown.

MainDemo.Wpf/MainWindow.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ public MainWindow()
2121
{
2222
InitializeComponent();
2323
XamlDisplayerPanel.Initialize(
24-
source: XamlDisplayerPanel.SourceEnum.LoadFromLocal,
24+
source: XamlDisplayerPanel.SourceEnum.LoadFromRemote,
2525
defaultLocalPath:
2626
$@"C:\Users\User\Desktop\MaterialDesignXAMLToolKitNew\MaterialDesignInXamlToolkit\MainDemo.Wpf\",
27-
defaultRemotePath: null,
27+
defaultRemotePath: @"https://raw.githubusercontent.com/wongjiahau/MaterialDesignInXamlToolkit/New-Demo-2/MainDemo.Wpf/" ,
2828
attributesToBeRemoved:
2929
new List<string>()
3030
{

0 commit comments

Comments
 (0)