alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Interface IEditableLineSizeHost

    A collection that manages lines with varying height and hidden state. It has properties for header and footer lines, total line count, default size of a line and also lets you add nested collections. Methods are provided for changing the values and getting the total extent.

    Inherited Members
    IDisposable.Dispose()
    ILineSizeHost.DefaultLineSizeChanged
    ILineSizeHost.FooterLineCountChanged
    ILineSizeHost.GetDefaultLineSize()
    ILineSizeHost.GetFooterLineCount()
    ILineSizeHost.GetHeaderLineCount()
    ILineSizeHost.GetHidden(int, out int)
    ILineSizeHost.GetLineCount()
    ILineSizeHost.GetSize(int, out int)
    ILineSizeHost.HeaderLineCountChanged
    ILineSizeHost.InitializeScrollAxis(ScrollAxisBase)
    ILineSizeHost.LineCountChanged
    ILineSizeHost.LineHiddenChanged
    ILineSizeHost.LinesInserted
    ILineSizeHost.LineSizeChanged
    ILineSizeHost.LinesRemoved
    Namespace: Syncfusion.Maui.GridCommon.ScrollAxis
    Assembly: Syncfusion.Maui.GridCommon.dll
    Syntax
    public interface IEditableLineSizeHost : ILineSizeHost, IDisposable

    Properties

    DefaultLineSize

    Gets or sets the default size of lines.

    Declaration
    double DefaultLineSize { get; set; }
    Property Value
    Type Description
    double

    The default size of lines.

    FooterLineCount

    Gets or sets the footer line count.

    Declaration
    int FooterLineCount { get; set; }
    Property Value
    Type Description
    int

    The footer line count.

    HeaderLineCount

    Gets or sets the header line count.

    Declaration
    int HeaderLineCount { get; set; }
    Property Value
    Type Description
    int

    The header line count.

    this[int]

    Gets or sets the line size at the specified index.

    Declaration
    double this[int index] { get; set; }
    Parameters
    Type Name Description
    int index
    Property Value
    Type
    double

    LineCount

    Gets or sets the line count.

    Declaration
    int LineCount { get; set; }
    Property Value
    Type Description
    int

    The line count.

    SupportsInsertRemove

    Gets whether the host supports inserting and removing lines.

    Declaration
    bool SupportsInsertRemove { get; }
    Property Value
    Type
    bool

    SupportsNestedLines

    Gets whether the host supports nesting.

    Declaration
    bool SupportsNestedLines { get; }
    Property Value
    Type
    bool

    TotalExtent

    Gets the total extent which is the total of all line sizes. Note: This propert only works if the DistanceCollection has been setup for pixel scrolling; otherwise it returns double.NaN.

    Declaration
    double TotalExtent { get; }
    Property Value
    Type Description
    double

    The total extent or double.NaN.

    Methods

    CreateMoveLines()

    Creates the object which holds temporary state when moving lines.

    Declaration
    IEditableLineSizeHost CreateMoveLines()
    Returns
    Type
    IEditableLineSizeHost

    GetNestedLines(int)

    Gets the nested lines.

    Declaration
    IEditableLineSizeHost GetNestedLines(int index)
    Parameters
    Type Name Description
    int index

    The index.

    Returns
    Type
    IEditableLineSizeHost

    InsertLines(int, int, IEditableLineSizeHost)

    Insert a number of lines.

    Declaration
    void InsertLines(int insertAtLine, int count, IEditableLineSizeHost moveLines)
    Parameters
    Type Name Description
    int insertAtLine

    The index of the first line to insert.

    int count

    The count.

    IEditableLineSizeHost moveLines

    A container with saved state from a preceeding RemoveLines(int, int, IEditableLineSizeHost) call when lines should be moved. When it is null empty lines with default size are inserted.

    RemoveLines(int, int, IEditableLineSizeHost)

    Removes a number of lines.

    Declaration
    void RemoveLines(int removeAtLine, int count, IEditableLineSizeHost moveLines)
    Parameters
    Type Name Description
    int removeAtLine

    The index of the first line to be removed.

    int count

    The count.

    IEditableLineSizeHost moveLines

    A container to save state for a subsequent InsertLines(int, int, IEditableLineSizeHost) call when lines should be moved.

    SetHidden(int, int, bool)

    Sets the hidden state for a range of lines.

    Declaration
    void SetHidden(int from, int to, bool hide)
    Parameters
    Type Name Description
    int from

    From.

    int to

    To.

    bool hide

    if set to true hide the lines.

    SetNestedLines(int, IEditableLineSizeHost)

    Sets the nested lines.

    Declaration
    void SetNestedLines(int index, IEditableLineSizeHost nestedLines)
    Parameters
    Type Name Description
    int index

    The index.

    IEditableLineSizeHost nestedLines

    The nested lines.

    SetRange(int, int, double)

    Sets the line size for a range.

    Declaration
    void SetRange(int from, int to, double size)
    Parameters
    Type Name Description
    int from

    From.

    int to

    To.

    double size

    The size.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved