Vcl.ComCtrls.TCustomListView.ViewOrigin

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ViewOrigin: TPoint read GetViewOrigin;

C++

__property System::Types::TPoint ViewOrigin = {read=GetViewOrigin};

Properties

Type Visibility Source Unit Parent
property public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomListView

Description

Designates the coordinates of the upper left corner of the list, relative to the visible area of the list view control.

Read ViewOrigin to determine the logical origin of the list image. When the list view is not scrolled, ViewOrigin is (0,0). Otherwise, use the x coordinate to determine the number of pixels the view is scrolled horizontally, and the y coordinate to determine the number of pixels the view is scrolled vertically.

ViewOrigin is only implemented when ViewStyle is vsIcon or vsSmallIcon. For vsReport or vsList, use the TopItem property instead.

See Also