Export (0) Print
Expand All

RichTextBox.ContentsResized Event

Occurs when contents within the control are resized.

[Visual Basic]
Public Event ContentsResized As ContentsResizedEventHandler
[C#]
public event ContentsResizedEventHandler ContentsResized;
[C++]
public: __event ContentsResizedEventHandler* ContentsResized;

[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.

Event Data

The event handler receives an argument of type ContentsResizedEventArgs containing data related to this event. The following ContentsResizedEventArgs property provides information specific to this event.

Property Description
NewRectangle Represents the requested size of the RichTextBox control.

Remarks

For more information about handling events, see Consuming Events.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

RichTextBox Class | RichTextBox Members | System.Windows.Forms Namespace | ContentsResizedEventHandler

Show:
© 2014 Microsoft