Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0d84bd6

Browse files
mairawcarlossanlop
andauthored
Missing API docs for Application (dotnet#2994)
* initial commit * edits * Apply suggestions from tech review Co-Authored-By: Carlos Sanchez Lopez <[email protected]>
1 parent 70c0dcd commit 0d84bd6

File tree

1 file changed

+20
-9
lines changed

1 file changed

+20
-9
lines changed

xml/System.Windows.Forms/Application.xml

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -718,8 +718,8 @@
718718
<ReturnType>System.Windows.Forms.HighDpiMode</ReturnType>
719719
</ReturnValue>
720720
<Docs>
721-
<summary>To be added.</summary>
722-
<value>To be added.</value>
721+
<summary>Gets the current high DPI mode for the application.</summary>
722+
<value>One of the enumeration values that indicates the high DPI mode.</value>
723723
<remarks>To be added.</remarks>
724724
</Docs>
725725
</Member>
@@ -1539,9 +1539,10 @@ static class Program
15391539
<Parameter Name="highDpiMode" Type="System.Windows.Forms.HighDpiMode" Index="0" FrameworkAlternate="netcore-3.0" />
15401540
</Parameters>
15411541
<Docs>
1542-
<param name="highDpiMode">To be added.</param>
1543-
<summary>To be added.</summary>
1544-
<returns>To be added.</returns>
1542+
<param name="highDpiMode">One of the enumeration values that specifies the high DPI mode to set.</param>
1543+
<summary>Sets the high DPI mode of the process.</summary>
1544+
<returns>
1545+
<see langword="true" /> if the high DPI mode was set; otherwise, <see langword="false" />.</returns>
15451546
<remarks>To be added.</remarks>
15461547
</Docs>
15471548
</Member>
@@ -1975,9 +1976,19 @@ static class Program
19751976
<ReturnType>System.Boolean</ReturnType>
19761977
</ReturnValue>
19771978
<Docs>
1978-
<summary>To be added.</summary>
1979-
<value>To be added.</value>
1980-
<remarks>To be added.</remarks>
1979+
<summary>Gets a value that indicates whether visual styles are enabled for the application.</summary>
1980+
<value><see langword="true" /> if visual styles are enabled; otherwise, <see langword="false" />.</value>
1981+
<remarks>
1982+
<format type="text/markdown"><![CDATA[
1983+
1984+
## Remarks
1985+
1986+
The visual styles can be enabled by calling <xref:System.Windows.Forms.Application.EnableVisualStyles>.
1987+
1988+
The visual styles will not be enabled if the OS does not support them, or theming is disabled at the OS level.
1989+
1990+
]]></format>
1991+
</remarks>
19811992
</Docs>
19821993
</Member>
19831994
<Member MemberName="UseWaitCursor">
@@ -2054,4 +2065,4 @@ static class Program
20542065
</Docs>
20552066
</Member>
20562067
</Members>
2057-
</Type>
2068+
</Type>

0 commit comments

Comments
 (0)