Name

ContentsResizedEventArgs

Synopsis

These are the EventArgs for the ContentsResized event, raised by the RichTextBox class when a contained element is resized. It allows you to retrieve the NewRectangle for the contents.


public class ContentsResizedEventArgs : EventArgs {

// Public Constructors

   public ContentsResizedEventArgs(System.Drawing.Rectangle newRectangle);

// Public Instance Properties

   public Rectangle NewRectangle{get; }

}

Hierarchy

System.Object System.EventArgs ContentsResizedEventArgs

Passed To

ContentsResizedEventHandler.{BeginInvoke(), Invoke()}, RichTextBox.OnContentsResized()

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.