|
Bugzilla – Full Text Bug Listing |
| Summary: | [3.0] ListBox Does Not Support Multi-Selection | ||
|---|---|---|---|
| Product: | [Mono] Moonlight | Reporter: | Neville Gao <ngao> |
| Component: | xaml | Assignee: | Swamp Workflow Management <swamp> |
| Status: | VERIFIED FIXED | QA Contact: | Swamp Workflow Management <swamp> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | i686 | ||
| OS: | openSUSE 11.1 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
multi-selection is only available in Silverlight 3.0 http://www.silverlightshow.net/tips/Enable-multiple-selection-in-Silverlight-ListBox.aspx Thanks Jeff, am I going to mark this INVALID or an ENHANCEMENT? I guess we could mark it as an enhancement, but it's not really necessary. We'll close this when we implement this functionality in Moonlight 3.0 Sure, thanks. An initial implementation (which is not fully complete!) has been committed in r150308. If there are any specific bugs/issues you come across, please file a separate bug report for each and I'll deal with them. |
In XAML file, when setting SelectionMode is "Multiple" or "Extended", multi-selection doesn't work. I build moonlight with mxap command. <UserControl x:Class="ListBoxSample.Page" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="400" Height="300"> <Grid x:Name="LayoutRoot" Background="White"> <TextBlock x:Name="textBlock" Height="30" Margin="50,50,0,0" VerticalAlignment="Top"/> <ListBox Name="listBox" Height="200" Margin="50,100,150,0" VerticalAlignment="Top" SelectionMode="Extended"> <ListBoxItem Content="Item 1"/> <ListBoxItem Content="Item 2"/> <ListBoxItem Content="Item 3"/> </ListBox> </Grid> </UserControl>