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
22 changes: 12 additions & 10 deletions winui/DataGrid/Column-Types.md
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ You can restrict the users to enter input within a minimum and maximum range in
The `GridNumericColumn` provides a clear button feature that enables users to reset cell values during editing using the [ShowClearButton](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.DataGrid.GridNumericColumn.html#Syncfusion_UI_Xaml_DataGrid_GridNumericColumn_ShowClearButton) property.
When `ShowClearButton` is set to `True`, a clear button is displayed in the cell editor, enabling users to clear the cell’s value during editing.

#### AllowNull Behavior
**AllowNull Behavior**

The behavior of the clear button depends on the [AllowNull](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.DataGrid.GridNumericColumn.html#Syncfusion_UI_Xaml_DataGrid_GridNumericColumn_AllowNull) property:

Expand All @@ -847,11 +847,12 @@ The behavior of the clear button depends on the [AllowNull](https://help.syncfus
AutoGenerateColumns="False"
AllowEditing="True" >
<dataGrid:SfDataGrid.Columns>
<dataGrid:GridNumericColumn MappingName="Order ID" HeaderText="Order ID" ShowClearButton="True" />
<dataGrid:GridNumericColumn MappingName="OrderID" HeaderText="Order ID" ShowClearButton="True" />
<dataGrid:GridTextColumn MappingName="CustomerName" HeaderText="Customer Name" />
<dataGrid:GridDateColumn MappingName="OrderDate" HeaderText="Order Date" ShowClearButton="True" />
<dataGrid:GridTextColumn MappingName="Country" HeaderText="Country" />
<dataGrid:GridTextColumn MappingName="Customer ID" HeaderText="Customer ID" />
<dataGrid:GridNumericColumn MappingName="Quantity" HeaderText="Quantity" />
<dataGrid:GridTextColumn MappingName="CustomerID" HeaderText="Customer ID" />
<dataGrid:GridTextColumn MappingName="ShipCity" HeaderText="Ship City"/>
</dataGrid:SfDataGrid.Columns>
</dataGrid:SfDataGrid>
{% endhighlight %}
Expand Down Expand Up @@ -969,7 +970,7 @@ You can restrict and display the input value within the range using [MinDate](ht
The `GridDateColumn` provides a clear button feature that enables users to reset cell values during editing using the [ShowClearButton](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.DataGrid.GridDateColumn.html#Syncfusion_UI_Xaml_DataGrid_GridDateColumn_ShowClearButton) property.
When `ShowClearButton` is set to `True`, a clear button appears within the editor, providing users with a convenient way to clear the cell's value.

#### AllowNull Behavior
**AllowNull Behavior**

The behavior of the clear button depends on the [AllowNull](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.DataGrid.GridDateColumn.html#Syncfusion_UI_Xaml_DataGrid_GridDateColumn_AllowNull) property:

Expand All @@ -984,11 +985,12 @@ The behavior of the clear button depends on the [AllowNull](https://help.syncfus
AutoGenerateColumns="False"
AllowEditing="True" >
<dataGrid:SfDataGrid.Columns>
<dataGrid:GridTextColumn MappingName="Customer ID" HeaderText="Customer ID" />
<dataGrid:GridNumericColumn MappingName="Quantity" HeaderText="Quantity" />
<dataGrid:GridDateColumn MappingName="Order Date" HeaderText="Order Date" ShowClearButton="True" />
<dataGrid:GridTimeColumn MappingName="Order Time" HeaderText="Order Time" />
<dataGrid:GridTextColumn MappingName="ShipCity" HeaderText="Ship City" />
<dataGrid:GridNumericColumn MappingName="OrderID" HeaderText="Order ID" ShowClearButton="True" />
<dataGrid:GridTextColumn MappingName="CustomerName" HeaderText="Customer Name" />
<dataGrid:GridDateColumn MappingName="OrderDate" HeaderText="Order Date" ShowClearButton="True" />
<dataGrid:GridTextColumn MappingName="Country" HeaderText="Country" />
<dataGrid:GridTextColumn MappingName="CustomerID" HeaderText="Customer ID" />
<dataGrid:GridTextColumn MappingName="ShipCity" HeaderText="Ship City"/>
</dataGrid:SfDataGrid.Columns>
</dataGrid:SfDataGrid>
{% endhighlight %}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 1 addition & 3 deletions winui/Kanban/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public sealed partial class MainWindow : Window

## Populate WinUI Kanban item source

This section explains how to populate the .NET MAUI Kanban control's `ItemSource` by creating and binding both default and custom task data models.
This section explains how to populate the WinUI Kanban control's `ItemSource` by creating and binding both default and custom task data models.

### Creating the default model tasks

Expand Down Expand Up @@ -214,8 +214,6 @@ public class ViewModel
{% endhighlight %}
{% endtabs %}

![defining-columns-in-winui-kanban](images/getting-started/defining-columns-in-winui-kanban.png)

### Creating the custom model tasks with data mapping

You can also map custom data model to our Kanban control. The following steps demonstrate how to render tasks using the [WinUI Kanban](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Kanban.SfKanban.html) control with respective custom data properties.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions winui/TreeGrid/ColumnTypes.md
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ You can restrict the users to enter input within a minimum and maximum range in
The `TreeGridNumericColumn` provides a clear button feature that enables users to reset cell values during editing using the [ShowClearButton](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.TreeGrid.TreeGridNumericColumn.html#Syncfusion_UI_Xaml_TreeGrid_TreeGridNumericColumn_ShowClearButton) property.
When `ShowClearButton` is set to `True`, a clear button appears within the editor, providing users with a convenient way to clear the cell's value.

#### AllowNull Behavior
**AllowNull Behavior**

The behavior of the clear button depends on the [AllowNull](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.TreeGrid.TreeGridNumericColumn.html#Syncfusion_UI_Xaml_TreeGrid_TreeGridNumericColumn_AllowNull) property:

Expand Down Expand Up @@ -980,7 +980,8 @@ You can restrict and display the input value within the range using the [MinDate
The `TreeGridDateColumn` provides a clear button feature that enables users to reset cell values during editing using the [ShowClearButton](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.TreeGrid.TreeGridDateColumn.html#Syncfusion_UI_Xaml_TreeGrid_TreeGridDateColumn_ShowClearButton) property.
When `ShowClearButton` is set to `True`, a clear button appears within the editor, providing users with a convenient way to clear the cell's value.

#### AllowNull Behavior
**AllowNull Behavior**

The behavior of the clear button depends on the [AllowNull](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.TreeGrid.TreeGridDateColumn.html#Syncfusion_UI_Xaml_TreeGrid_TreeGridDateColumn_AllowNull) property:

- When `AllowNull` is `True`, clicking the clear button sets the cell value to null.
Expand Down