skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class VirtualGridCompoundPanel

Inheritance
System.Object
VirtualGridCompoundPanel
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.

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.