.NET Windows Forms in a Nutshell

ContentsResizedEventArgs

System. Windows .Forms (system. windows .forms.dll) class

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()

Категории