Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Freeze the left side of the window
Message
 
 
À
07/05/2010 22:36:14
Information générale
Forum:
ASP.NET
Catégorie:
Windows Presentation Foundation (WPF)
Versions des environnements
Environment:
C# 3.0
OS:
Vista
Network:
Windows 2008 Server
Database:
VistaDB
Application:
Desktop
Divers
Thread ID:
01463368
Message ID:
01463848
Vues:
42
>>Something like:
>>
>><ScrollViewer HorizontalScrollBarVisibilitty="Auto" VerticalScrollBarVisibility="Auto">
>>    <TabControl>
>>        <TabItem>
>>            <Grid>
>>                <Grid.ColumnDefinitions>
>>                    <ColumnDefinition Width="300"/>
>>                    <ColumnDefinition/>
>>                </Grid.ColumnDefinitions>
>>                <StackPanel>
>>                        <!-- Main Content, allow horizontal scrolling, don´t allow vertical scrolling-->
>>                </Stackpanel>
>>                <StackPanel Grid.Column="1">  // Allow Vertical Scrolling
>>                     <Expander>
>>                            <!-- Description 1 -->
>>                     </Expander>                     
>>                     <Expander>
>>                            <!-- Description 2 -->
>>                     </Expander>                     
>>                     <Expander>
>>                            <!-- Description 3 -->
>>                     </Expander>                     
>>                </StackPanel>
>>            </Grid>
>>        </TabItem>
>>        ...
>>    </TabControl>
>></ScrollViewer>
>>
>
>Look back at Viv's answer, that she wrote for you.
>
>What I can't figure out is why you are put a TabControl inside of a ScrollViewer. If you do that
>your tabs are going to scroll out of site which is generally not what is wanted in most designs.
>
>You want the ScrollViewer to be inside the TabControl and in this
>case you want two of them, one for the left side and one the right.
>
>Again look at Viv's code what she did should work for what you are describing.

Viv is he, not she.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform