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

Indicates whether the need for horizontal or vertical srcolling has changed

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class ScrollNeedsEventArgs : EventArgs

Inheritance: objectEventArgsScrollNeedsEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes the previous and current scrollbar-need states for both axes.

C#
public ScrollNeedsEventArgs(bool oldHorizontalScrollNeed, bool newHorizontalScrollNeed, bool oldVerticalScrollNeed, bool newVerticalScrollNeed)
Parameters:oldHorizontalScrollNeedbool

Whether horizontal scrolling was needed before the change.

newHorizontalScrollNeedbool

Whether horizontal scrolling is needed after the change.

oldVerticalScrollNeedbool

Whether vertical scrolling was needed before the change.

newVerticalScrollNeedbool

Whether vertical scrolling is needed after the change.

Properties

Indicates whether horizontal scrolling is necessary

C#
public bool NewHorizontalScrollNeed { get; }

Gets whether vertical scrolling is needed after the layout change.

C#
public bool NewVerticalScrollNeed { get; }

Indicates whether horizontal scrolling was necessary

C#
public bool OldHorizontalScrollNeed { get; }

Gets whether vertical scrolling was needed before the layout change.

C#
public bool OldVerticalScrollNeed { get; }