Class VirtualizingItemsPanel
Inheritance
System.Object
VirtualizingItemsPanel
Implements
System.Windows.Controls.Primitives.IScrollInfo
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class VirtualizingItemsPanel : VirtualizingPanel, IScrollInfo
Constructors
VirtualizingItemsPanel()
Declaration
public VirtualizingItemsPanel()
Fields
ItemsHeightProperty
Declaration
public static readonly DependencyProperty ItemsHeightProperty
Field Value
Type |
System.Windows.DependencyProperty |
Properties
Declaration
public bool CanHorizontallyScroll { get; set; }
Property Value
Declaration
public bool CanVerticallyScroll { get; set; }
Property Value
ExtentHeight
Declaration
public double ExtentHeight { get; }
Property Value
ExtentWidth
Declaration
public double ExtentWidth { get; }
Property Value
HorizontalOffset
Declaration
public double HorizontalOffset { get; }
Property Value
ItemsHeight
Gets or sets the height of the row.
Declaration
public double ItemsHeight { get; set; }
Property Value
Type |
Description |
System.Double |
The height of the row.
|
Declaration
public ScrollViewer ScrollOwner { get; set; }
Property Value
Type |
System.Windows.Controls.ScrollViewer |
VerticalOffset
Declaration
public double VerticalOffset { get; }
Property Value
ViewportHeight
Declaration
public double ViewportHeight { get; }
Property Value
ViewportWidth
Declaration
public double ViewportWidth { get; }
Property Value
Methods
ArrangeOverride(Size)
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type |
Name |
Description |
System.Windows.Size |
finalSize |
|
Returns
LineDown()
Declaration
LineLeft()
Since we are not providing virtualizaion towards horizantal, it is not manditory to implement these methods.
Declaration
LineRight()
Declaration
LineUp()
Declaration
Declaration
public Rect MakeVisible(Visual visual, Rect rectangle)
Parameters
Type |
Name |
Description |
System.Windows.Media.Visual |
visual |
|
System.Windows.Rect |
rectangle |
|
Returns
MeasureOverride(Size)
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type |
Name |
Description |
System.Windows.Size |
availableSize |
|
Returns
MouseWheelDown()
Declaration
public void MouseWheelDown()
MouseWheelLeft()
Declaration
public void MouseWheelLeft()
MouseWheelRight()
Declaration
public void MouseWheelRight()
MouseWheelUp()
Declaration
public void MouseWheelUp()
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
The System.Windows.RoutedEventArgs that contains the event data.
|
OnItemsChanged(Object, ItemsChangedEventArgs)
When items are removed, remove the corresponding UI if necessary
Declaration
protected override void OnItemsChanged(object sender, ItemsChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.Windows.Controls.Primitives.ItemsChangedEventArgs |
args |
|
PageDown()
Declaration
PageLeft()
Declaration
Declaration
PageUp()
Declaration
SetHorizontalOffset(Double)
Declaration
public void SetHorizontalOffset(double offset)
Parameters
Type |
Name |
Description |
System.Double |
offset |
|
SetVerticalOffset(Double)
Declaration
public void SetVerticalOffset(double offset)
Parameters
Type |
Name |
Description |
System.Double |
offset |
|
Implements
System.Windows.Controls.Primitives.IScrollInfo