Skip to content

Commit edcd2d7

Browse files
author
SalmanBaris25
committed
890821: Changed as typescript to c#
1 parent d83dd71 commit edcd2d7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ej2-asp-core-mvc/document-editor/content-control.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ InlineContentControl: Among inline content inside, as a child of a paragraph. Bl
3030

3131
Content control can be inserted using `insertContentControl` method in editor module.
3232

33-
```typescript
33+
```c#
3434
//Insert Rich Text Content Control
3535
container.documentEditor.editor.insertContentControl('RichText');
3636
//Insert Rich Text Content Control with default sfdt string
@@ -72,7 +72,7 @@ container.documentEditor.editor.insertContentControl('Picture', 'data:image/png;
7272

7373
Content control properties can be set using the `ContentControlInfo` and import it using `importContentControlData`
7474

75-
```typescript
75+
```c#
7676
var data = [];
7777
var contentControlData = { title: placeHolderPrefix + 'Name', tag: '', value: 'John', canDelete: false, canEdit: false, type: 'RichText' };
7878
data.push(contentControlData);
@@ -83,15 +83,15 @@ container.documentEditor.importContentControlData(data);
8383

8484
Content control properties can be exported using the `exportContentControlData`
8585

86-
```typescript
86+
```c#
8787
var contentControlInfos = container.documentEditor.exportContentControlData();
8888
```
8989

9090
## Reset content control
9191

9292
Content control properties can be reset using the `resetcontentcontroldata`
9393

94-
```typescript
94+
```c#
9595
var data = [];
9696
var contentControlData = { title: placeHolderPrefix + 'Name', tag: '', value: 'John', canDelete: false, canEdit: false, type: 'RichText' };
9797
data.push(contentControlData);

0 commit comments

Comments
 (0)