menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class VisualContainer - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class VisualContainer

    This is a scrollable visual container which contains the all panels(CellsPanel, BordersPanel, SelectionPanel) of Grid as Children. Handles the arrange and measure logic of all elements.

    Inheritance
    System.Object
    ScrollableFrame
    VisualContainer
    VisualContainerExt
    Implements
    IScrollableInfo
    System.IDisposable
    Inherited Members
    ScrollableFrame.CanHorizontallyScroll
    ScrollableFrame.CanVerticallyScroll
    ScrollableFrame.CreateScrollAxis(Orientation, Boolean, IScrollBar, ILineSizeHost)
    ScrollableFrame.Dispose()
    ScrollableFrame.ExtentHeight
    ScrollableFrame.ExtentWidth
    ScrollableFrame.HorizontalOffset
    ScrollableFrame.HorizontalPadding
    ScrollableFrame.HorizontalPixelScroll
    ScrollableFrame.HorizontalScrollBarOffset
    ScrollableFrame.HorizontalScrollBarOffsetProperty
    ScrollableFrame.HorizontalScrollBarVisibility
    ScrollableFrame.HorizontalScrollBarVisibilityProperty
    ScrollableFrame.HScrollBar
    ScrollableFrame.LineDown()
    ScrollableFrame.LineLeft()
    ScrollableFrame.LineRight()
    ScrollableFrame.LineUp()
    ScrollableFrame.MakeVisible(UIElement, Rect)
    ScrollableFrame.MouseWheelDown()
    ScrollableFrame.MouseWheelLeft()
    ScrollableFrame.MouseWheelRight()
    ScrollableFrame.MouseWheelUp()
    ScrollableFrame.OnContainerKeyDown(Object, KeyRoutedEventArgs)
    ScrollableFrame.OnContainerOnManipulationDelta(Object, ManipulationDeltaRoutedEventArgs)
    ScrollableFrame.OnContainerPointerWheelChanged(Object, PointerRoutedEventArgs)
    ScrollableFrame.PageDown()
    ScrollableFrame.PageLeft()
    ScrollableFrame.PageRight()
    ScrollableFrame.PageUp()
    ScrollableFrame.ScrollColumns
    ScrollableFrame.ScrollOwner
    ScrollableFrame.ScrollRows
    ScrollableFrame.SetHorizontalOffset(Double)
    ScrollableFrame.SetVerticalOffset(Double)
    ScrollableFrame.UnWireEvents()
    ScrollableFrame.VerticalOffset
    ScrollableFrame.VerticalPadding
    ScrollableFrame.VerticalPixelScroll
    ScrollableFrame.VerticalScrollBarOffset
    ScrollableFrame.VerticalScrollBarOffsetProperty
    ScrollableFrame.VerticalScrollBarVisibility
    ScrollableFrame.VerticalScrollBarVisibilityProperty
    ScrollableFrame.ViewportHeight
    ScrollableFrame.ViewportWidth
    ScrollableFrame.VScrollBar
    ScrollableFrame.WireEvents()
    Namespace: Syncfusion.UI.Xaml.CellGrid
    Assembly: Syncfusion.SfCellGrid.UWP.dll
    Syntax
    public class VisualContainer : ScrollableFrame, IScrollableInfo, IDisposable

    Constructors

    VisualContainer()

    Creates a new instance.

    Declaration
    public VisualContainer()

    Methods

    ArrangeChildPanels(Rect)

    Arrange the child panels.

    Declaration
    protected virtual void ArrangeChildPanels(Rect rect)
    Parameters
    Type Name Description
    Windows.Foundation.Rect rect

    ArrangeOverride(Size)

    Declaration
    protected override Size ArrangeOverride(Size finalSize)
    Parameters
    Type Name Description
    Windows.Foundation.Size finalSize
    Returns
    Type
    Windows.Foundation.Size
    Overrides
    ScrollableFrame.ArrangeOverride(Size)

    CreateSelectionPanel()

    Creates the SelectionPanel.

    Declaration
    protected virtual SelectionPanel CreateSelectionPanel()
    Returns
    Type
    SelectionPanel

    Dispose(Boolean)

    Dispose the live instances.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    Dispose the instance, if it is True

    Overrides
    ScrollableFrame.Dispose(Boolean)

    GetClipRect(ScrollAxisRegion, ScrollAxisRegion)

    Gets the clipping bounds for the specified row and column region.

    Declaration
    public Rect GetClipRect(ScrollAxisRegion rowRegion, ScrollAxisRegion columnRegion)
    Parameters
    Type Name Description
    ScrollAxisRegion rowRegion

    The row region.

    ScrollAxisRegion columnRegion

    The column region.

    Returns
    Type Description
    Windows.Foundation.Rect

    A GetClipRect(ScrollAxisRegion, ScrollAxisRegion) with clipping bounds.

    InitializeChildPanels()

    Initialize and add the child panels.

    Declaration
    protected virtual void InitializeChildPanels()

    InvalidateMeasureInfo()

    Invalidates all the child panels.

    Declaration
    public override void InvalidateMeasureInfo()
    Overrides
    ScrollableFrame.InvalidateMeasureInfo()

    MeasureChildPanels(Size)

    Measure the child panels.

    Declaration
    protected virtual void MeasureChildPanels(Size availableSize)
    Parameters
    Type Name Description
    Windows.Foundation.Size availableSize

    MeasureOverride(Size)

    Declaration
    protected override Size MeasureOverride(Size availableSize)
    Parameters
    Type Name Description
    Windows.Foundation.Size availableSize
    Returns
    Type
    Windows.Foundation.Size
    Overrides
    ScrollableFrame.MeasureOverride(Size)

    OnScrollColumns_Changed(Object, ScrollChangedEventArgs)

    Used to refresh the columns when visiblecolumns collection changed

    Declaration
    protected override void OnScrollColumns_Changed(object sender, ScrollChangedEventArgs e)
    Parameters
    Type Name Description
    System.Object sender
    ScrollChangedEventArgs e
    Overrides
    ScrollableFrame.OnScrollColumns_Changed(Object, ScrollChangedEventArgs)

    RangeToRect(ScrollAxisRegion, ScrollAxisRegion, GridRangeInfo, Boolean, Boolean)

    For internal use.

    Declaration
    public Rect RangeToRect(ScrollAxisRegion rowRegion, ScrollAxisRegion columnRegion, GridRangeInfo range, bool allowEstimatesForOutOfViewRows, bool allowEstimatesForOutOfViewColumns)
    Parameters
    Type Name Description
    ScrollAxisRegion rowRegion

    Scroll axis region for row.

    ScrollAxisRegion columnRegion

    Scroll axis region for column.

    GridRangeInfo range

    Cell range.

    System.Boolean allowEstimatesForOutOfViewRows

    If set to true, allows estimate for out of view rows.

    System.Boolean allowEstimatesForOutOfViewColumns

    If set to true, allows estimate for out of view columns.

    Returns
    Type Description
    Windows.Foundation.Rect

    Visible rectangle for the given range.

    RangeToRect(ScrollAxisRegion, ScrollAxisRegion, RowColumnIndex, Boolean, Boolean)

    For internal use.

    Declaration
    public Rect RangeToRect(ScrollAxisRegion rowRegion, ScrollAxisRegion columnRegion, RowColumnIndex rowcolumn, bool allowEstimatesForOutOfViewRows, bool allowEstimatesForOutOfViewColumns)
    Parameters
    Type Name Description
    ScrollAxisRegion rowRegion

    Scroll axis region for row.

    ScrollAxisRegion columnRegion

    Scroll axis region for column.

    RowColumnIndex rowcolumn

    Cell range.

    System.Boolean allowEstimatesForOutOfViewRows

    If set to true, allows estimate for out of view rows.

    System.Boolean allowEstimatesForOutOfViewColumns

    If set to true, allows estimate for out of view columns.

    Returns
    Type Description
    Windows.Foundation.Rect

    Visible rectangle for the given range.

    UpdateAxis(Size)

    Declaration
    public override void UpdateAxis(Size availableSize)
    Parameters
    Type Name Description
    Windows.Foundation.Size availableSize
    Overrides
    ScrollableFrame.UpdateAxis(Size)

    Implements

    IScrollableInfo
    System.IDisposable

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved