v1.2.0-preview1
Pre-release
Pre-release
What's New
- Introduced
MinColumnWidth
andMaxColumnWidth
properties in TableView to set min and max widths for all the columns. These properties can be overridden by settingMinWidth
andMaxWidth
properties for each column. - Added
Visibility
property for columns to hide or show columns at runtime - Added new properties in
ComboBoxColumn
IsEditable
makes the ComboBox editable.TextBidning
allow to bindComboBox.Text
propertySelectedValueBinding
allow to bindComboBox.SelectedValue
.
- Implemented column auto sizing by using
GridLength
asWidth
type. The default value for column is now set toGridLength.Auto
. - Implemented cell selection support so user can select individual cells
- Added new property
SelectionUnit
to choose selection behavior. Available options are:CellOrRow
(Default) user can select rows or cells according to theSelectionMode
property'Cell
user can only select cells according to theSelectionMode
property'Row
user can only select rows according to theSelectionMode
property'
- Exposed
GenerateElement
andGenerateEditingElement
for columns.
Breaking Changes
- Setting columns widths from code-behind would need adjustments to use
GridLength
as width. - Some methods, events, and event argument classes have been renamed to better align with the manipulation of cell or row content:
GetSelectedRowsContent
toGetSelectedContent
GetAllRowsContent
toGetAllContent
OnExportSelectedRowsContent
toOnExportSelectedContent
OnExportAllRowsContent
toOnExportAllContent
ExportSelectedRowsContent
toExportSelectedContent
ExportAllRowsContent
toExportAllContent
TableViewExportRowsContentEventArgs
toTableViewExportContentEventArgs
Known issues
- Duplicate items in
ItemsSource
can lead to unexpected cell or row navigation behavior. - When the column width is too narrow for the cell's desired width, there would be some layout issues, resulting in the appearance of the right edge being clipped.
- When a filter is applied to any column, cell selection may not function correctly or may behave improperly.
Full Changelog: v1.1.1...v1.2.0-preview1