Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/Columns/TableViewCheckBoxColumn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ namespace WinUI.TableView;
/// Represents a column in a TableView that displays a CheckBox.
/// </summary>
[StyleTypedProperty(Property = nameof(ElementStyle), StyleTargetType = typeof(CheckBox))]
public class TableViewCheckBoxColumn : TableViewBoundColumn
#if WINDOWS
[WinRT.GeneratedBindableCustomProperty]
#endif
public partial class TableViewCheckBoxColumn : TableViewBoundColumn
{
/// <summary>
/// Initializes a new instance of the TableViewCheckBoxColumn class.
Expand Down
5 changes: 4 additions & 1 deletion src/Columns/TableViewComboBoxColumn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ namespace WinUI.TableView;
/// </summary>
[StyleTypedProperty(Property = nameof(ElementStyle), StyleTargetType = typeof(TextBlock))]
[StyleTypedProperty(Property = nameof(EditingElementStyle), StyleTargetType = typeof(ComboBox))]
public class TableViewComboBoxColumn : TableViewBoundColumn
#if WINDOWS
[WinRT.GeneratedBindableCustomProperty]
#endif
public partial class TableViewComboBoxColumn : TableViewBoundColumn
{
private Binding? _textBinding;
private Binding? _selectedValueBinding;
Expand Down
3 changes: 3 additions & 0 deletions src/Columns/TableViewDateColumn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ namespace WinUI.TableView;
/// </summary>
[StyleTypedProperty(Property = nameof(ElementStyle), StyleTargetType = typeof(TextBlock))]
[StyleTypedProperty(Property = nameof(EditingElementStyle), StyleTargetType = typeof(TableViewDatePicker))]
#if WINDOWS
[WinRT.GeneratedBindableCustomProperty]
#endif
public partial class TableViewDateColumn : TableViewBoundColumn
{
/// <summary>
Expand Down
5 changes: 4 additions & 1 deletion src/Columns/TableViewNumberColumn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ namespace WinUI.TableView;
/// </summary>
[StyleTypedProperty(Property = nameof(ElementStyle), StyleTargetType = typeof(TextBlock))]
[StyleTypedProperty(Property = nameof(EditingElementStyle), StyleTargetType = typeof(NumberBox))]
public class TableViewNumberColumn : TableViewBoundColumn
#if WINDOWS
[WinRT.GeneratedBindableCustomProperty]
#endif
public partial class TableViewNumberColumn : TableViewBoundColumn
{
/// <summary>
/// Generates a TextBlock element for the cell.
Expand Down
5 changes: 4 additions & 1 deletion src/Columns/TableViewTemplateColumn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ namespace WinUI.TableView;
/// <summary>
/// Represents a column in a TableView that uses a DataTemplate for its content.
/// </summary>
public class TableViewTemplateColumn : TableViewColumn
#if WINDOWS
[WinRT.GeneratedBindableCustomProperty]
#endif
public partial class TableViewTemplateColumn : TableViewColumn
{
/// <summary>
/// Initializes a new instance of the TableViewTemplateColumn class.
Expand Down
5 changes: 4 additions & 1 deletion src/Columns/TableViewTextColumn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ namespace WinUI.TableView;
/// </summary>
[StyleTypedProperty(Property = nameof(ElementStyle), StyleTargetType = typeof(TextBlock))]
[StyleTypedProperty(Property = nameof(EditingElementStyle), StyleTargetType = typeof(TextBox))]
public class TableViewTextColumn : TableViewBoundColumn
#if WINDOWS
[WinRT.GeneratedBindableCustomProperty]
#endif
public partial class TableViewTextColumn : TableViewBoundColumn
{
/// <summary>
/// Generates a TextBlock element for the cell.
Expand Down
3 changes: 3 additions & 0 deletions src/Columns/TableViewTimeColumn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ namespace WinUI.TableView;
/// </summary>
[StyleTypedProperty(Property = nameof(ElementStyle), StyleTargetType = typeof(TextBlock))]
[StyleTypedProperty(Property = nameof(EditingElementStyle), StyleTargetType = typeof(TableViewTimePicker))]
#if WINDOWS
[WinRT.GeneratedBindableCustomProperty]
#endif
public partial class TableViewTimeColumn : TableViewBoundColumn
{
/// <summary>
Expand Down
5 changes: 4 additions & 1 deletion src/Columns/TableViewToggleSwitchColumn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ namespace WinUI.TableView;
/// Represents a column in a TableView that displays a ToggleSwitch.
/// </summary>
[StyleTypedProperty(Property = nameof(ElementStyle), StyleTargetType = typeof(ToggleSwitch))]
public class TableViewToggleSwitchColumn : TableViewBoundColumn
#if WINDOWS
[WinRT.GeneratedBindableCustomProperty]
#endif
public partial class TableViewToggleSwitchColumn : TableViewBoundColumn
{
/// <summary>
/// Initializes a new instance of the TableViewToggleSwitchColumn class.
Expand Down