Class
GridViewVirtualizingPanel

GridViewVirtualizingPanel is used to arrange children into single line.

Definition

Namespace:Telerik.Windows.Controls.GridView

Assembly:Telerik.Windows.Controls.GridView.dll

Syntax:

cs-api-definition
public class GridViewVirtualizingPanel : GridViewBaseVirtualizingPanel, IScrollInfo

Inheritance: objectGridViewBaseVirtualizingPanelGridViewVirtualizingPanel

Derived Classes: TreeListViewVirtualizingPanel

Implements: IScrollInfo

Inherited Members GridViewBaseVirtualizingPanel.ItemContainerGenerator

Constructors

GridViewVirtualizingPanel()

Initializes a new instance of the GridViewVirtualizingPanel class.

Declaration

cs-api-definition
public GridViewVirtualizingPanel()

Fields

CleanUpVirtualizedItemEvent

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

Declaration

cs-api-definition
public static readonly RoutedEvent CleanUpVirtualizedItemEvent

Field Value

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

cs-api-definition
public static readonly DependencyProperty IsVirtualizingProperty

Field Value

DependencyProperty

Properties

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

LogicalOrientation

Declaration

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

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

A ScrollViewer element that controls scrolling behavior. This property has no default value.

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

AddCleanUpVirtualizedItemHandler(DependencyObject, CleanUpVirtualizedItemEventHandler)

Adds a handler for the CleanUpVirtualizedItem attached event.

Declaration

cs-api-definition
public static void AddCleanUpVirtualizedItemHandler(DependencyObject element, CleanUpVirtualizedItemEventHandler handler)

Parameters

element

DependencyObject

DependencyObject that listens to this event.

handler

CleanUpVirtualizedItemEventHandler

Event Handler to be added.

ArrangeOverride(Size)

Declaration

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

Parameters

finalSize

Size

Returns

Size

BringIndexIntoView(int)

When implemented in a derived class, 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

Overrides GridViewBaseVirtualizingPanel.BringIndexIntoView(int)

CreateUIElementCollection(FrameworkElement)

Declaration

cs-api-definition
protected override UIElementCollection CreateUIElementCollection(FrameworkElement logicalParent)

Parameters

logicalParent

FrameworkElement

Returns

UIElementCollection

GetIsVirtualizing(DependencyObject)

Retrieves the value for IsVirtualizingProperty.

Declaration

cs-api-definition
public static bool GetIsVirtualizing(DependencyObject element)

Parameters

element

DependencyObject

The object on which to query the value.

Returns

bool

True if virtualizing, false otherwise.

LineDown()

Scrolls down within content by one logical unit.

Declaration

cs-api-definition
public virtual void LineDown()

LineLeft()

Scrolls left within content by one logical unit.

Declaration

cs-api-definition
public virtual void LineLeft()

LineRight()

Scrolls right within content by one logical unit.

Declaration

cs-api-definition
public virtual void LineRight()

LineUp()

Scrolls up within content by one logical unit.

Declaration

cs-api-definition
public virtual 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

A Visual that becomes visible.

rectangle

Rect

A bounding rectangle that identifies the coordinate space to make visible.

Returns

Rect

A Rect that is visible.

MeasureOverride(Size)

Declaration

cs-api-definition
protected override Size MeasureOverride(Size availableSize)

Parameters

availableSize

Size

Returns

Size

MouseWheelDown()

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

Declaration

cs-api-definition
public virtual void MouseWheelDown()

MouseWheelLeft()

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

Declaration

cs-api-definition
public virtual void MouseWheelLeft()

MouseWheelRight()

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

Declaration

cs-api-definition
public virtual void MouseWheelRight()

MouseWheelUp()

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

Declaration

cs-api-definition
public virtual void MouseWheelUp()

OnCleanUpVirtualizedItem(CleanUpVirtualizedItemEventArgs)

Called when an item is being re-virtualized.

Declaration

cs-api-definition
protected virtual void OnCleanUpVirtualizedItem(CleanUpVirtualizedItemEventArgs e)

Parameters

e

CleanUpVirtualizedItemEventArgs

OnCreateAutomationPeer()

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

PageDown()

Scrolls down within content by one page.

Declaration

cs-api-definition
public virtual void PageDown()

PageLeft()

Scrolls left within content by one page.

Declaration

cs-api-definition
public virtual void PageLeft()

PageRight()

Scrolls right within content by one page.

Declaration

cs-api-definition
public virtual void PageRight()

PageUp()

Scrolls up within content by one page.

Declaration

cs-api-definition
public virtual void PageUp()

RemoveCleanUpVirtualizedItemHandler(DependencyObject, CleanUpVirtualizedItemEventHandler)

Removes a handler for the CleanUpVirtualizedItem attached event.

Declaration

cs-api-definition
public static void RemoveCleanUpVirtualizedItemHandler(DependencyObject element, CleanUpVirtualizedItemEventHandler handler)

Parameters

element

DependencyObject

DependencyObject that listens to this event.

handler

CleanUpVirtualizedItemEventHandler

Event Handler to be removed.

SetHorizontalOffset(double)

Sets the amount of horizontal offset.

Declaration

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

Parameters

offset

double

The degree to which content is horizontally offset from the containing viewport.

SetIsVirtualizing(DependencyObject, bool)

Sets the value for IsVirtualizingProperty.

Declaration

cs-api-definition
public static void SetIsVirtualizing(DependencyObject element, bool value)

Parameters

element

DependencyObject

The element on which to set the value.

value

bool

True if virtualizing, false otherwise.

SetVerticalOffset(double)

Sets the amount of vertical offset.

Declaration

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

Parameters

offset

double

The degree to which content is vertically offset from the containing viewport.

ToString()

Declaration

cs-api-definition
public override string ToString()

Returns

string