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 VirtualizingWrapPanel

Positions child elements in sequential position from left to right, breaking content to the next line at the edge of the containing box. Subsequent ordering happens sequentially from top to bottom or from right to left, depending on the value of the Orientation property.

Inheritance
System.Object
VirtualizingWrapPanel
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll

Syntax

[TelerikToolboxCategory("Data")]
public class VirtualizingWrapPanel : VirtualizingPanel, IScrollInfo, IPanelKeyboardHelper

Constructors

VirtualizingWrapPanel()

Initializes a new instance of the VirtualizingWrapPanel class.

Declaration
public VirtualizingWrapPanel()

Fields

ItemHeightProperty

Identifies the ItemHeight dependency property.

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

ItemWidthProperty

Identifies the ItemWidth dependency property.

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

OrientationProperty

Identifies the Orientation dependency property.

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

ScrollStepProperty

Identifies the ScrollStep dependency property.

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

Properties

CanHierarchicallyScrollAndVirtualizeCore

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

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

ItemHeight

Gets or sets a value that specifies the height of all items that are contained within a VirtualizingWrapPanel. This is a dependency property.

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

ItemWidth

Gets or sets a value that specifies the width of all items that are contained within a VirtualizingWrapPanel. This is a dependency property.

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

LogicalOrientation

Note: When Wrap is horizontal it grows vertically. Otherwise nested grouping virtualization won't work.

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

Orientation

Gets or sets a value that specifies the dimension in which child content is arranged. This is a dependency property.

Declaration
public Orientation Orientation { get; set; }
Property Value
System.Windows.Controls.Orientation

ScrollOwner

Gets or sets a ScrollViewer element that controls scrolling behavior.

Declaration
public ScrollViewer ScrollOwner { get; set; }
Property Value
System.Windows.Controls.ScrollViewer

ScrollStep

Gets or sets a value for mouse wheel scroll step.

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

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

ArrangeOverride(Size)

Arranges the children.

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

The available size.

Returns
System.Windows.Size

The used size.

BringIndexIntoView(Int32)

Generates the item at the specified index location and makes it visible.

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

The index position of the item that is generated and made visible.

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
System.Windows.Media.Visual visual

System.Windows.Rect rectangle

Returns
System.Windows.Rect

MeasureOverride(Size)

Measure the children.

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

The available size.

Returns
System.Windows.Size

The desired size.

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()

OnGotKeyboardFocus(KeyboardFocusChangedEventArgs)

Declaration
protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e)
Parameters
System.Windows.Input.KeyboardFocusChangedEventArgs e

OnInitialized(EventArgs)

Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs e

OnItemsChanged(Object, ItemsChangedEventArgs)

When items are removed, remove the corresponding UI if necessary.

Declaration
protected override void OnItemsChanged(object sender, ItemsChangedEventArgs args)
Parameters
System.Object sender

System.Windows.Controls.Primitives.ItemsChangedEventArgs args

OnKeyDown(KeyEventArgs)

Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
System.Windows.Input.KeyEventArgs e

OnLostKeyboardFocus(KeyboardFocusChangedEventArgs)

Declaration
protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
Parameters
System.Windows.Input.KeyboardFocusChangedEventArgs 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

SetVerticalOffset(Double)

Sets the amount of vertical offset.

Declaration
public void SetVerticalOffset(double offset)
Parameters
System.Double offset

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.