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

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.VirtualGrid.dll

Syntax:

C#
public class VirtualGridCompoundPanel : Panel, IScrollInfo

Inheritance: objectVirtualGridCompoundPanel

Implements: IScrollInfo

Constructors

Initializes a new instance of the VirtualGridCompoundPanel class.

C#
public VirtualGridCompoundPanel()

Properties

Gets or sets a value that indicates whether scrolling on the horizontal axis is possible.

C#
public bool CanHorizontallyScroll { get; set; }

Gets or sets a value that indicates whether scrolling on the vertical axis is possible.

C#
public bool CanVerticallyScroll { get; set; }

Gets or sets the computed horizontal offset.

C#
public double ComputedHorizontalOffset { get; set; }
Property Value:

The computed horizontal offset.

Gets or sets the computed vertical offset.

C#
public double ComputedVerticalOffset { get; set; }
Property Value:

The computed vertical offset.

Gets the vertical size of the extent.

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

A double that represents, in device independent pixels, the vertical size of the extent.This property has no default value.

Gets the horizontal size of the extent.

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

A double that represents, in device independent pixels, the horizontal size of the extent. This property has no default value.

Gets the horizontal offset of the scrolled content.

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

A double that represents, in device independent pixels, the horizontal offset. This property has no default value.

ScrollOwner

ScrollViewer

Gets or sets a ScrollViewer element that controls scrolling behavior.

C#
public ScrollViewer ScrollOwner { get; set; }
Property Value:

A ScrollViewer element that controls scrolling behavior. This property has no default value.

Gets the vertical offset of the scrolled content.

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

A double that represents, in device independent pixels, the vertical offset of the scrolled content. Valid values are between zero and the minus the . This property has no default value.

Gets the vertical size of the viewport for this content.

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

A double that represents, in device independent pixels, the vertical size of the viewport for this content. This property has no default value.

Gets the horizontal size of the viewport for this content.

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

A double that represents, in device independent pixels, the horizontal size of the viewport for this content. This property has no default value.

Methods

When overridden in a derived class, positions child elements and determines a size for a FrameworkElement derived class.

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

The final area within the parent that this element should use to arrange itself and its children.

Returns:

Size

The actual size used.

Scrolls down within content by one logical unit.

C#
public void LineDown()

Scrolls left within content by one logical unit.

C#
public void LineLeft()

Scrolls right within content by one logical unit.

C#
public void LineRight()

Scrolls up within content by one logical unit.

C#
public void LineUp()

Forces content to scroll until the coordinate space of a Visual object is visible.

C#
public Rect MakeVisible(Visual visual, Rect rectangle)
Parameters:visualVisual

A Visual that becomes visible.

rectangleRect

A bounding rectangle that identifies the coordinate space to make visible.

Returns:

Rect

A Rect that is visible.

When overridden in a derived class, measures the size in layout required for child elements and determines a size for the FrameworkElement-derived class.

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

The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available.

Returns:

Size

The size that this element determines it needs during layout, based on its calculations of child element sizes.

Scrolls down within content after a user clicks the wheel button on a mouse.

C#
public void MouseWheelDown()

Scrolls left within content after a user clicks the wheel button on a mouse.

C#
public void MouseWheelLeft()

Scrolls right within content after a user clicks the wheel button on a mouse.

C#
public void MouseWheelRight()

Scrolls up within content after a user clicks the wheel button on a mouse.

C#
public void MouseWheelUp()

Returns an automation peer for this VirtualGridCompoundPanel.

C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

C#
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters:eMouseButtonEventArgs

Scrolls down within content by one page.

C#
public void PageDown()

Scrolls left within content by one page.

C#
public void PageLeft()

Scrolls right within content by one page.

C#
public void PageRight()

Scrolls up within content by one page.

C#
public void PageUp()

Sets the amount of horizontal offset.

C#
public void SetHorizontalOffset(double offset)
Parameters:offsetdouble

The degree to which content is horizontally offset from the containing viewport.

Sets the amount of vertical offset.

C#
public void SetVerticalOffset(double offset)
Parameters:offsetdouble

The degree to which content is vertically offset from the containing viewport.