New to Telerik UI for WPFStart a free 30-day trial

Represents a panel that provides a tabbed interface with scrolling capabilities. The RadTabbedWindowPanel class inherits from Panel and implements the IScrollingServiceCore and IScrollingInfo interfaces. It facilitates the arrangement and management of child elements that can be scrolled horizontally and vertically. The panel supports customization of scrolling behavior, viewport management, and integrates with the RadBrowserPanel.

The viewport dimensions can be accessed through ViewportHeight and ViewportWidth properties, while the offsets can be retrieved using HorizontalOffset and VerticalOffset.

It provides methods for scrolling the panel contents ScrollHorizontal(double) and ScrollVertical(double) as well as transforming coordinates between different reference frames using .

The layout behavior is defined by overriding the and methods, allowing dynamic measurement and arrangement of child UI elements.

Definition

Namespace:Telerik.Windows.Controls.TabbedWindow.Panels

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

C#
public class RadTabbedWindowPanel : Panel, IScrollingServiceCore, IScrollingInfo

Inheritance: objectRadTabbedWindowPanel

Implements: IScrollingInfoIScrollingServiceCore

Constructors

Initializes a new instance of the RadTabbedWindowPanel class.

C#
public RadTabbedWindowPanel()

Properties

Gets the height of the extent of the RadTabbedWindowPanel.

C#
public double ExtentHeight { get; }
Property Value:

A double representing the height of the extent. This value is used to define the vertical extent of the panel's content.

Implements: IScrollingInfo.ExtentHeight

Gets the width of the extent for the RadTabbedWindowPanel.

C#
public double ExtentWidth { get; }
Property Value:

The width of the extent as a double value.

Implements: IScrollingInfo.ExtentWidth

Gets the horizontal offset of the RadTabbedWindowPanel.

C#
public double HorizontalOffset { get; }
Property Value:

A double value representing the horizontal offset in pixels.

Implements: IScrollingInfo.HorizontalOffset

Gets the vertical offset of the RadTabbedWindowPanel.

C#
public double VerticalOffset { get; }
Property Value:

The vertical offset, in pixels, applied to the RadTabbedWindowPanel.

Implements: IScrollingInfo.VerticalOffset

Gets or the height of the viewport for the RadTabbedWindowPanel.

C#
public double ViewportHeight { get; }

Implements: IScrollingInfo.ViewportHeight

Gets the width of the viewport for the RadTabbedWindowPanel.

C#
public double ViewportWidth { get; }

Implements: IScrollingInfo.ViewportWidth

Methods

C#
protected override Size ArrangeOverride(Size finalSize)
Parameters:finalSizeSizeReturns:

Size

C#
protected override Size MeasureOverride(Size availableSize)
Parameters:availableSizeSizeReturns:

Size

Scrolls the contents of the RadTabbedWindowPanel horizontally by the specified amount.

C#
public void ScrollHorizontal(double offsetX)
Parameters:offsetXdouble

The amount in pixels to scroll the panel horizontally. A positive value scrolls right, while a negative value scrolls left.

Implements: IScrollingServiceCore.ScrollHorizontal(double)

Scrolls the content of the RadTabbedWindowPanel vertically by the specified amount.

C#
public void ScrollVertical(double offsetY)
Parameters:offsetYdouble

The amount in pixels to scroll the content vertically.

Implements: IScrollingServiceCore.ScrollVertical(double)

Transforms a point from the drop target coordinates to the viewport coordinates.

C#
public Point TransformFromDropTargetToViewPort(Point positionInDropTarget)
Parameters:positionInDropTargetPoint

The point in the drop target coordinate system to be transformed.

Returns:

Point

A Point representing the transformed point in the viewport coordinate system.

Implements: IScrollingInfo.TransformFromDropTargetToViewPort(Point)