| File: System\Windows\Forms\Controls\RichTextBox\ContentsResizedEventArgs.cs | Web Access |
| Project: src\winforms\src\System.Windows.Forms\System.Windows.Forms.csproj (System.Windows.Forms) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Drawing; namespace System.Windows.Forms; /// <summary> /// Provides data for the <see cref="RichTextBox.ContentsResized"/> event. /// </summary> public class ContentsResizedEventArgs : EventArgs { /// <summary> /// Initializes a new instance of the <see cref="ContentsResizedEventArgs"/> /// class. /// </summary> public ContentsResizedEventArgs(Rectangle newRectangle) { NewRectangle = newRectangle; } /// <summary> /// Represents the requested size of the <see cref="RichTextBox"/> control. /// </summary> public Rectangle NewRectangle { get; } }