Brinda Muthiah

Brinda Muthiah

  • NA
  • 4
  • 7.2k

ExpanderView Control Header Scrollable Properties

Aug 7 2012 5:36 AM
hi,
 i hav an expanderView control. the contents of the expander view scroll vertically along with the header. but i want to know if there is a possibility where the header remains unscrolled and the contents only scroll..!!


<ScrollViewer Width="Auto" HorizontalScrollBarVisibility="Visible" VerticalScrollBarVisibility="Disabled">




<toolkit:ExpanderView Width="1800"


Expanded="btnExpand_Click"


Header="{Binding TaskName, Mode=TwoWay}"


x:Name="taskNameExpander" Margin="5,10,5,10" Foreground="#FF677389" FontSize="24" VerticalAlignment="Top" HorizontalAlignment="Left"



ItemsSource="{Binding dateTime}" ItemTemplate="{StaticResource CustomItemTemplate}">


<Image Name="toggleButton" Source="/SpliceM;component/Images/D.png" Height="54" Width="60" Margin="-220,-45,0,10" Grid.Row="1" Grid.Column="0" ></Image>

</toolkit:ExpanderView.Expander>-->

<!--<toolkit:ExpanderView.Expander>



<toolkit:ExpanderView.ItemsPanel>


<ItemsPanelTemplate >


<StackPanel Orientation="Horizontal" Width="Auto" ScrollViewer.HorizontalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollBarVisibility="Disabled"/>


</ItemsPanelTemplate>


</toolkit:ExpanderView.ItemsPanel>


</toolkit:ExpanderView>


</ScrollViewer>