Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Freeze the left side of the window
Message
 
 
To
07/05/2010 22:36:14
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:
01463848
Views:
44
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform