Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.VirtualGrid.dll
Syntax:
public class VirtualGridCompoundPanel : Panel, IScrollInfo
Inheritance: objectVirtualGridCompoundPanel
Implements:
Constructors
Initializes a new instance of the VirtualGridCompoundPanel class.
public VirtualGridCompoundPanel()
Properties
Gets or sets a value that indicates whether scrolling on the horizontal axis is possible.
public bool CanHorizontallyScroll { get; set; }
Gets or sets a value that indicates whether scrolling on the vertical axis is possible.
public bool CanVerticallyScroll { get; set; }
Gets or sets the computed horizontal offset.
public double ComputedHorizontalOffset { get; set; }
The computed horizontal offset.
Gets or sets the computed vertical offset.
public double ComputedVerticalOffset { get; set; }
The computed vertical offset.
Gets the vertical size of the extent.
public double ExtentHeight { get; }
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.
public double ExtentWidth { get; }
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.
public double HorizontalOffset { get; }
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.
public ScrollViewer ScrollOwner { get; set; }
A ScrollViewer element that controls scrolling behavior. This property has no default value.
Gets the vertical offset of the scrolled content.
public double VerticalOffset { get; }
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.
public double ViewportHeight { get; }
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.
public double ViewportWidth { get; }
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.
protected override Size ArrangeOverride(Size finalSize)
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.
public void LineDown()
Scrolls left within content by one logical unit.
public void LineLeft()
Scrolls right within content by one logical unit.
public void LineRight()
Scrolls up within content by one logical unit.
public void LineUp()
Forces content to scroll until the coordinate space of a Visual object is visible.
public Rect MakeVisible(Visual visual, Rect rectangle)
A Visual that becomes visible.
rectangleRectA 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.
protected override Size MeasureOverride(Size availableSize)
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.
public void MouseWheelDown()
Scrolls left within content after a user clicks the wheel button on a mouse.
public void MouseWheelLeft()
Scrolls right within content after a user clicks the wheel button on a mouse.
public void MouseWheelRight()
Scrolls up within content after a user clicks the wheel button on a mouse.
public void MouseWheelUp()
OnCreateAutomationPeer()
AutomationPeer
Returns an automation peer for this VirtualGridCompoundPanel.
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Scrolls down within content by one page.
public void PageDown()
Scrolls left within content by one page.
public void PageLeft()
Scrolls right within content by one page.
public void PageRight()
Scrolls up within content by one page.
public void PageUp()
Sets the amount of horizontal offset.
public void SetHorizontalOffset(double offset)
The degree to which content is horizontally offset from the containing viewport.
Sets the amount of vertical offset.
public void SetVerticalOffset(double offset)
The degree to which content is vertically offset from the containing viewport.