ScrollNeedsEventArgs
Indicates whether the need for horizontal or vertical srcolling has changed
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class ScrollNeedsEventArgs : EventArgs
Inheritance: objectEventArgsScrollNeedsEventArgs
Inherited Members
Constructors
Initializes the previous and current scrollbar-need states for both axes.
public ScrollNeedsEventArgs(bool oldHorizontalScrollNeed, bool newHorizontalScrollNeed, bool oldVerticalScrollNeed, bool newVerticalScrollNeed)
Whether horizontal scrolling was needed before the change.
newHorizontalScrollNeedboolWhether horizontal scrolling is needed after the change.
oldVerticalScrollNeedboolWhether vertical scrolling was needed before the change.
newVerticalScrollNeedboolWhether vertical scrolling is needed after the change.
Properties
Indicates whether horizontal scrolling is necessary
public bool NewHorizontalScrollNeed { get; }
Gets whether vertical scrolling is needed after the layout change.
public bool NewVerticalScrollNeed { get; }
Indicates whether horizontal scrolling was necessary
public bool OldHorizontalScrollNeed { get; }
Gets whether vertical scrolling was needed before the layout change.
public bool OldVerticalScrollNeed { get; }