You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduced CellTemplateSelector and EditingTemplateSelector properties in TableViewTemplateColumn
Introduced MinColumnWidth and MaxColumnWidth properties in TableView to set min and max widths for all the columns. These properties can be overridden by setting MinWidth and MaxWidth 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 bind ComboBox.Text property
SelectedValueBinding allow to bind ComboBox.SelectedValue.
Implemented column auto sizing by using GridLength as Width type. The default value for column is now set to GridLength.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 the SelectionMode property'
Cell user can only select cells according to the SelectionMode property'
Row user can only select rows according to the SelectionMode property'
Exposed GenerateElement and GenerateEditingElement for columns.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
What's New
CellTemplateSelector
andEditingTemplateSelector
properties inTableViewTemplateColumn
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.Visibility
property for columns to hide or show columns at runtimeComboBoxColumn
IsEditable
makes the ComboBox editable.TextBidning
allow to bindComboBox.Text
propertySelectedValueBinding
allow to bindComboBox.SelectedValue
.GridLength
asWidth
type. The default value for column is now set toGridLength.Auto
.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'GenerateElement
andGenerateEditingElement
for columns.Bug Fixes
Breaking Changes
GridLength
as width.GetSelectedRowsContent
toGetSelectedContent
GetAllRowsContent
toGetAllContent
OnExportSelectedRowsContent
toOnExportSelectedContent
OnExportAllRowsContent
toOnExportAllContent
ExportSelectedRowsContent
toExportSelectedContent
ExportAllRowsContent
toExportAllContent
TableViewExportRowsContentEventArgs
toTableViewExportContentEventArgs
Known issues
ItemsSource
can lead to unexpected cell or row navigation behavior. Question: Is there any option to bring a specific index into view in a ListView? microsoft/microsoft-ui-xaml#9803Full Changelog: v1.1.1...v1.2.0
This discussion was created from the release v1.2.0.
Beta Was this translation helpful? Give feedback.
All reactions