Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

my horizontal and vertical scrolls are not working please help

$
0
0
<StackPanel Height="150" Width="500" HorizontalAlignment="Left" VerticalAlignment="Top" Margin=" 167,240,0,0" Name="SP_LocationGrid">
            <DataGrid    AutoGenerateColumns="True" Margin="0,5,0,0" IsReadOnly="True" Height="Auto" Name="DGV_Location" Width="Auto" CanUserDeleteRows="False" ScrollViewer.CanContentScroll="True" CanUserAddRows="False" SelectionMode="Single" SelectionUnit="Cell" VerticalScrollBarVisibility="Visible" HorizontalScrollBarVisibility="Visible" Visibility="Hidden">
                <DataGrid.Columns>
                    <DataGridTemplateColumn Header="Action">
                        <DataGridTemplateColumn.CellTemplate>
                            <DataTemplate>
                                <Button Click="Button_Click">Edit</Button>
                            </DataTemplate>
                        </DataGridTemplateColumn.CellTemplate>
                    </DataGridTemplateColumn>
                </DataGrid.Columns>
            </DataGrid>

        </StackPanel>

Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>