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