请问C1Accordion中包含DataGrid,设置DataGrid的纵向滚动条为VerticalScrollBarVisibility="Auto",但是并不显示,应该如何设置??
现在的情况是:Accordion展开后,有一部分内容被埋在下面,纵向滚动条也不显示。
把分辨率调高数据就都能显示,但分辨率一定要小。- <c1:C1AccordionItem Header="XXXXXX" IsExpanded="True" VerticalAlignment="Stretch" Grid.Row="2" >
-
- <c1:C1DataGrid x:Name="grdTechSerCost" BorderThickness="1" AutoGenerateColumns="False"
- ItemsSource="{Binding DataTechSerCost}"
- VerticalScrollBarVisibility="Auto" FrozenColumnCount="1"
- MinHeight="200" CanUserEditRows="True" CanUserAddRows="False"
- SelectionMode="SingleRow" VerticalAlignment="Stretch"
- HorizontalScrollBarVisibility="Auto" GridLinesVisibility="All">
复制代码 |
|