Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Freeze the left side of the window
Message
De
07/05/2010 12:53:38
John Baird
Coatesville, Pennsylvanie, États-Unis
 
 
À
07/05/2010 10:42:43
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:
01463628
Vues:
35
>>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>
>>
>
>Why can't you use two ScrollViewers' (one for each column) as I suggested ?


You could also use a grid splitter and in the mouse event, disallow any movement to the left.. that's what we do in our program..
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform