v1.3.0-preview1
Pre-release
Pre-release
Upgraded to .NET8
What's New
- Gridlines: Adding support for customizable horizontal and vertical gridlines. These gridlines are enabled by default but can be turned off using
HeaderGridLinesVisibility,GridLinesVisibilityproperties. Other releated properties areVerticalGridLinesStrokeThickness,HorizontalGridLinesStrokeThickness,VerticalGridLinesStroke,HorizontalGridLinesStroke. #74 - Alternate Row Colors: Adding support for alternate row background and foreground colors. You can set these colors to
AlternateRowBackgroundandAlternateRowForegroundproperties. #83, #21. - Cell & Row Context Flyout: Added support for context flyouts on cells and rows, enabling custom actions via right-click menus. You can set cell context flyout to
CellContextFlyoutand row context flyout toRowContextFlyout. #85, #38. - Custom Sorting and Filtering: Implemented
IColumnFilterHandlerand introduceedSorting,ClearSortingevents for allowing developers to define custom logic for data manipulation. #98, #30, #55, #77, #92. - Three-State Column Sorting: Enhanced sorting functionality to include three states (Ascending, Descending, and None) for better user experience. #98, #37.
- Corner Button Mode: Implemented
CornerButtonModeto choose corner button functionality. With this implementationShowOptionsButtonproperty is replaced withCornerButtonModeproperty. #80, #23. - Tag Property:
Tagproperty is added to theTableViewColumntype. #84, #49. - Customize Column Headers: Column headers style can be set through
TableView.ColumnHeaderStyleand `TableViewColumn.HeaderStyle. - Customize Cells styles: Cell style can be set through
TableView.CellStyleand `TableViewColumn.CellStyle. - Element & Editing Element Style:
TableViewBoundColumnelements and editing elements style can be set througElementStyleand `EditingElementStyle.
New Column Types
- TableViewDateColumn – Supports
DateTimeOffset,DateTime, andDateOnly, allowing better handling of date-based data. #87. This type of column uses newTableViewDatePickercontrol that is designed to work with multiple data types. - TableViewTimeColumn – Supports
DateTimeOffset,DateTime,TimeOnly, andTimeSpan, improving time-based data representation. #87. This type of column uses newTableViewTimePickercontrol that is designed to work with multiple data types.
What's Changed
AdvancedCollectionViewfrom Community Toolkit is replaced with custom typeCollectionView. This change allows better handling of items and offers good features integration with TableView. #91
Fixes
- Fixed select all check box fast click issue. #61, #81
- Crashes by empty property paths in column binding is fixed. #42, #91
- Fixed a crash when there are null values in primitive type column. #89, #91
Breaking Changes
ShowOptionsButtonproperty has been removed.CollectionViewproperty is now of typeICollectionView.
Known Issues
- Changing grid line thickness or visibility proeprty at runtime may lead to unexpected layouts of column headers and row cells. This is due to an issue in
ItemsStackPanelmicrosoft/microsoft-ui-xaml#9860
Full Changelog: v1.2.2...v1.3.0-preview1
