Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Freeze the left side of the window
Message
From
07/05/2010 12:53:38
John Baird
Coatesville, Pennsylvania, United States
 
 
General information
Forum:
ASP.NET
Category:
Windows Presentation Foundation (WPF)
Environment versions
Environment:
C# 3.0
OS:
Vista
Network:
Windows 2008 Server
Database:
VistaDB
Application:
Desktop
Miscellaneous
Thread ID:
01463368
Message ID:
01463628
Views:
36
>>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..
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform