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.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
[TelerikToolboxCategory("Data")]
public class VirtualizingWrapPanel : VirtualizingPanel, IScrollInfo

Inheritance: objectVirtualizingWrapPanel

Implements: IScrollInfo

Constructors

VirtualizingWrapPanel()

Initializes a new instance of the VirtualizingWrapPanel class.

Declaration

cs-api-definition
public VirtualizingWrapPanel()

Fields

ItemHeightProperty

Identifies the ItemHeight dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemHeightProperty

Field Value

DependencyProperty

ItemWidthProperty

Identifies the ItemWidth dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemWidthProperty

Field Value

DependencyProperty

OrientationProperty

Identifies the Orientation dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty OrientationProperty

Field Value

DependencyProperty

ScrollStepProperty

Identifies the ScrollStep dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ScrollStepProperty

Field Value

DependencyProperty

Properties

CanHierarchicallyScrollAndVirtualizeCore

Declaration

cs-api-definition
protected override bool CanHierarchicallyScrollAndVirtualizeCore { get; }

Property Value

bool

CanHorizontallyScroll

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

Declaration

cs-api-definition
public bool CanHorizontallyScroll { get; set; }

Property Value

bool

CanVerticallyScroll

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

Declaration

cs-api-definition
public bool CanVerticallyScroll { get; set; }

Property Value

bool

ExtentHeight

Gets the vertical size of the extent.

Declaration

cs-api-definition
public double ExtentHeight { get; }

Property Value

double

ExtentWidth

Gets the horizontal size of the extent.

Declaration

cs-api-definition
public double ExtentWidth { get; }

Property Value

double

HasLogicalOrientation

Declaration

cs-api-definition
protected override bool HasLogicalOrientation { get; }

Property Value

bool

HorizontalOffset

Gets the horizontal offset of the scrolled content.

Declaration

cs-api-definition
public double HorizontalOffset { get; }

Property Value

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

cs-api-definition
public double ItemHeight { get; set; }

Property Value

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

cs-api-definition
public double ItemWidth { get; set; }

Property Value

double

LogicalOrientation

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

Declaration

cs-api-definition
protected override Orientation LogicalOrientation { get; }

Property Value

Orientation

Orientation

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

Declaration

cs-api-definition
public Orientation Orientation { get; set; }

Property Value

Orientation

ScrollOwner

Gets or sets a ScrollViewer element that controls scrolling behavior.

Declaration

cs-api-definition
public ScrollViewer ScrollOwner { get; set; }

Property Value

ScrollViewer

ScrollStep

Gets or sets a value for mouse wheel scroll step.

Declaration

cs-api-definition
public double ScrollStep { get; set; }

Property Value

double

VerticalOffset

Gets the vertical offset of the scrolled content.

Declaration

cs-api-definition
public double VerticalOffset { get; }

Property Value

double

ViewportHeight

Gets the vertical size of the viewport for this content.

Declaration

cs-api-definition
public double ViewportHeight { get; }

Property Value

double

ViewportWidth

Gets the horizontal size of the viewport for this content.

Declaration

cs-api-definition
public double ViewportWidth { get; }

Property Value

double

Methods

ArrangeOverride(Size)

Arranges the children.

Declaration

cs-api-definition
protected override Size ArrangeOverride(Size finalSize)

Parameters

finalSize

Size

The available size.

Returns

Size

The used size.

BringIndexIntoView(int)

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

Declaration

cs-api-definition
protected override void BringIndexIntoView(int index)

Parameters

index

int

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

LineDown()

Scrolls down within content by one logical unit.

Declaration

cs-api-definition
public void LineDown()

LineLeft()

Scrolls left within content by one logical unit.

Declaration

cs-api-definition
public void LineLeft()

LineRight()

Scrolls right within content by one logical unit.

Declaration

cs-api-definition
public void LineRight()

LineUp()

Scrolls up within content by one logical unit.

Declaration

cs-api-definition
public void LineUp()

MakeVisible(Visual, Rect)

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

Declaration

cs-api-definition
public Rect MakeVisible(Visual visual, Rect rectangle)

Parameters

visual

Visual

rectangle

Rect

Returns

Rect

MeasureOverride(Size)

Measure the children.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
protected override Size MeasureOverride(Size availableSize)

Parameters

availableSize

Size

The available size.

Returns

Size

The desired size.

MouseWheelDown()

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

Declaration

cs-api-definition
public void MouseWheelDown()

MouseWheelLeft()

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

Declaration

cs-api-definition
public void MouseWheelLeft()

MouseWheelRight()

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

Declaration

cs-api-definition
public void MouseWheelRight()

MouseWheelUp()

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

Declaration

cs-api-definition
public void MouseWheelUp()

OnGotKeyboardFocus(KeyboardFocusChangedEventArgs)

Declaration

cs-api-definition
protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e)

Parameters

e

KeyboardFocusChangedEventArgs

OnInitialized(EventArgs)

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

OnItemsChanged(object, ItemsChangedEventArgs)

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

Declaration

cs-api-definition
protected override void OnItemsChanged(object sender, ItemsChangedEventArgs args)

Parameters

sender

object

args

ItemsChangedEventArgs

OnKeyDown(KeyEventArgs)

Declaration

cs-api-definition
protected override void OnKeyDown(KeyEventArgs e)

Parameters

e

KeyEventArgs

OnLostKeyboardFocus(KeyboardFocusChangedEventArgs)

Declaration

cs-api-definition
protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)

Parameters

e

KeyboardFocusChangedEventArgs

PageDown()

Scrolls down within content by one page.

Declaration

cs-api-definition
public void PageDown()

PageLeft()

Scrolls left within content by one page.

Declaration

cs-api-definition
public void PageLeft()

PageRight()

Scrolls right within content by one page.

Declaration

cs-api-definition
public void PageRight()

PageUp()

Scrolls up within content by one page.

Declaration

cs-api-definition
public void PageUp()

SetHorizontalOffset(double)

Sets the amount of horizontal offset.

Declaration

cs-api-definition
public void SetHorizontalOffset(double offset)

Parameters

offset

double

SetVerticalOffset(double)

Sets the amount of vertical offset.

Declaration

cs-api-definition
public void SetVerticalOffset(double offset)

Parameters

offset

double