Intersoft.Client.Framework Namespace : ISItemsControl Class |
Public MustInherit Class ISItemsControl Inherits System.Windows.Controls.ItemsControl Implements IControl, IFramework, IItemsControl
Dim instance As ISItemsControl
public abstract class ISItemsControl : System.Windows.Controls.ItemsControl, IControl, IFramework, IItemsControl
public ref class ISItemsControl abstract : public System.Windows.Controls.ItemsControl, IControl, IFramework, IItemsControl
ISItemsControl is one of many available content model that Intersoft ClientUI provides. To learn more about other content model see Content Model Overview.
ISItemsControl is a base class for all ClientUI items controls. Controls that inherit from ISItemsControl contain a collection of objects. You can use either the ItemsSource property or the Items property to populate an ItemsControl.
The ItemsSource property of the ItemsControl enables you to use any type that implements IEnumerable as the content of the ItemsControl. ItemsSource is typically used to display a data collection or to bind an ItemsControl to a collection object.
To learn more how to bind data to ItemsSource property, see Walkthrough: Display data in UXListBox using MVVM Pattern.
If you do not want to use an object that implements IEnumerable to populate the ItemsControl, you can add items by using the Items property.
XAML |
Copy Code
|
---|---|
<Intersoft:UXListBox HorizontalAlignment="Left" Height="200" VerticalAlignment="Top" Width="150"> <Intersoft:UXListBoxItem Content="Item #1"/> <Intersoft:UXListBoxItem Content="Item #2"/> <Intersoft:UXListBoxItem Content="Item #3"/> </Intersoft:UXListBox> |
Each ItemsControl has a specific item type that represent the items of the ItemsControl. You can change the style / template of these items using ItemContainerStyle, ItemContainerStyleSelector, ItemTemplate and ItemTemplateSelector.
To learn more about styling and templating, see Styles and Templates Overview.
System.Object
System.Windows.DependencyObject
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
System.Windows.Controls.ItemsControl
Intersoft.Client.Framework.ISItemsControl
Intersoft.Client.Framework.ISHierarchicalSelectionControl
Intersoft.Client.Framework.ISSelectionControl
Intersoft.Client.UI.Aqua.UXDesktop.UXCommandBar
Intersoft.Client.UI.Aqua.UXDesktop.UXDesktop
Intersoft.Client.UI.Aqua.UXInput.UXRating
Intersoft.Client.UI.Aqua.UXInput.UXTickBar
Intersoft.Client.UI.Aqua.UXInput.UXUpDownItemsBase
Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonContextualTabGroupItemsControl
Intersoft.Client.UI.Aqua.UXStatusBar
Intersoft.Client.UI.Controls.Interactivity.ISDragableItemsControl
Intersoft.Client.UI.Controls.UXItemsControl
Intersoft.Client.UI.DocumentViewers.DocumentViewerBase
Intersoft.Client.UI.DocumentViewers.FlowPageDocumentView
Intersoft.Client.UI.Editors.UXQueryBuilder
Intersoft.Client.UI.Editors.UXQueryBuilderItem
Intersoft.Client.UI.Navigation.UXBreadCrumb
Intersoft.Client.UI.ScheduleView.UXScheduleDayViewAllDayEventLayout
Intersoft.Client.UI.ScheduleView.UXScheduleMonthViewMoreItemsList
Intersoft.Client.UI.ScheduleView.UXScheduleViewCategoriesList
Intersoft.Client.UI.ScheduleView.UXScheduleViewItemBase
Intersoft.Client.UI.ScheduleView.UXScheduleViewListBase
Intersoft.Client.UI.ScheduleView.UXScheduleViewResourcesList
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