Class VirtualGridCompoundPanel
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.VirtualGrid.dll
Syntax
public class VirtualGridCompoundPanel : Panel, IScrollInfo
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.
Declaration
public bool CanHorizontallyScroll { get; set; }
Property Value
System.Boolean
|
CanVerticallyScroll
Gets or sets a value that indicates whether scrolling on the vertical axis is possible.
Declaration
public bool CanVerticallyScroll { get; set; }
Property Value
System.Boolean
|
ComputedHorizontalOffset
Gets or sets the computed horizontal offset.
Declaration
public double ComputedHorizontalOffset { get; set; }
Property Value
System.Double
The computed horizontal offset. |
ComputedVerticalOffset
Gets or sets the computed vertical offset.
Declaration
public double ComputedVerticalOffset { get; set; }
Property Value
System.Double
The computed vertical offset. |
ExtentHeight
Gets the vertical size of the extent.
Declaration
public double ExtentHeight { get; }
Property Value
System.Double
A System.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
public double ExtentWidth { get; }
Property Value
System.Double
A System.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
public double HorizontalOffset { get; }
Property Value
System.Double
A System.Double that represents, in device independent pixels, the horizontal offset. This property has no default value. |
ScrollOwner
Gets or sets a System.Windows.Controls.ScrollViewer element that controls scrolling behavior.
Declaration
public ScrollViewer ScrollOwner { get; set; }
Property Value
System.Windows.Controls.ScrollViewer
A System.Windows.Controls.ScrollViewer element that controls scrolling behavior. This property has no default value. |
VerticalOffset
Gets the vertical offset of the scrolled content.
Declaration
public double VerticalOffset { get; }
Property Value
System.Double
A System.Double that represents, in device independent pixels, the vertical offset of the scrolled content. Valid values are between zero and the System.Windows.Controls.Primitives.IScrollInfo.ExtentHeight minus the System.Windows.Controls.Primitives.IScrollInfo.ViewportHeight. This property has no default value. |
ViewportHeight
Gets the vertical size of the viewport for this content.
Declaration
public double ViewportHeight { get; }
Property Value
System.Double
A System.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
public double ViewportWidth { get; }
Property Value
System.Double
A System.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 System.Windows.FrameworkElement derived class.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
System.Windows.Size
finalSize
The final area within the parent that this element should use to arrange itself and its children. |
Returns
System.Windows.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 System.Windows.Media.Visual object is visible.
Declaration
public Rect MakeVisible(Visual visual, Rect rectangle)
Parameters
System.Windows.Media.Visual
visual
A System.Windows.Media.Visual that becomes visible. |
System.Windows.Rect
rectangle
A bounding rectangle that identifies the coordinate space to make visible. |
Returns
System.Windows.Rect
A System.Windows.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 System.Windows.FrameworkElement-derived class.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
System.Windows.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
System.Windows.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
System.Windows.Automation.Peers.AutomationPeer
|
OnMouseLeftButtonDown(MouseButtonEventArgs)
Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
System.Windows.Input.MouseButtonEventArgs
e
|
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()
PageUp()
Scrolls up within content by one page.
Declaration
public void PageUp()
SetHorizontalOffset(Double)
Sets the amount of horizontal offset.
Declaration
public void SetHorizontalOffset(double offset)
Parameters
System.Double
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
System.Double
offset
The degree to which content is vertically offset from the containing viewport. |