Class
VirtualGridCompoundPanel

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.VirtualGrid.dll

Syntax:

cs-api-definition
public class VirtualGridCompoundPanel : Panel, IScrollInfo

Inheritance: objectVirtualGridCompoundPanel

Implements: IScrollInfo

Constructors

VirtualGridCompoundPanel()

Initializes a new instance of the VirtualGridCompoundPanel class.

Declaration

cs-api-definition
public VirtualGridCompoundPanel()

Properties

CanHorizontallyScroll

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

Declaration

cs-api-definition
public bool CanHorizontallyScroll { get; set; }

Property Value

bool

CanVerticallyScroll

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

Declaration

cs-api-definition
public bool CanVerticallyScroll { get; set; }

Property Value

bool

ComputedHorizontalOffset

Gets or sets the computed horizontal offset.

Declaration

cs-api-definition
public double ComputedHorizontalOffset { get; set; }

Property Value

double

The computed horizontal offset.

ComputedVerticalOffset

Gets or sets the computed vertical offset.

Declaration

cs-api-definition
public double ComputedVerticalOffset { get; set; }

Property Value

double

The computed vertical offset.

ExtentHeight

Gets the vertical size of the extent.

Declaration

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

Property Value

double

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

ExtentWidth

Gets the horizontal size of the extent.

Declaration

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

Property Value

double

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

HorizontalOffset

Gets the horizontal offset of the scrolled content.

Declaration

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

Property Value

double

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

ScrollOwner

Gets or sets a ScrollViewer element that controls scrolling behavior.

Declaration

cs-api-definition
public ScrollViewer ScrollOwner { get; set; }

Property Value

ScrollViewer

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

VerticalOffset

Gets the vertical offset of the scrolled content.

Declaration

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

Property Value

double

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.

ViewportHeight

Gets the vertical size of the viewport for this content.

Declaration

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

Property Value

double

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

ViewportWidth

Gets the horizontal size of the viewport for this content.

Declaration

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

Property Value

double

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

Methods

ArrangeOverride(Size)

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

Declaration

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

Parameters

finalSize

Size

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

Returns

Size

The actual size used.

LineDown()

Scrolls down within content by one logical unit.

Declaration

cs-api-definition
public void LineDown()

LineLeft()

Scrolls left within content by one logical unit.

Declaration

cs-api-definition
public void LineLeft()

LineRight()

Scrolls right within content by one logical unit.

Declaration

cs-api-definition
public void LineRight()

LineUp()

Scrolls up within content by one logical unit.

Declaration

cs-api-definition
public void LineUp()

MakeVisible(Visual, Rect)

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

Declaration

cs-api-definition
public Rect MakeVisible(Visual visual, Rect rectangle)

Parameters

visual

Visual

A Visual that becomes visible.

rectangle

Rect

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

Returns

Rect

A Rect that is visible.

MeasureOverride(Size)

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

Declaration

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

Parameters

availableSize

Size

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.

MouseWheelDown()

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

Declaration

cs-api-definition
public void MouseWheelDown()

MouseWheelLeft()

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

Declaration

cs-api-definition
public void MouseWheelLeft()

MouseWheelRight()

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

Declaration

cs-api-definition
public void MouseWheelRight()

MouseWheelUp()

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

Declaration

cs-api-definition
public void MouseWheelUp()

OnCreateAutomationPeer()

Returns an automation peer for this VirtualGridCompoundPanel.

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

OnMouseLeftButtonDown(MouseButtonEventArgs)

Declaration

cs-api-definition
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)

Parameters

e

MouseButtonEventArgs

PageDown()

Scrolls down within content by one page.

Declaration

cs-api-definition
public void PageDown()

PageLeft()

Scrolls left within content by one page.

Declaration

cs-api-definition
public void PageLeft()

PageRight()

Scrolls right within content by one page.

Declaration

cs-api-definition
public void PageRight()

PageUp()

Scrolls up within content by one page.

Declaration

cs-api-definition
public void PageUp()

SetHorizontalOffset(double)

Sets the amount of horizontal offset.

Declaration

cs-api-definition
public void SetHorizontalOffset(double offset)

Parameters

offset

double

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

SetVerticalOffset(double)

Sets the amount of vertical offset.

Declaration

cs-api-definition
public void SetVerticalOffset(double offset)

Parameters

offset

double

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