Carousel Items for WinForms C# Tutorial
.NET Forms developers are able to add or remove items from the collection in Windows Forms Carousel to meet specific needs. Developers can add to Carousel control by using the Items collection both in programmatically or at design-time, and bind the Carousel control to a data source. It is also possible to use item descendents to populate the Carousel Items collection like LabelElement or ButtonElement. The adding and removing items provides large flexible operations for developers when designing the Carousel interface for a Windows Forms application.
How to Add Carousel Items
The following C# code shows how to add items using the Add method of the carousel collection. This tutorial will not bind data to the carousel control in WinForms application.
How to Add and Remove Carousel Items at Design Time
.NET Forms developers are able to add carousel items using the Visual Studio designer at design time to meet specific needs.
.NET Forms developers are also able to remove carousel items using the Visual Studio designer at design time. There are two methods available for deleting an entry from the carousel Items collection. The Remove method is used to delete the Item instance and RemoveAt method is used to delete the index position of the item. The below is the C# code used for deleting Carousel items
|
UI Controlsfor Windows Forms .NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI DesignWinForms UI Controls WinForms Buttons UI Control WinForms Calendar UI ControlWinForms Carousel UI ControlCarousel Getting StartedCarousel Add ItemsCarousel PathCarousel Data BindingWinForms Chart UI ControlWinForms Clock UI ControlCommandBar UI ControlWinForms Dock UI ControlDesktop Alert UI ControlDropDown List UI ControlWinForms Editor UI ControlForms and Dialogs UI ControlWinForms GridView UI ControlWinForms ListView UI ControlWinForms Menu UI ControlWinForms ComboBox UI ControlWinForms PageView UI ControlPanels and Labels UI ControlWinForms Panorama UI ControlWinForms PDFViewer UI ControlWinForms Property Grid UI ControlWinForms Ribbon UI ControlWinForms PivotGrid UI ControlWinForms RichTextBox UI ControlWinForms Rotator UI ControlWinForms Scheduler UI ControlWinForms Shortcuts UI ControlWinForms SpellChecker UI ControlWinForms Track & Status UI ControlWinForms TreeView UI ControlWinForms Wizard UI ControlWinForms Test UI ControlWinForms Theme UI Control |