Total .NET Analyzer Rule Documentation |
|
Review forms with the TopMost property set to True.
Remarks
If a form's TopMost property is set to True, it will appear on top of all other open forms, even when it loses focus. While this is appropriate for some forms (such as a Find and Replace window), most forms should have the TopMost property set to False.
Resolution
Review any forms with the TopMost property set to True to determine whether this is the desired behavior. If you do not want the form to always overlap other open forms, set the TopMost property to False in the Windows Form Designer Properties window.
See Also
Form.TopMost Property