Skip to content

Commit 8152895

Browse files
committed
Fixed ThemeModeConverter docs
1 parent d797166 commit 8152895

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

xml/System.Windows/ThemeModeConverter.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@
120120
<Docs>
121121
<param name="typeDescriptorContext">The ITypeDescriptorContext for this call.</param>
122122
<param name="cultureInfo">The CultureInfo which is respected when converting.</param>
123-
<param name="source">The object to convert to a ThemeMode.</param>
124-
<summary>Attempts to convert to a ThemeMode from the specified object</summary>
125-
<returns>The new ThemeMode instance.</returns>
123+
<param name="source">The object to convert to a <see cref="T:System.Windows.ThemeMode" />.</param>
124+
<summary>Attempts to convert to a <see cref="T:System.Windows.ThemeMode" /> from the specified object</summary>
125+
<returns>The new <see cref="T:System.Windows.ThemeMode" /> instance.</returns>
126126
<remarks>To be added.</remarks>
127127
<exception cref="T:System.ArgumentNullException">The example object is <see langword="null" />.</exception>
128128
</Docs>
@@ -151,15 +151,15 @@
151151
<Docs>
152152
<param name="typeDescriptorContext">The ITypeDescriptorContext for this call.</param>
153153
<param name="cultureInfo">The CultureInfo which is respected when converting.</param>
154-
<param name="value">The ThemeMode to convert.</param>
154+
<param name="value">The <see cref="T:System.Windows.ThemeMode" /> to convert.</param>
155155
<param name="destinationType">The type to which to convert the ThemeMode instance.</param>
156-
<summary>Attempts to convert a ThemeMode object to the specified type.</summary>
156+
<summary>Attempts to convert a <see cref="T:System.Windows.ThemeMode" /> object to the specified type.</summary>
157157
<returns>The newly constructed object.</returns>
158158
<remarks>To be added.</remarks>
159159
<exception cref="T:System.ArgumentNullException">
160160
<paramref name="value" /> is <see langword="null" />.</exception>
161-
<exception cref="T:System.ArgumentException">
162-
<paramref name="value" /> is not a ThemeMode, or <paramref name="destinationType" /> isn't a valid destination type.</exception>
161+
<exception cref="T:System.NotSupportedException">
162+
<paramref name="value" /> is <see langword="null" /> or not a <see cref="T:System.Windows.ThemeMode" />, or <paramref name="destinationType" /> isn't a valid destination type.</exception>
163163
</Docs>
164164
</Member>
165165
</Members>

0 commit comments

Comments
 (0)