menu

Xamarin.iOS

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

    Show / Hide Table of Contents

    Class VisualContainer

    Represents a container that holds the row elements in a SfDataGrid control.

    Inheritance
    System.Object
    VisualContainer
    Namespace: Syncfusion.SfDataGrid
    Assembly: Syncfusion.SfDataGrid.iOS.dll
    Syntax
    public class VisualContainer : UIScrollView

    Constructors

    VisualContainer()

    Initializes a new instance of the VisualContainer class.

    Declaration
    public VisualContainer()

    VisualContainer(CGRect)

    Initializes a new instance of the VisualContainer class.

    Declaration
    public VisualContainer(CGRect rect)
    Parameters
    Type Name Description
    CoreGraphics.CGRect rect

    The CoreGraphics.CGRect.

    VisualContainer(IntPtr)

    Initializes a new instance of the VisualContainer class.

    Declaration
    public VisualContainer(IntPtr ptr)
    Parameters
    Type Name Description
    System.IntPtr ptr

    The System.IntPtr.

    Properties

    ColumnCount

    Gets or sets the column count in the SfDataGrid control.

    Declaration
    public int ColumnCount { get; set; }
    Property Value
    Type Description
    System.Int32

    The column count in the SfDataGrid control.

    ColumnWidths

    Gets the columns width from the LineSizeCollection.

    Declaration
    public IPaddedEditableLineSizeHost ColumnWidths { get; }
    Property Value
    Type Description
    IPaddedEditableLineSizeHost

    The columns width from the LineSizeCollection.

    ContentInset

    Gets or sets the distance, in points, that the content of the scroll view is inset inside of the scroll view.

    Declaration
    public override UIEdgeInsets ContentInset { get; set; }
    Property Value
    Type Description
    UIKit.UIEdgeInsets

    The distance, in points, that the content of the scroll view is inset inside of the scroll view.

    ExtentHeight

    Gets the extent height of a SfDataGrid control.

    Declaration
    public double ExtentHeight { get; }
    Property Value
    Type Description
    System.Double

    The extent height of a SfDataGrid control.

    ExtentWidth

    Gets the extent width of a SfDataGrid control.

    Declaration
    public double ExtentWidth { get; }
    Property Value
    Type Description
    System.Double

    The extent width of a SfDataGrid control.

    FooterColumns

    Gets or sets the frozen columns count to freeze the columns at the right.

    Declaration
    public int FooterColumns { get; set; }
    Property Value
    Type Description
    System.Int32

    The frozen columns count to freeze the columns at the right.

    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    Negative values are not allowed.

    FooterRows

    Gets or sets the frozen rows count to freeze the rows at the bottom.

    Declaration
    public int FooterRows { get; set; }
    Property Value
    Type Description
    System.Int32

    The frozen rows count to freeze the rows at the bottom.

    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    Negative values are not allowed.

    FrozenColumns

    Gets or sets the frozen columns count to freeze the columns at the left, next to RowHeader if ShowRowHeader is true.

    Declaration
    public int FrozenColumns { get; set; }
    Property Value
    Type Description
    System.Int32

    The frozen columns count to freeze the columns at the left, next to RowHeader if ShowRowHeader is true.

    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    Negative values are not allowed.

    FrozenRows

    Gets or sets the frozen rows count to freeze the rows at the top below header.

    Declaration
    public int FrozenRows { get; set; }
    Property Value
    Type Description
    System.Int32

    The frozen rows count to freeze the rows at the top below header.

    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    Negative values are not allowed.

    HorizontalOffset

    Gets or sets the horizontal offset of a SfDataGrid control.

    Declaration
    public double HorizontalOffset { get; set; }
    Property Value
    Type Description
    System.Double

    The horizontal offset of a SfDataGrid control.

    HorizontalPixelScroll

    Gets or sets a value indicating whether horizontal scrolling is performed in pixel mode.

    Declaration
    public bool HorizontalPixelScroll { get; set; }
    Property Value
    Type Description
    System.Boolean

    A boolean value indicating whether horizontal scrolling is performed in pixel mode.

    HScrollBar

    Gets a reference to the class that implements IScrollBar which contains the horizontal scroll bar information.

    Declaration
    public IScrollBar HScrollBar { get; }
    Property Value
    Type Description
    IScrollBar

    A reference to the class that implements IScrollBar which contains the horizontal scroll bar information.

    IsChildInSwipe

    Gets or sets a value indicating whether any child is in swipe.

    Declaration
    public bool IsChildInSwipe { get; set; }
    Property Value
    Type Description
    System.Boolean

    A boolean value indicating whether any child is in swipe.

    NeedToRefreshColumn

    Gets or sets a value indicating whether to refresh the columns.

    Declaration
    public bool NeedToRefreshColumn { get; set; }
    Property Value
    Type Description
    System.Boolean

    A boolean value denoting whether to refresh the columns.

    RowCount

    Gets or sets the row count in the SfDataGrid control.

    Declaration
    public int RowCount { get; set; }
    Property Value
    Type Description
    System.Int32

    The row count in the SfDataGrid control.

    RowGenerator

    Gets or sets a reference to the class that implements IRowGenerator.

    Declaration
    public IRowGenerator RowGenerator { get; set; }
    Property Value
    Type Description
    IRowGenerator

    A reference to the class that implements IRowGenerator.

    RowHeightManager

    Gets or sets a reference to the RowHeightManager instance that manages the row heights in a SfDataGrid control.

    Declaration
    public RowHeightManager RowHeightManager { get; set; }
    Property Value
    Type Description
    RowHeightManager

    A reference to the RowHeightManager instance that manages the row heights in a SfDataGrid control.

    RowHeights

    Gets the rows height from the LineSizeCollection.

    Declaration
    public IPaddedEditableLineSizeHost RowHeights { get; }
    Property Value
    Type Description
    IPaddedEditableLineSizeHost

    The rows height from the LineSizeCollection.

    RowsGenerator

    Gets a reference to the class that implements IRowGenerator.

    Declaration
    public IRowGenerator RowsGenerator { get; }
    Property Value
    Type
    IRowGenerator

    ScrollColumns

    Gets a reference to the ScrollAxisBase instance which contains the information of column lines in a SfDataGrid control.

    Declaration
    public ScrollAxisBase ScrollColumns { get; }
    Property Value
    Type Description
    ScrollAxisBase

    A reference to the ScrollAxisBase instance which contains the information of column lines in a SfDataGrid control.

    ScrollerHeight

    Gets the height of the ScrollView in a SfDataGrid control.

    Declaration
    public double ScrollerHeight { get; }
    Property Value
    Type Description
    System.Double

    The height of the ScrollView in a SfDataGrid control.

    ScrollerWidth

    Gets the width of the ScrollView in a SfDataGrid control.

    Declaration
    public double ScrollerWidth { get; }
    Property Value
    Type Description
    System.Double

    The width of the ScrollView in a SfDataGrid control.

    ScrollIndicatorInsets

    Gets or sets a value indicating how far inset the scroll indicators are from the scroll view's edges.

    Declaration
    public override UIEdgeInsets ScrollIndicatorInsets { get; set; }
    Property Value
    Type Description
    UIKit.UIEdgeInsets

    A value indicating how far inset the scroll indicators are from the scroll view's edges.

    ScrollOwner

    Gets the reference to the UIKit.UIScrollView instance.

    Declaration
    public UIScrollView ScrollOwner { get; }
    Property Value
    Type Description
    UIKit.UIScrollView

    A reference to the UIKit.UIScrollView instance.

    ScrollRows

    Gets a reference to the ScrollAxisBase instance which contains the information of row lines in a SfDataGrid control.

    Declaration
    public ScrollAxisBase ScrollRows { get; }
    Property Value
    Type Description
    ScrollAxisBase

    A reference to the ScrollAxisBase instance which contains the information of row lines in a SfDataGrid control.

    VerticalOffset

    Gets or sets the vertical offset of a SfDataGrid control.

    Declaration
    public double VerticalOffset { get; set; }
    Property Value
    Type Description
    System.Double

    The vertical offset of a SfDataGrid control.

    VerticalPixelScroll

    Gets or sets a value indicating whether vertical scrolling is performed in pixel mode.

    Declaration
    public bool VerticalPixelScroll { get; set; }
    Property Value
    Type Description
    System.Boolean

    A boolean value indicating whether vertical scrolling is performed in pixel mode.

    ViewportHeight

    Gets the height of the view port in the visual container.

    Declaration
    public double ViewportHeight { get; }
    Property Value
    Type Description
    System.Double

    The height of the view port in the visual container.

    ViewportWidth

    Gets the width of the view port in the visual container.

    Declaration
    public double ViewportWidth { get; }
    Property Value
    Type Description
    System.Double

    The width of the view port in the visual container.

    VScrollBar

    Gets a reference to the class that implements IScrollBar which contains the vertical scroll bar information.

    Declaration
    public IScrollBar VScrollBar { get; }
    Property Value
    Type Description
    IScrollBar

    A reference to the class that implements IScrollBar which contains the vertical scroll bar information.

    Methods

    AwakeFromNib()

    Called after the object has been loaded from the nib file.

    Declaration
    public override void AwakeFromNib()

    Dispose(Boolean)

    Releases the unmanaged resources used by the component and optionally releases the managed resources.

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

    if true - release both managed and unmanaged resources; if false - release only unmanaged resources.

    Draw(CGRect)

    Draws the view in the given rect.

    Declaration
    public override void Draw(CGRect rect)
    Parameters
    Type Name Description
    CoreGraphics.CGRect rect

    The rect in which the view should be drawn.

    GestureRecognizerShouldBegin(UIGestureRecognizer)

    Specifies whether the given gesture recognizer should be allowed to handle touch events.

    Declaration
    public override bool GestureRecognizerShouldBegin(UIGestureRecognizer gestureRecognizer)
    Parameters
    Type Name Description
    UIKit.UIGestureRecognizer gestureRecognizer

    The gesture recognizer to be handled.

    Returns
    Type Description
    System.Boolean

    A boolean value specifying whether the given gesture recognizer handles touch events or not.

    InsertColumns(Int32, Int32)

    Inserts the columns in the given column index.

    Declaration
    public void InsertColumns(int insertAtColumnIndex, int count)
    Parameters
    Type Name Description
    System.Int32 insertAtColumnIndex

    The column index to insert the columns.

    System.Int32 count

    The count of the columns to be inserted.

    InsertRows(Int32, Int32)

    Inserts the rows in the given row index.

    Declaration
    public void InsertRows(int insertAtRowIndex, int count)
    Parameters
    Type Name Description
    System.Int32 insertAtRowIndex

    The index to insert the rows.

    System.Int32 count

    The count of the rows to be inserted.

    LayoutSubviews()

    Layouts the children in the view.

    Declaration
    public override void LayoutSubviews()

    OnCreateColumnWidths()

    Creates a new instance of LineSizeCollection for creating the column widths.

    Declaration
    protected IPaddedEditableLineSizeHost OnCreateColumnWidths()
    Returns
    Type Description
    IPaddedEditableLineSizeHost

    A new instance of LineSizeCollection for creating the column widths.

    OnCreateRowHeights()

    Creates a new instance of LineSizeCollection for creating the row heights.

    Declaration
    protected IPaddedEditableLineSizeHost OnCreateRowHeights()
    Returns
    Type Description
    IPaddedEditableLineSizeHost

    A new instance of LineSizeCollection for creating the row heights.

    OnMeasure()

    Creates the RowPanels and GridCells for the first time and ensure them every time the measure is hit. Measures the constraint of the child and send the Measured dimensions to the super to adjust the scrolling area.

    Declaration
    protected void OnMeasure()

    RemoveColumns(Int32, Int32)

    Removes the columns in the given column index.

    Declaration
    public void RemoveColumns(int removeAtColumnIndex, int count)
    Parameters
    Type Name Description
    System.Int32 removeAtColumnIndex

    The column index to remove the columns.

    System.Int32 count

    The count of columns to be removed.

    RemoveRows(Int32, Int32)

    Removes the rows in the given row index.

    Declaration
    public void RemoveRows(int removeAtRowIndex, int count)
    Parameters
    Type Name Description
    System.Int32 removeAtRowIndex

    The index to remove the rows.

    System.Int32 count

    The count of the rows to be removed.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved