Skip to content

Commit 9ab4d36

Browse files
committed
Code changes regarding CI issues
1 parent d1b8bbb commit 9ab4d36

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

MAUI/DataGrid/addNew-row.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public partial class MainPage : ContentPage
5353

5454
<img alt="addnewRowpositon-top" src="Images\addnewrow\maui-dataGrid-AddNewRowPosition-top.png" width="604"/>
5555

56-
# Changing the AddNewRow default text in DataGrid
56+
## Changing the AddNewRow default text in DataGrid
5757

5858
You can change the default static string of AddNewRow in datagrid by using the [SfDataGrid.AddNewRowText]() property. The `AddNewRowText` property has higher priority than the text that is localized in resx file.
5959

@@ -84,7 +84,7 @@ public partial class MainPage : ContentPage
8484

8585
<img alt="addnewRow-text" src="Images\addnewrow\maui-dataGrid-AddNewRowText.png" width="604"/>
8686

87-
# Initializing default values for AddNewRow
87+
## Initializing default values for AddNewRow
8888

8989
SfDataGrid allows you to set the default values for AddNewRow while initiating, through [AddNewRowInitiatingEventArgs.NewObject]() property in [SfDataGrid.AddNewRowInitiating]() event.
9090

@@ -115,7 +115,7 @@ private void dataGrid_AddNewRowInitiating(object? sender, DataGridAddNewRowIniti
115115

116116
<img alt="addnewRow-DefaultValue" src="Images\addnewrow\maui-dataGrid-DefaultValues.png" width="604"/>
117117

118-
# Working with complex properties in AddNewRow
118+
## Working with complex properties in AddNewRow
119119

120120
SfDataGrid control does not initiate values for complex properties defined in the data object. Hence, you need to initiate the default values for the complex properties externally by using the `SfDataGrid.AddNewRowInitiating` event.
121121

@@ -156,11 +156,11 @@ private void DataGrid_AddNewRowInitiating(object? sender, DataGridAddNewRowIniti
156156
{% endhighlight %}
157157
{% endtabs %}
158158

159-
# Add row programmatically
159+
## Add row programmatically
160160

161161
You can commit or cancel the new record in AddNewRow by pressing the Enter and Esc key respectively. AddNewRow operations can be performed programmatically by using [DataGridAddNewRowController.CommitAddNew]() and [DataGridAddNewRowController.CancelAddNew]() methods at runtime.
162162

163-
## Cancel AddNewRow
163+
### Cancel AddNewRow
164164

165165
{% tabs %}
166166
{% highlight c# %}
@@ -178,7 +178,7 @@ if (this.dataGrid.View.IsAddingNew)
178178
{% endhighlight %}
179179
{% endtabs %}
180180

181-
## Commit AddNewRow
181+
### Commit AddNewRow
182182

183183
{% tabs %}
184184
{% highlight c# %}
@@ -208,7 +208,7 @@ if (this.dataGrid.View.IsAddingNew)
208208
{% endhighlight %}
209209
{% endtabs %}
210210

211-
# Customizing AddNewRow text using default resource file
211+
## Customizing AddNewRow text using default resource file
212212

213213
SfDataGrid enables you to customize the watermark text of AddNewRow by changing value of AddNewRowText in Resource Designer.
214214

@@ -218,11 +218,11 @@ To customize the AddNewRowText, add the default Syncfusion.SfDataGrid.WPF.resx f
218218

219219
<img alt="addnewRow-Localization" src="Images\addnewrow\maui-dataGrid-AddNewRow_Localization.png" width="604"/>
220220

221-
# Customizing AddNewRow
221+
## Customizing AddNewRow
222222

223-
## Implicit Styling of AddNewRow
223+
### Implicit Styling of AddNewRow
224224

225-
DataGridAddNewRow can be customized by writting style for [DataGridAddNewRowView]() TargetType.
225+
DataGridAddNewRow can be customized by writing style for [DataGridAddNewRowView]() TargetType.
226226

227227
{% tabs %}
228228
{% highlight xaml %}
@@ -243,7 +243,7 @@ DataGridAddNewRow can be customized by writting style for [DataGridAddNewRowView
243243
{% endhighlight %}
244244
{% endtabs %}
245245

246-
## Default Styling of AddNewRow
246+
### Default Styling of AddNewRow
247247

248248
You can customize the AddNewRow's Background, TextColor, FontAttribute, FontFamily by using [SfDataGrid.DefaultStyle]().
249249

@@ -270,7 +270,7 @@ You can customize the AddNewRow's Background, TextColor, FontAttribute, FontFami
270270

271271
<img alt="addnewRow-ImplicitStyle" src="Images\addnewrow\maui-dataGrid-AddNewRow_ImplicitStyle.png" width="604"/>
272272

273-
# AddNewRow support in Master-Details View
273+
## AddNewRow support in Master-Details View
274274

275275
You can enable the AddNewRow in `DetailsViewDataGrid` by specifying the position to `SfDataGrid.AddNewRowPosition` property in [ViewDefinition.DataGrid](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.DataGrid.ViewDefinition.html).
276276

@@ -366,7 +366,7 @@ private void DataGrid_AddNewRowInitiating(object? sender, DataGridAddNewRowIniti
366366

367367
<img alt="addnewRow-MasterdetailsView" src="Images\addnewrow\maui-dataGrid-AddNewRow_MasterDetailsView.png" width="604"/>
368368

369-
## Changing the AddNewRow default text in details view grid
369+
### Changing the AddNewRow default text in details view grid
370370

371371
You can change the default static string of AddNewRow in details view grid by using the `SfDataGrid.AddNewRowText` property in `ViewDefinition.DataGrid`. The `AddNewRowText` property has higher priority than the text that is localized in resx file.
372372

0 commit comments

Comments
 (0)