Put the DataGrid
in a Grid
, DockPanel
, ContentControl
or directly in the Window
. A vertically-oriented StackPanel
will give its children whatever vertical space they ask for – even if that means it is rendered out of view.
More Related Contents:
- Binding Visibility for DataGridColumn in WPF
- WPF Error: Cannot find governing FrameworkElement for target element
- Get selected row item in DataGrid WPF
- How can I paginate a WPF DataGrid?
- WPF Image Pan, Zoom and Scroll with layers on a canvas
- WPF horizontal DataGrid
- How to perform Single click checkbox selection in WPF DataGrid?
- WPF Datagrid set selected row
- Bubbling scroll events from a ListView to its parent
- WPF datagrid header text binding
- Why can’t I style a DataGridTextColumn?
- Binding WPF DataGrid to DataTable using TemplateColumns
- How to access datagrid template column textbox text WPF C#
- Scroll WPF Listview to specific line
- WPF DataGrid validation errors not clearing
- What is the code behind for datagridtemplatecolumn, and how to use it?
- Create contextmenus for datagrid rows
- WPF: Bind DataGrid to List
- WPF DataGrid: Blank Row Missing
- WPF ListBox with a ListBox – UI Virtualization and Scrolling
- How can I have a ListBox auto-scroll when a new item is added?
- Binding a WPF DataGridComboBoxColumn with MVVM
- WPF datagrid selected row clicked event ?
- Filter a DataGrid on a Text box
- ScrollIntoView for WPF DataGrid (MVVM)
- What is the proper way to handle multiple datagrids in a tab control so that cells leave edit mode when the tabs are changed?
- WPF MvvM DataGrid Dynamic Columns
- WPF DataGrid : CanContentScroll property causing odd behavior
- Binding DynamicObject to a DataGrid with automatic column generation?
- How do I dynamically generate columns in a WPF DataGrid?