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:
public class RadTabbedWindowPanel : Panel, IScrollingServiceCore, IScrollingInfo
Inheritance: objectRadTabbedWindowPanel
Implements:
Constructors
Initializes a new instance of the RadTabbedWindowPanel class.
public RadTabbedWindowPanel()
Properties
Gets the height of the extent of the RadTabbedWindowPanel.
public double ExtentHeight { get; }
A double representing the height of the extent. This value is used to define the vertical extent of the panel's content.
Implements:
Gets the width of the extent for the RadTabbedWindowPanel.
public double ExtentWidth { get; }
The width of the extent as a double value.
Implements:
Gets the horizontal offset of the RadTabbedWindowPanel.
public double HorizontalOffset { get; }
A double value representing the horizontal offset in pixels.
Implements:
Gets the vertical offset of the RadTabbedWindowPanel.
public double VerticalOffset { get; }
The vertical offset, in pixels, applied to the RadTabbedWindowPanel.
Implements:
Gets or the height of the viewport for the RadTabbedWindowPanel.
public double ViewportHeight { get; }
Implements:
Gets the width of the viewport for the RadTabbedWindowPanel.
public double ViewportWidth { get; }
Implements:
Methods
protected override Size ArrangeOverride(Size finalSize)
Size
protected override Size MeasureOverride(Size availableSize)
Size
Scrolls the contents of the RadTabbedWindowPanel horizontally by the specified amount.
public void ScrollHorizontal(double offsetX)
The amount in pixels to scroll the panel horizontally. A positive value scrolls right, while a negative value scrolls left.
Implements:
Scrolls the content of the RadTabbedWindowPanel vertically by the specified amount.
public void ScrollVertical(double offsetY)
The amount in pixels to scroll the content vertically.
Implements:
Transforms a point from the drop target coordinates to the viewport coordinates.
public Point TransformFromDropTargetToViewPort(Point positionInDropTarget)
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: