Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.PropertyGrid.Editors Namespace / FontComboBoxEditor Class / CreateItemsSource Method
The PropertyItem whose PropertyType will be used to determine the list that is created.


In This Topic
    CreateItemsSource Method (FontComboBoxEditor)
    In This Topic
    Creates a collection used to generate a list for the content of the editor using the PropertyType of the passed PropertyItem.
    Syntax
    'Declaration
     
    Protected Overrides Function CreateItemsSource( _
       ByVal propertyItem As PropertyItem _
    ) As IEnumerable
    'Usage
     
    Dim instance As FontComboBoxEditor
    Dim propertyItem As PropertyItem
    Dim value As IEnumerable
     
    value = instance.CreateItemsSource(propertyItem)
    protected override 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