Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SurfaceListBox Class



Represents a control that implements a list of items that users can select.

Namespace: Microsoft.Surface.Presentation.Controls
Assembly: Microsoft.Surface.Presentation (in Microsoft.Surface.Presentation)
'Usage

[StyleTypedPropertyAttribute(StyleTargetType=typeof(SurfaceListBoxItem), Property="ItemContainerStyle")] 
public class SurfaceListBox : ListBox
/** @attribute StyleTypedPropertyAttribute(StyleTargetType=Microsoft.Surface.Presentation.Controls.SurfaceListBoxItem, Property="ItemContainerStyle") */ 
public class SurfaceListBox extends ListBox
StyleTypedPropertyAttribute(StyleTargetType=Microsoft.Surface.Presentation.Controls.SurfaceListBoxItem, Property="ItemContainerStyle") 
public class SurfaceListBox extends ListBox

For more information, see SurfaceListBox Control.

noteNote
The SelectionMode property of SurfaceListBox does not support SelectionMode.Extended. If you set the SelectionMode property to SelectionMode.Extended, a NotSupportedException exception is thrown. Use SelectionMode.Single or SelectionMode.Multiple only.


System.Object
   System.Windows.Threading.DispatcherObject
     System.Windows.DependencyObject
       System.Windows.Media.Visual
         System.Windows.UIElement
           System.Windows.FrameworkElement
             System.Windows.Controls.Control
               System.Windows.Controls.ItemsControl
                 System.Windows.Controls.Primitives.Selector
                   System.Windows.Controls.ListBox
                    Microsoft.Surface.Presentation.Controls.SurfaceListBox
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Requirements

Operating System (OS)Windows 7
Software Developer Kit (SDK)Surface 2.0
.NET Framework 4
Developer environmentVisual Studio 2010, Express or full edition
Microsoft Expression Blend 4.0 (optional)
End-user hardwareDevices made for Surface 2.0, or
Windows Touch computers

Did you find this information useful? Please send us your suggestions and comments.

© Microsoft Corporation. All rights reserved.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.