icons in uxwindow can not be triggered when page is onload!!!

2 replies. Last post: January 7, 2011 5:29 AM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
欧文 文Member

<Intersoft:UXDesktop x:Name="MyDesktop" Background="{x:Null}" TaskBar="{Binding ElementName=DesktopDock}">

            <Intersoft:UXWindow WindowStartupLocation="CenterOwner" CornerRadius="5,5,0,0" Margin="10,60,0,0" Header="A" Width="320" Height="420"  Icon="Assets/Images/01.png" CanMaximize="False" CanResize="False" IsClientVisible="True" IsActive="True">

                <local:RainList/>

            </Intersoft:UXWindow>

        </Intersoft:UXDesktop>

        <Intersoft:UXDesktopDock x:Name="DesktopDock"

                                 Cursor="Hand" 

                                 BackgroundHeight="90" 

                                 MinimizeButtonGroup="groupSeparator" 

                                 AllowDropItem="True" 

                                 AllowReorderItem="True">

            <Intersoft:UXDesktopDockButton Icon="Assets/Dock/jcxx.png"  

                                           Text="B" 

                                           AllowReorderItem="True"

                                           AllowMove="True" 

                                           StackMode="GridStyle" 

                                           StackTotalDisplayItem="0"  

                                           StackGridMode="DynamicGrid">

                <Intersoft:UXStackItem Text="A" Icon="Assets/Images/01.png" Command="Intersoft:WindowCommands.LaunchApplication" CommandTarget="{Binding ElementName=MyDesktop}" Cursor="Hand" CommandParameter="/aa.xaml"/>

                <Intersoft:UXStackItem Icon="Assets/Images/02.png" Text="C" Command="Intersoft:WindowCommands.LaunchApplication" CommandTarget="{Binding ElementName=MyDesktop}" Cursor="Hand">

                    <Intersoft:UXStackItem.CommandParameter>

                        <Intersoft:WindowOptions  ForceSingleInstance="True" ReactivateExistingInstance="True" Uri="/b.xaml"/>

                    </Intersoft:UXStackItem.CommandParameter>

                </Intersoft:UXStackItem>

               

            </Intersoft:UXDesktopDockButton>

        </Intersoft:UXDesktopDock>

question is :when the page is onload,the picture in the node of "<Intersoft:UXStackItem ", like " Icon="Assets/Images/01.png" cannot be clicked.only if the other icon in the dock is clicked and the form is minimized,the Icon"Assets/Images/01.png" can be clicked.

All times are GMT -5. The time now is 2:31 PM.
Previous Next