-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fixing/clarifying XML comments for ScreenCaptureMode and VB's ColorMode. #14074
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #14074 +/- ##
===================================================
- Coverage 77.16719% 77.15758% -0.00962%
===================================================
Files 3279 3279
Lines 645317 645317
Branches 47718 47718
===================================================
- Hits 497973 497911 -62
- Misses 143657 143720 +63
+ Partials 3687 3686 -1
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
LeafShi1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
| /// Enumeration defining the behavior when a form is attempted to be captured in a screen capture (clipboard, image file), | ||
| /// in a screen sharing video conference scenario, a video recording or the alike. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It appears a bit convoluted. Consider:
An enumeration specifying the behavior of a form when an attempt is made to capture it via screenshot, clipboard, image export, screen-sharing during a video conference, video recording, or similar methods.
| /// <summary> | ||
| /// The form or control can be captured normally in screenshots. Default. | ||
| /// The form can be captured normally in screen captures. | ||
| /// Default setting. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Default shouldn't be specified here, it should be specified on the property using this enum.
Fixes a couple of issues in XML comments for the ScreenCaptionMode and clarifies the usage of the ColorMode property in VB's
ApplyApplicationDefaultEventArg.Microsoft Reviewers: Open in CodeFlow