skip navigation
  • Product Bundles

    DevCraft

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

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder Design System Kit
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class GridViewVirtualizingPanel

GridViewVirtualizingPanel is used to arrange children into single line.

Inheritance
System.Object
GridViewBaseVirtualizingPanel
GridViewVirtualizingPanel
TreeListViewVirtualizingPanel
Inherited Members
GridViewBaseVirtualizingPanel.ItemContainerGenerator
Namespace: Telerik.Windows.Controls.GridView
Assembly: Telerik.Windows.Controls.GridView.dll

Syntax

public class GridViewVirtualizingPanel : GridViewBaseVirtualizingPanel, IScrollInfo

Constructors

GridViewVirtualizingPanel()

Initializes a new instance of the GridViewVirtualizingPanel class.

Declaration
public GridViewVirtualizingPanel()

Fields

CleanUpVirtualizedItemEvent

Called on the ItemsControl that owns this panel when an item is being re-virtualized.

Declaration
public static readonly RoutedEvent CleanUpVirtualizedItemEvent
Field Value
System.Windows.RoutedEvent

IsVirtualizingProperty

Attached property for use on the ItemsControl that is the host for the items being presented by this panel. Use this property to turn virtualization on/off.

Declaration
public static readonly DependencyProperty IsVirtualizingProperty
Field Value
System.Windows.DependencyProperty

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

ExtentHeight

Gets the vertical size of the extent.

Declaration
public double ExtentHeight { get; }
Property Value
System.Double

ExtentWidth

Gets the horizontal size of the extent.

Declaration
public double ExtentWidth { get; }
Property Value
System.Double

HasLogicalOrientation

Declaration
protected override bool HasLogicalOrientation { get; }
Property Value
System.Boolean

HorizontalOffset

Gets the horizontal offset of the scrolled content.

Declaration
public double HorizontalOffset { get; }
Property Value
System.Double

LogicalOrientation

Declaration
protected override Orientation LogicalOrientation { get; }
Property Value
System.Windows.Controls.Orientation

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

ViewportHeight

Gets the vertical size of the viewport for this content.

Declaration
public double ViewportHeight { get; }
Property Value
System.Double

ViewportWidth

Gets the horizontal size of the viewport for this content.

Declaration
public double ViewportWidth { get; }
Property Value
System.Double

Methods

AddCleanUpVirtualizedItemHandler(DependencyObject, CleanUpVirtualizedItemEventHandler)

Adds a handler for the CleanUpVirtualizedItem attached event.

Declaration
public static void AddCleanUpVirtualizedItemHandler(DependencyObject element, CleanUpVirtualizedItemEventHandler handler)
Parameters
System.Windows.DependencyObject element

DependencyObject that listens to this event.

CleanUpVirtualizedItemEventHandler handler

Event Handler to be added.

ArrangeOverride(Size)

Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
System.Windows.Size finalSize

Returns
System.Windows.Size

BringIndexIntoView(Int32)

When implemented in a derived class, generates the item at the specified index location and makes it visible.

Declaration
protected override void BringIndexIntoView(int index)
Parameters
System.Int32 index

Overrides
GridViewBaseVirtualizingPanel.BringIndexIntoView(Int32)

CreateUIElementCollection(FrameworkElement)

Declaration
protected override UIElementCollection CreateUIElementCollection(FrameworkElement logicalParent)
Parameters
System.Windows.FrameworkElement logicalParent

Returns
System.Windows.Controls.UIElementCollection

GetIsVirtualizing(DependencyObject)

Retrieves the value for IsVirtualizingProperty.

Declaration
public static bool GetIsVirtualizing(DependencyObject element)
Parameters
System.Windows.DependencyObject element

The object on which to query the value.

Returns
System.Boolean

True if virtualizing, false otherwise.

LineDown()

Scrolls down within content by one logical unit.

Declaration
public virtual void LineDown()

LineLeft()

Scrolls left within content by one logical unit.

Declaration
public virtual void LineLeft()

LineRight()

Scrolls right within content by one logical unit.

Declaration
public virtual void LineRight()

LineUp()

Scrolls up within content by one logical unit.

Declaration
public virtual 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)

Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
System.Windows.Size availableSize

Returns
System.Windows.Size

MouseWheelDown()

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

Declaration
public virtual void MouseWheelDown()

MouseWheelLeft()

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

Declaration
public virtual void MouseWheelLeft()

MouseWheelRight()

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

Declaration
public virtual void MouseWheelRight()

MouseWheelUp()

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

Declaration
public virtual void MouseWheelUp()

OnCleanUpVirtualizedItem(CleanUpVirtualizedItemEventArgs)

Called when an item is being re-virtualized.

Declaration
protected virtual void OnCleanUpVirtualizedItem(CleanUpVirtualizedItemEventArgs e)
Parameters
CleanUpVirtualizedItemEventArgs e

OnCreateAutomationPeer()

Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer

PageDown()

Scrolls down within content by one page.

Declaration
public virtual void PageDown()

PageLeft()

Scrolls left within content by one page.

Declaration
public virtual void PageLeft()

PageRight()

Scrolls right within content by one page.

Declaration
public virtual void PageRight()

PageUp()

Scrolls up within content by one page.

Declaration
public virtual void PageUp()

RemoveCleanUpVirtualizedItemHandler(DependencyObject, CleanUpVirtualizedItemEventHandler)

Removes a handler for the CleanUpVirtualizedItem attached event.

Declaration
public static void RemoveCleanUpVirtualizedItemHandler(DependencyObject element, CleanUpVirtualizedItemEventHandler handler)
Parameters
System.Windows.DependencyObject element

DependencyObject that listens to this event.

CleanUpVirtualizedItemEventHandler handler

Event Handler to be removed.

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.

SetIsVirtualizing(DependencyObject, Boolean)

Sets the value for IsVirtualizingProperty.

Declaration
public static void SetIsVirtualizing(DependencyObject element, bool value)
Parameters
System.Windows.DependencyObject element

The element on which to set the value.

System.Boolean value

True if virtualizing, false otherwise.

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.

ToString()

Declaration
public override string ToString()
Returns
System.String

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)

Was this article helpful?

Tell us how we can improve this article

Skip
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.