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