Bug 550310 - [3.0] ListBox Does Not Support Multi-Selection
Summary: [3.0] ListBox Does Not Support Multi-Selection
Status: VERIFIED FIXED
Alias: None
Product: Moonlight
Classification: Mono
Component: xaml (show other bugs)
Version: unspecified
Hardware: i686 openSUSE 11.1
: P5 - None : Normal
Target Milestone: ---
Assignee: Swamp Workflow Management
QA Contact: Swamp Workflow Management
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-27 07:42 UTC by Neville Gao
Modified: 2010-01-27 18:44 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Neville Gao 2009-10-27 07:42:56 UTC
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>
Comment 1 Jeff Stedfast 2009-10-28 20:52:57 UTC
multi-selection is only available in Silverlight 3.0

http://www.silverlightshow.net/tips/Enable-multiple-selection-in-Silverlight-ListBox.aspx
Comment 2 Neville Gao 2009-10-29 06:44:59 UTC
Thanks Jeff, am I going to mark this INVALID or an ENHANCEMENT?
Comment 3 Jeff Stedfast 2009-10-29 15:21:31 UTC
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
Comment 4 Neville Gao 2009-10-30 03:46:24 UTC
Sure, thanks.
Comment 5 Alan McGovern 2010-01-27 18:44:03 UTC
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.