WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IDataListViewOwner

    Show / Hide Table of Contents

    Interface IDataListViewOwner

    This interface should be implemented by classes that act as the owner for the DataListView class.

    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public interface IDataListViewOwner
    Remarks

    The DataListView class will query its owner for special formatting conditions such as column width and any images that need to be displayed. The need for this class is to abstract the formatting information from the DataListView class. The DataListView class can display a DataSource even if the ListOwner property is not set using default formatting values.

    Methods

    GetColumnWidth(Int32)

    Returns the width of the specified column.

    Declaration
    int GetColumnWidth(int columnIndex)
    Parameters
    Type Name Description
    System.Int32 columnIndex

    The index of the column for which the minimum width is required.

    Returns
    Type Description
    System.Int32

    The width of the column.

    GetImageColumnIndex()

    Returns the index of the column that has information about the images (if any).

    Declaration
    int GetImageColumnIndex()
    Returns
    Type Description
    System.Int32

    The index of the Image column.

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