Xceed Toolkit Plus for WPF v4.6 Documentation
CreateItemsSource Method (ComboBoxEditor)


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.PropertyGrid.Editors Namespace > ComboBoxEditor Class : CreateItemsSource Method
The PropertyItem whose PropertyType will be used to determine the list that is created.
Creates a collection used to generate a list for the content of the editor using the PropertyType of the passed PropertyItem.
Syntax
'Declaration
 
Protected MustOverride Function CreateItemsSource( _
   ByVal propertyItem As PropertyItem _
) As IEnumerable
'Usage
 
Dim instance As ComboBoxEditor
Dim propertyItem As PropertyItem
Dim value As IEnumerable
 
value = instance.CreateItemsSource(propertyItem)
protected abstract IEnumerable CreateItemsSource( 
   PropertyItem propertyItem
)

Parameters

propertyItem
The PropertyItem whose PropertyType will be used to determine the list that is created.

Return Value

The created list.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ComboBoxEditor Class
ComboBoxEditor Members