Share via


ListPageListView Class

Definition

Represents a specialized list view control that provides additional user interface (UI) capabilities.

public ref class ListPageListView : System::Windows::Forms::ListView
public class ListPageListView : System.Windows.Forms.ListView
type ListPageListView = class
    inherit ListView
Public Class ListPageListView
Inherits ListView
Inheritance
ListPageListView

Examples

The following example shows a class that is derived from the ListPageListView class.

    private sealed class MyListView : ListPageListView {

        protected override void OnDrawColumnHeader(
            DrawListViewColumnHeaderEventArgs e) {
            e.DrawDefault = true;
            base.OnDrawColumnHeader(e);
        }

        protected override void OnDrawItem(
            DrawListViewItemEventArgs e) {
            e.DrawDefault = true;
            base.OnDrawItem(e);
        }

        protected override void OnDrawSubItem(
            DrawListViewSubItemEventArgs e) {
            e.DrawDefault = true;
            base.OnDrawSubItem(e);
        }
    }
} 

Constructors

ListPageListView()

Initializes a new instance of the ListPageListView class.

Properties

ContextMenuStrip

Gets or sets the shortcut menu.

View

Gets or sets the view for the ListPageListView control.

Methods

OnCreateControl()

Occurs when the ListPageListView control is created.

ShowSortColumn(ColumnHeader, SortOrder)

Selects a column and sets the sort order.

WndProc(Message)

Processes the Windows WM_CONTEXTMENU notification message.

Applies to