Intersoft ClientUI Documentation
ISItemsControl Class
Members  See Also  Send Feedback
Intersoft.Client.Framework Namespace : ISItemsControl Class






Serves as the base class for all Intersoft Items Collection controls.

Object Model

ISItemsControl Class

Syntax

Visual Basic (Declaration) 
Public MustInherit Class ISItemsControl 
   Inherits System.Windows.Controls.ItemsControl
   Implements IControlIFramework 
Visual Basic (Usage)Copy Code
Dim instance As ISItemsControl
C# 
public abstract class ISItemsControl : System.Windows.Controls.ItemsControl, IControlIFramework  
Delphi 
public class ISItemsControl = class(System.Windows.Controls.ItemsControl, IControl, IFramework)abstract; 
JScript 
public abstract class ISItemsControl extends System.Windows.Controls.ItemsControl implements IControlIFramework 
Managed Extensions for C++ 
public __gc abstract class ISItemsControl : public System.Windows.Controls.ItemsControl, IControlIFramework  
C++/CLI 
public ref class ISItemsControl abstract : public System.Windows.Controls.ItemsControl, IControlIFramework  

Remarks

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>

Styling and Templating

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.

Inheritance Hierarchy

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.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

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.