Class
RadTabbedWindowPanel

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:

cs-api-definition
public class RadTabbedWindowPanel : Panel, IScrollingServiceCore, IScrollingInfo

Inheritance: objectRadTabbedWindowPanel

Implements: IScrollingInfoIScrollingServiceCore

Constructors

RadTabbedWindowPanel()

Initializes a new instance of the RadTabbedWindowPanel class.

Declaration

cs-api-definition
public RadTabbedWindowPanel()

Properties

ExtentHeight

Gets the height of the extent of the RadTabbedWindowPanel.

Declaration

cs-api-definition
public double ExtentHeight { get; }

Property Value

double

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

ExtentWidth

Gets the width of the extent for the RadTabbedWindowPanel.

Declaration

cs-api-definition
public double ExtentWidth { get; }

Property Value

double

The width of the extent as a double value.

Implements IScrollingInfo.ExtentWidth

HorizontalOffset

Gets the horizontal offset of the RadTabbedWindowPanel.

Declaration

cs-api-definition
public double HorizontalOffset { get; }

Property Value

double

A double value representing the horizontal offset in pixels.

Implements IScrollingInfo.HorizontalOffset

VerticalOffset

Gets the vertical offset of the RadTabbedWindowPanel.

Declaration

cs-api-definition
public double VerticalOffset { get; }

Property Value

double

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

Implements IScrollingInfo.VerticalOffset

ViewportHeight

Gets or the height of the viewport for the RadTabbedWindowPanel.

Declaration

cs-api-definition
public double ViewportHeight { get; }

Property Value

double

Implements IScrollingInfo.ViewportHeight

ViewportWidth

Gets the width of the viewport for the RadTabbedWindowPanel.

Declaration

cs-api-definition
public double ViewportWidth { get; }

Property Value

double

Implements IScrollingInfo.ViewportWidth

Methods

ArrangeOverride(Size)

Declaration

cs-api-definition
protected override Size ArrangeOverride(Size finalSize)

Parameters

finalSize

Size

Returns

Size

MeasureOverride(Size)

Declaration

cs-api-definition
protected override Size MeasureOverride(Size availableSize)

Parameters

availableSize

Size

Returns

Size

ScrollHorizontal(double)

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

Declaration

cs-api-definition
public void ScrollHorizontal(double offsetX)

Parameters

offsetX

double

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

Implements IScrollingServiceCore.ScrollHorizontal(double)

ScrollVertical(double)

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

Declaration

cs-api-definition
public void ScrollVertical(double offsetY)

Parameters

offsetY

double

The amount in pixels to scroll the content vertically.

Implements IScrollingServiceCore.ScrollVertical(double)

TransformFromDropTargetToViewPort(Point)

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

Declaration

cs-api-definition
public Point TransformFromDropTargetToViewPort(Point positionInDropTarget)

Parameters

positionInDropTarget

Point

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)