Studio for Silverlight

C1 Window

  •  patrick.muellner-1p said 1 year, 3 months ago:

    If I open a c1Window with ShowModal sometimes the window doesn´t have the focus. The focus is in the window behind.

    I open the window like this:

    objWindow.CenterOnScreen()
    objWindow.ShowModal()
    objWindow.BringToFront()
    objWindow.Focus()
    objWindow.IsActive = True

    What is my mistake?

    Regards

  •  AbdiasM14p said 1 year, 3 months ago:

    Patrick,

    This seems to be an issue in the build you’re using. I could replicate the issue with build 4.0.20113.225.
    But it is working fine in the latest build 4.0.20121.236 which should be released by the end of March.
    Please check our website http://prerelease.componentone.com or C1Live for any updates.

    Thanks!

  •  patrick.muellner-1p said 1 year, 3 months ago:

    Is it also for SL 5?

    Regards

  •  AbdiasM14p said 1 year, 3 months ago:

    Yes, there will be separate builds for SL 5.

    Regards

  •  patrick.muellner-1p said 1 year, 2 months ago:

    Is the build available?

    Regards

  •  AbdiasM14p said 1 year, 2 months ago:

    Yes, the build is available at the following url :

    http://prerelease.componentone.com/silverlight5/c1silverlight/2012-t1/C1Silverlight5_5.0.20121.237.zip

    Regards

    Answer
  •  patrick.muellner-1p said 1 year ago:

    The same problem is with the C1MessageBox.

    A messagebox is open but the focus is not on the messagebox the focus is anywhere?!?!

    Regards

  •  AbdiasM14p said 1 year ago:

    The issue with C1MessageBox is fixed in the latest build 4.0.20121.252.
    You can download it from the following link : http://prerelease.componentone.com/hotfixindex.html
    however this build is still under testing and will be released once it is passed by the QA team.

    Regards

  •  patrick.muellner-1p said 1 year ago:

    I downloaded the update but now my whole C1TabControl doesn´t work"!!!!!!

    There must be a bug!!

    Regards

  •  AbdiasM14p said 12 months ago:

    I tried with build 5.0.20121.252 but I can’t replicate the issue with C1TabControl. Is there something that I need to do in order to replicate the issue? Could you share your code or sample?

    Thanks

  •  patrick.muellner-1p said 11 months, 1 week ago:
         <DataTemplate x:Key="ContentTemplate">
             <ContentControl HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" Content="{Binding }"/>
          </DataTemplate>
    
    
       <c1:C1TabControl BorderThickness="2" BorderBrush="DarkCyan"
                           ItemsSource="{Binding ViewModelSelector.ViewModels}"                        
                           SelectedItem="{Binding ViewModelSelector.ActiveViewModel, Mode=TwoWay}"
                           ContentTemplate="{StaticResource ContentTemplate}"
                           HorizontalAlignment="Stretch" 
                           VerticalAlignment="Stretch"                            
                           TabItemShape="Sloped"                       
                           Margin="10" Grid.Column="1" UnselectedContentMode="Collapsed">
                  <c1:C1TabControl.ItemTemplate>
                <DataTemplate>
                   <StackPanel Orientation="Horizontal">
                      <TextBlock Text="{Binding Titel}"/>
                      <Button HorizontalAlignment="Center" VerticalAlignment="Center" Height="18" Width="18"                                              
                              Margin="5,0,0,0" ToolTipService.ToolTip="Schließen" FontWeight="Bold" Content="X" Command="{Binding CloseCommand}"/>
                   </StackPanel>
                </DataTemplate>
             </c1:C1TabControl.ItemTemplate>
          </c1:C1TabControl>
    

    Regards

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.