Jump to content
Fórum Script Brasil
  • 0

Ajuda para criar layout para um DataGridView



Boa tarde Pessoal!

Preciso de uma ajuda básica, eu tenho um código em XAML do SilverLight que preciso modificalo para ter um layout especifico, alguém pode me ajudar com essa mudança por favor?

Segue o código que preciso modificar:

<Grid x:Name="LayoutRoot" Margin="2" KeyDown="ctrlSlide_KeyDown">
            <RowDefinition />
            <RowDefinition Height="Auto" />
        <Image Source="../Images/Slide1.JPG" Visibility="Collapsed" />
        <ScrollViewer Margin="0,25,0,0" BorderBrush="Transparent" VerticalScrollBarVisibility="Auto" BorderThickness="0">
            <ItemsControl x:Name="lstArquivos">
                                <ColumnDefinition Width="1170"></ColumnDefinition>
                                <ColumnDefinition Width="*"></ColumnDefinition>
                                <RowDefinition Height="85" />
                            <TextBlock Margin="40,-45,0,0" Style="{StaticResource TextBlockLabel}" FontSize="26" HorizontalAlignment="Left" VerticalAlignment="Center" Width="1100" Text="{Binding titulo}" Grid.Column="0" />
                            <Image Source="../icons/adobeReader.png" Width="30" Height="30" Grid.Column="0" Grid.RowSpan="3" VerticalAlignment="Top" Cursor="Hand" MouseLeftButtonDown="Image_MouseLeftButtonDown" />

        <ctrl:Slides x:Name="ctrlSlide" Width="590" Height="470" VerticalAlignment="Center" HorizontalAlignment="Center" KeyDown="ctrlSlide_KeyDown"/>

        <Image x:Name="btnAnterior" Source="../icons/toleft.png" Width="30" Height="48" VerticalAlignment="Center" HorizontalAlignment="Left" Cursor="Hand" MouseLeftButtonDown="btnAnterior_MouseLeftButtonDown" Style="{StaticResource SetaNavegacao}" KeyDown="ctrlSlide_KeyDown" Visibility="Collapsed"/>
        <Image x:Name="btnProximo" Source="../icons/toright.png" Width="30" Height="48" VerticalAlignment="Center" HorizontalAlignment="Right" Cursor="Hand" MouseLeftButtonDown="btnProximo_MouseLeftButtonDown" Style="{StaticResource SetaNavegacao}" KeyDown="ctrlSlide_KeyDown" Visibility="Collapsed"/>


Segue o link de como está o layout agora: http://wtrns.fr/StqM4Ihy3A2plSI

Segue também o link de como deve ficar o layout: http://wtrns.fr/UPoT8zNg2M6rgVo

É apenas um arquivo PNG para ter base.

Obrigado a todos que puderem me ajudar.


Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Forum Statistics

    • Total Topics
    • Total Posts
  • Create New...