HwndSource.SizeToContentChanged HwndSource.SizeToContentChanged HwndSource.SizeToContentChanged HwndSource.SizeToContentChanged Event

Definition

Occurs when the value of the SizeToContent property changes.

public:
 event EventHandler ^ SizeToContentChanged;
public event EventHandler SizeToContentChanged;
member this.SizeToContentChanged : EventHandler 
Public Event SizeToContentChanged As EventHandler 

Remarks

The SizeToContentChanged event is only raised when user interaction causes the change. If you set SizeToContent in code, the SizeToContentChanged event is not raised.

Applies to

See also