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

Provides the old and new viewport elements after a scroll layout panel replaces its viewport.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class ScrollViewportSet : EventArgs

Inheritance: objectEventArgsScrollViewportSet

Inherited Members EventArgs.Empty

Constructors

Initializes the event data for a viewport replacement.

C#
public ScrollViewportSet(RadElement oldViewport, RadElement newViewport)
Parameters:oldViewportRadElement

The element previously hosted as the viewport.

newViewportRadElement

The element now hosted as the viewport.

Properties

Gets the element now hosted as the viewport.

C#
public RadElement NewViewport { get; }

Gets the element previously hosted as the viewport.

C#
public RadElement OldViewport { get; }