New to Telerik UI for WPFStart a free 30-day trial

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.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

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

Inheritance: objectVirtualizingWrapPanel

Implements: IScrollInfo

Constructors

Initializes a new instance of the VirtualizingWrapPanel class.

C#
public VirtualizingWrapPanel()

Fields

ItemHeightProperty

DependencyProperty

Identifies the ItemHeight dependency property.

C#
public static readonly DependencyProperty ItemHeightProperty

ItemWidthProperty

DependencyProperty

Identifies the ItemWidth dependency property.

C#
public static readonly DependencyProperty ItemWidthProperty

OrientationProperty

DependencyProperty

Identifies the Orientation dependency property.

C#
public static readonly DependencyProperty OrientationProperty

ScrollStepProperty

DependencyProperty

Identifies the ScrollStep dependency property.

C#
public static readonly DependencyProperty ScrollStepProperty

Properties

C#
protected override bool CanHierarchicallyScrollAndVirtualizeCore { get; }

Gets or sets a value that indicates whether scrolling on the horizontal axis is possible.

C#
public bool CanHorizontallyScroll { get; set; }

Gets or sets a value that indicates whether scrolling on the vertical axis is possible.

C#
public bool CanVerticallyScroll { get; set; }

Gets the vertical size of the extent.

C#
public double ExtentHeight { get; }

Gets the horizontal size of the extent.

C#
public double ExtentWidth { get; }
C#
protected override bool HasLogicalOrientation { get; }

Gets the horizontal offset of the scrolled content.

C#
public double HorizontalOffset { get; }

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

C#
public double ItemHeight { get; set; }

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

C#
public double ItemWidth { get; set; }

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

C#
protected override Orientation LogicalOrientation { get; }

Orientation

Orientation

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

C#
public Orientation Orientation { get; set; }

ScrollOwner

ScrollViewer

Gets or sets a ScrollViewer element that controls scrolling behavior.

C#
public ScrollViewer ScrollOwner { get; set; }

Gets or sets a value for mouse wheel scroll step.

C#
public double ScrollStep { get; set; }

Gets the vertical offset of the scrolled content.

C#
public double VerticalOffset { get; }

Gets the vertical size of the viewport for this content.

C#
public double ViewportHeight { get; }

Gets the horizontal size of the viewport for this content.

C#
public double ViewportWidth { get; }

Methods

Arranges the children.

C#
protected override Size ArrangeOverride(Size finalSize)
Parameters:finalSizeSize

The available size.

Returns:

Size

The used size.

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

C#
protected override void BringIndexIntoView(int index)
Parameters:indexint

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

Scrolls down within content by one logical unit.

C#
public void LineDown()

Scrolls left within content by one logical unit.

C#
public void LineLeft()

Scrolls right within content by one logical unit.

C#
public void LineRight()

Scrolls up within content by one logical unit.

C#
public void LineUp()

Forces content to scroll until the coordinate space of a Visual object is visible.

C#
public Rect MakeVisible(Visual visual, Rect rectangle)
Parameters:visualVisualrectangleRectReturns:

Rect

Measure the children.

C#
protected override Size MeasureOverride(Size availableSize)
Parameters:availableSizeSize

The available size.

Returns:

Size

The desired size.

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

C#
public void MouseWheelDown()

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

C#
public void MouseWheelLeft()

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

C#
public void MouseWheelRight()

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

C#
public void MouseWheelUp()
C#
protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e)
Parameters:eKeyboardFocusChangedEventArgs
C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

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

C#
protected override void OnItemsChanged(object sender, ItemsChangedEventArgs args)
Parameters:senderobjectargsItemsChangedEventArgs
C#
protected override void OnKeyDown(KeyEventArgs e)
Parameters:eKeyEventArgs
C#
protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
Parameters:eKeyboardFocusChangedEventArgs

Scrolls down within content by one page.

C#
public void PageDown()

Scrolls left within content by one page.

C#
public void PageLeft()

Scrolls right within content by one page.

C#
public void PageRight()

Scrolls up within content by one page.

C#
public void PageUp()

Sets the amount of horizontal offset.

C#
public void SetHorizontalOffset(double offset)
Parameters:offsetdouble

Sets the amount of vertical offset.

C#
public void SetVerticalOffset(double offset)
Parameters:offsetdouble