API:Vcl.ComCtrls.TCustomComboBoxEx.GetItemsClass

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetItemsClass: TCustomComboBoxStringsClass; override;

C++

virtual Vcl::Stdctrls::TCustomComboBoxStringsClass __fastcall GetItemsClass();

Properties

Type Visibility Source Unit Parent
function protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomComboBoxEx

Description

Indicates the class that implements the Items property.

Vcl.ComCtrls.TCustomComboBoxEx.GetItemsClass inherits from Vcl.StdCtrls.TCustomCombo.GetItemsClass. All content below this line refers to Vcl.StdCtrls.TCustomCombo.GetItemsClass.

Indicates the class that implements the Items property.

TCustomCombo uses GetItemsClass internally to determine what class to instantiate when it implements the Items property.

In TCustomCombo, GetItemsClass is abstract pure virtual, meaning it has no implementation. TCustomCombo descendants override this method to indicate a TCustomComboBoxStrings descendant that implements the Items property.

See Also