Skip to content

Conversation

@KlausLoeffelmann
Copy link
Member

@KlausLoeffelmann KlausLoeffelmann commented Nov 23, 2025

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

@codecov
Copy link

codecov bot commented Nov 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.15758%. Comparing base (09c759b) to head (2397a7c).

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     
Flag Coverage Δ
Debug 77.15758% <ø> (-0.00962%) ⬇️
integration 18.99626% <ø> (-0.02299%) ⬇️
production 52.02455% <ø> (-0.02154%) ⬇️
test 97.40749% <ø> (ø)
unit 49.46604% <ø> (-0.00660%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@LeafShi1 LeafShi1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Comment on lines +7 to +8
/// 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.
Copy link
Member

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.
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants