I have a WPF where the main window is defined as such.
<Window x:Class="FDS.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:uc="clr-namespace:FDS.UserControls"
Title="Flight Delay App" Height="100" Width="1200">
<DockPanel>
<uc:SearchBar DockPanel.Dock="Top" />
<StatusBar DockPanel.Dock="Bottom" >
<StatusBarItem DockPanel.Dock="Right" >
<Slider x:Name="zoomSlider"
Width="125"
Value="1"
Minimum=".5"
MaxHeight="2" />
</StatusBarItem>
<StatusBarItem DockPanel.Dock="Right">
<TextBlock>Zoom:</TextBlock>
</StatusBarItem>
<StatusBarItem>
<TextBlock Text="{Binding StatusText}" />
</StatusBarItem>
</StatusBar>
<Expander DockPanel.Dock="Left"
ExpandDirection="Right"
IsExpanded="True"
BorderThickness="0 1 1 1"
BorderBrush="Gray"
Margin="0 2 0 0"
Padding="2" >
<Expander.Header>
<TextBlock Text="Delay Item Tools"
FontSize="14"
FontWeight="Bold" >
<TextBlock.LayoutTransform>
<RotateTransform Angle="90" />
</TextBlock.LayoutTransform>
</TextBlock>
</Expander.Header>
<uc:SideBar />
</Expander>
<TabControl x:Name="tabs"
Grid.Column="2"
Margin="5 0"
VerticalAlignment="Top"
ScrollViewer.CanContentScroll="True">
<TabControl.LayoutTransform>
<ScaleTransform ScaleX="{Binding ElementName=zoomSlider, Path=Value}"
ScaleY="{Binding
ElementName=zoomSlider, Path=Value}" />
</TabControl.LayoutTransform>
</TabControl>
</DockPanel>
</Window>
into this i load (on the right side) a userControl which has lots of label and textbox items such that they look like this.
my problem is that when it is run i only part of the userControl and no scroll bar, i have to enlarge the app window before i can see the rest of the usercontrol.
i want the right side to show a scroll bar is there is more information than the application window can show.
i will send pictures as soon as this message goes away.
"Body text cannot contain images or links until we are able to verify your account"
help
thanks