How to build a customer automatic image player?

1 reply. Last post: November 22, 2010 4:21 AM by Glenn Layaar
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
am amMember

I want to use clientui(silvelight) controls to build a automatic image player just like the head of http://www.clientui.com/, and then I want to add this custom control to UXStackButton's popup box,when i click the small image in the custom control, it will popup the bigger image,and also i want the bigger image is in the popup box too,Can someone help me???  thank you 

I have wrote some code 

<Intersoft:UXStackButton Icon="Assets/Images/active.png" Text="SendMail" Height="30" Width="18"  StackMode="ArcStyle">
            <Intersoft:UXStackButton.StackGridTemplate>
                <DataTemplate>
                    <StackPanel Width="450">
                        <Intersoft:UXPopup MaxWidth="450"  Name="uXPopup1" HorizontalAlignment="Center"  VerticalAlignment="Top" PreferredPosition="CenterParent">
                            <Image Name="images1" Source="{Binding}"></Image>
                        </Intersoft:UXPopup>
                        <Intersoft:ImageLoader MaxWidth="200" Name="imageLoader1" Intersoft:UXPopup.TargetMouseEnterAction="ShowPopup" Intersoft:UXPopup.TargetMouseLeaveAction="HidePopup" VerticalAlignment="Center" HorizontalAlignment="Center" Intersoft:UXPopup.TargetPopup="{Binding ElementName=uXPopup1}" Intersoft:UXPopup.TargetDataContext="/ClientMap;component/Assets/Images/butterfly.jpg"  ImageSource="/ClientMap;component/Assets/Images/butterflyth.jpg" Margin="250,0,0,0"  />
                    </StackPanel>
                </DataTemplate>
            </Intersoft:UXStackButton.StackGridTemplate>
        </Intersoft:UXStackButton>

but in these code,when i click the bigger image ,it's not in the pop-up box

All times are GMT -5. The time now is 9:21 AM.
Previous Next