Intersoft ClientUI Documentation
UXListBoxItem Class
Members 



Represents a control that displays list item.
Object Model
UXListBoxItem ClassISFramework ClassTransformInfo Class
Syntax
<TemplateVisualStateAttribute(Name="Unselected", GroupName="SelectionStates")>
<TemplatePartAttribute(Name="FillColor2", Type=System.Windows.Controls.Border)>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")>
<DescriptionAttribute("Represents a control that displays list item.")>
<TemplatePartAttribute(Name="FocusVisualElement", Type=System.Windows.Controls.Border)>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")>
<TemplateVisualStateAttribute(GroupName="FocusStates", Name="Unfocused")>
<TemplateVisualStateAttribute(GroupName="FocusStates", Name="Focused")>
<TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")>
<TemplatePartAttribute(Name="ContentPresenter", Type=Intersoft.Client.UI.Controls.StylishLabel)>
<TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Selected")>
<TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="FillColor", Type=System.Windows.Controls.Border)>
Public Class UXListBoxItem 
   Inherits Intersoft.Client.Framework.ISSelectionItemControl
   Implements Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.ISelectionItemIntersoft.Client.Framework.ITransformInfo 
Dim instance As UXListBoxItem
[TemplateVisualStateAttribute(Name="Unselected", GroupName="SelectionStates")]
[TemplatePartAttribute(Name="FillColor2", Type=System.Windows.Controls.Border)]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")]
[DescriptionAttribute("Represents a control that displays list item.")]
[TemplatePartAttribute(Name="FocusVisualElement", Type=System.Windows.Controls.Border)]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")]
[TemplateVisualStateAttribute(GroupName="FocusStates", Name="Unfocused")]
[TemplateVisualStateAttribute(GroupName="FocusStates", Name="Focused")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")]
[TemplatePartAttribute(Name="ContentPresenter", Type=Intersoft.Client.UI.Controls.StylishLabel)]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Selected")]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="FillColor", Type=System.Windows.Controls.Border)]
public class UXListBoxItem : Intersoft.Client.Framework.ISSelectionItemControl, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.ISelectionItemIntersoft.Client.Framework.ITransformInfo  
[TemplateVisualStateAttribute(Name="Unselected", GroupName="SelectionStates")]
[TemplatePartAttribute(Name="FillColor2", Type=System.Windows.Controls.Border)]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")]
[DescriptionAttribute("Represents a control that displays list item.")]
[TemplatePartAttribute(Name="FocusVisualElement", Type=System.Windows.Controls.Border)]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="MouseOver")]
[TemplateVisualStateAttribute(GroupName="FocusStates", Name="Unfocused")]
[TemplateVisualStateAttribute(GroupName="FocusStates", Name="Focused")]
[TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")]
[TemplatePartAttribute(Name="ContentPresenter", Type=Intersoft.Client.UI.Controls.StylishLabel)]
[TemplateVisualStateAttribute(GroupName="SelectionStates", Name="Selected")]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="FillColor", Type=System.Windows.Controls.Border)]
public ref class UXListBoxItem : public Intersoft.Client.Framework.ISSelectionItemControl, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.ISelectionItemIntersoft.Client.Framework.ITransformInfo  
Remarks

The item container type of UXListBox is UXListBoxItem.

UXListBoxItem supports ImageContent model, so you can use the ImageMemberPath to bind an image field to the image element of UXListBoxItem.

Example

The following example shows how to create simple list box.

XAML
Copy Code
<Intersoft:UXListBox HorizontalAlignment="Center" VerticalAlignment="Center" Width="150" ItemContentType="ContentAndImage">
    <Intersoft:UXListBoxItem Content="Anton" Icon="Anton.jpg"/>
    <Intersoft:UXListBoxItem Content="Brad" Icon="Brad.jpg"/>
    <Intersoft:UXListBoxItem Content="David" Icon="David.jpg"/>
    <Intersoft:UXListBoxItem Content="Duke" Icon="Duke.jpg"/>
    <Intersoft:UXListBoxItem Content="Lisa" Icon="Lisa.jpg"/>
</Intersoft:UXListBox>

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.ContentControl
                  Intersoft.Client.Framework.ISContentControl
                     Intersoft.Client.Framework.ISSelectionItemControl
                        Intersoft.Client.UI.Aqua.UXCollection.UXListBoxItem

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

Reference

UXListBoxItem Members
Intersoft.Client.UI.Aqua.UXCollection Namespace
UXListBox Class

Send Feedback