Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartControl Class / PreferredSmartItemTypes Property


In This Topic
    PreferredSmartItemTypes Property (SmartControl)
    In This Topic
    Gets the types of the child SmartItems which can be added at design-time to this SmartControl.
    Syntax
    'Declaration
     
    Protected MustOverride ReadOnly Property PreferredSmartItemTypes As Type()
    'Usage
     
    Dim instance As SmartControl
    Dim value() As Type
     
    value = instance.PreferredSmartItemTypes
    protected abstract Type[] PreferredSmartItemTypes {get;}

    Property Value

    An array containing the types of the child SmartItems which can be added at design-time to this SmartControl.
    Remarks

    The first SmartItem in the array is the "default" SmartItem. The default SmartItem is the item that is added to the SmartControl when the "New item" placeholder is double-clicked.

    Requirements

    Target Platforms: 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