You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added StartPath to get/set initial BlazorWebView URL (#11942)
* Added StartPath - gets or sets the path for initial navigation when the application starts
* Changed summary for StartPath
* small fix
* Changed the summary for StartPath
* changed the summary of StartPath for WinForms and Wpf
* remove public from StartPath in IBlazorWebView
Copy file name to clipboardexpand all lines: src/BlazorWebView/src/WindowsForms/BlazorWebView.cs
+8-1
Original file line number
Diff line number
Diff line change
@@ -79,6 +79,13 @@ public string? HostPage
79
79
}
80
80
}
81
81
82
+
/// <summary>
83
+
/// Path for initial Blazor navigation when the Blazor component is finished loading.
84
+
/// </summary>
85
+
[Category("Behavior")]
86
+
[Description(@"Path for initial Blazor navigation when the Blazor component is finished loading.")]
87
+
publicstringStartPath{get;set;}="/";
88
+
82
89
// Learn more about these methods here: https://docs.microsoft.com/en-us/dotnet/desktop/winforms/controls/defining-default-values-with-the-shouldserialize-and-reset-methods?view=netframeworkdesktop-4.8
0 commit comments