Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartControl Class / ItemAdded Event


In This Topic
    ItemAdded Event
    In This Topic
    Raised when a SmartItem is added to the Items collection.
    Syntax
    'Declaration
     
    <CategoryAttribute("Action")>
    <DescriptionAttribute("Raised when a SmartItem is added to the SmartItems collection.")>
    <BrowsableAttribute(True)>
    Public Event ItemAdded As SmartItemEventHandler
    'Usage
     
    Dim instance As SmartControl
    Dim handler As SmartItemEventHandler
     
    AddHandler instance.ItemAdded, handler
    [Category("Action")]
    [Description("Raised when a SmartItem is added to the SmartItems collection.")]
    [Browsable(true)]
    public event SmartItemEventHandler ItemAdded
    Event Data

    The event handler receives an argument of type SmartItemEventArgs containing data related to this event. The following SmartItemEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets the SmartItem which raised the event.  
    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