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)
[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
For more information, see SurfaceListBox Control.
Note |
|---|
| 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
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 environment | Visual Studio 2010, Express or full edition Microsoft Expression Blend 4.0 (optional) |
| End-user hardware | Devices 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.
Note