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
Copy file name to clipboardExpand all lines: xml/System.Buffers.Text/Utf8Parser.xml
+3-8Lines changed: 3 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -71,21 +71,16 @@
71
71
</Parameters>
72
72
<Docs>
73
73
<paramname="source">The Utf8 string to parse.</param>
74
-
<paramname="value">When the method returns, contains the value parsed from <paramrefname="source" />, if the parsing operation succeeded.</param>
74
+
<paramname="value">When the method returns, contains the value parsed from <paramrefname="source" />, if the parsing operation succeeded.</param>
75
75
<paramname="bytesConsumed">If the parsing operation was successful, contains the length in bytes of the parsed substring when the method returns. If the method fails, <paramrefname="bytesConsumed" /> is set to 0.</param>
76
-
<paramname="standardFormat">The expected format of the Utf8 string.</param>
76
+
<paramname="standardFormat">The expected format of the Utf8 string. Supported formats are <c>'G'</c>, <c>'l'</c>, and <c>default</c>.</param>
77
77
<summary>Parses a <seecref="T:System.Boolean" /> at the start of a Utf8 string.</summary>
78
78
<returns>
79
79
<seelangword="true" /> for success; <seelangword="false" /> if the string was not syntactically valid or an overflow or underflow occurred.</returns>
80
80
<remarks>
81
81
<formattype="text/markdown"><![CDATA[
82
82
83
-
Formats supported:
84
-
85
-
|Format string|Example expected format|
86
-
|--|--|
87
-
|G (default)|True/False|
88
-
|l|true/false|
83
+
The parsing is case insensitive. The format parameter is validated to ensure it is supported; however, all supported formats are treated identically.
Copy file name to clipboardExpand all lines: xml/System.Windows/Application.xml
+21-2Lines changed: 21 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2476,9 +2476,28 @@ This example illustrates how to use XAML together with application-scope resourc
2476
2476
<ReturnType>System.Windows.ThemeMode</ReturnType>
2477
2477
</ReturnValue>
2478
2478
<Docs>
2479
-
<summary>To be added.</summary>
2479
+
<summary>Gets or sets the Fluent theme mode of the application.</summary>
2480
2480
<value>To be added.</value>
2481
-
<remarks>To be added.</remarks>
2481
+
<remarks>
2482
+
<para>Setting this property controls if Fluent theme is loaded in Light, Dark or System mode.</para>
2483
+
<para>It also controls the application of backdrop and darkmode on window.</para>
2484
+
<para>The four values for the ThemeMode enum are :</para>
2485
+
<para>
2486
+
<seecref="P:System.Windows.ThemeMode.None" /> - No Fluent theme is loaded.</para>
2487
+
<para>
2488
+
<seecref="P:System.Windows.ThemeMode.System" /> - Fluent theme is loaded based on the system theme.</para>
2489
+
<para>
2490
+
<seecref="P:System.Windows.ThemeMode.Light" /> - Fluent theme is loaded in Light mode.</para>
2491
+
<para>
2492
+
<seecref="P:System.Windows.ThemeMode.Dark" /> - Fluent theme is loaded in Dark mode.</para>
2493
+
<para>These values are predefined in <seecref="P:System.Windows.Application.ThemeMode" /> struct The default value is <seecref="P:System.Windows.ThemeMode.None" />.</para>
2494
+
<para>
2495
+
<seecref="P:System.Windows.Application.ThemeMode" /> and <seecref="P:System.Windows.Application.Resources" /> are designed to be in sync with each other.</para>
2496
+
<para>Syncing is done in order to avoid UI inconsistencies, where the window is in dark mode but the controls within are in light mode or vice versa.</para>
2497
+
<para>Setting this property loads the Fluent theme dictionaries in the application resources.</para>
2498
+
<para>So, if you set this property, it is preferrable to not include Fluent theme dictionaries in the application resources manually. If you do, the Fluent theme dictionaries added in the application resources will take precedence over the ones added by setting this property.</para>
2499
+
<para>This property is experimental and may be removed in future versions.</para>
0 commit comments