New to Telerik UI for WinForms? Start a free 30-day trial

Provides axis and new-value data for the routed StretchChangedEvent.

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

C#
public class StretchEventArgs : EventArgs

Inheritance: objectEventArgsStretchEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes data for a horizontal or vertical stretch-property change.

C#
public StretchEventArgs(bool isStretchHorizontal, bool stretchValue)
Parameters:isStretchHorizontalbool

true when the horizontal property changed; otherwise, the vertical property changed.

stretchValuebool

The new value of the changed property.

Fields

Gets whether the changed property controls horizontal stretching; false denotes vertical stretching.

C#
public readonly bool IsStretchHorizontal

Gets the new value of the changed stretch property.

C#
public readonly bool StretchValue