You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/apidocs-mxsdk/apidocs/studio-pro-11/extensibility-api/csharp/extensibility-api-howtos/build-todo-example-extension.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,9 +21,9 @@ This document covers the following topics:
21
21
22
22
## Prerequisites
23
23
24
-
Ensure the following tools are installed on local development environment before starting:
24
+
Ensure the following tools are installed on your local development environment before starting:
25
25
26
-
* Microsoft Visual Studio 2022 (or equivalent, such as Visual Studio Code or JetBrains Rider). This example assumes you are using Microsoft Visual Studio 2022.
26
+
* Microsoft Visual Studio 2022 (or equivalent, such as Visual Studio Code or JetBrains Rider); this example assumes you are using Microsoft Visual Studio 2022
27
27
* Studio Pro version 10.6 or above
28
28
29
29
## Creating the Project and Configuring the Extension Project
@@ -38,11 +38,11 @@ Create a new project to ensure your extension is loaded correctly in Studio Pro.
@@ -134,7 +134,7 @@ There are a few notable features in the code above:
134
134
[Export(typeof(DockablePaneExtension))]
135
135
```
136
136
137
-
Studio Pro uses this attribute to identify which extension type to inject this class into. If you do not specify this attribute, Studio Pro will not load your extension type. The extension descends from `DockablePaneExtension`. Studio Pro uses abstract classes to enforce behavior for your extensions.
137
+
Studio Pro uses this attribute to identify which extension type to inject this class into. If you do not specify this attribute, Studio Pro will not load your extension type. The extension descends from `DockablePaneExtension`. Studio Pro uses abstract classes to enforce behavior for your extensions.
138
138
139
139
```csharp
140
140
public class ToDoListDockablePaneExtension : DockablePaneExtension
@@ -175,8 +175,8 @@ There are a few notable features in the code above:
175
175
176
176
* Override the `Id` property
177
177
* This property provides Studio Pro a way to uniquely identify your dockable pane extension
178
-
* Override the `Open` method.
179
-
* Within this method you need to return a valid implementation of `DockablePaneViewModelBase` which studio Pro will use to render your pane's contents
178
+
* Override the `Open` method
179
+
* Within this method, you need to return a valid implementation of `DockablePaneViewModelBase`, which Studio Pro will use to render your pane's contents
180
180
181
181
## Creating a View Model to Host Your View Data
182
182
@@ -423,7 +423,7 @@ To store to-do data on disk, create model classes that represent individual item
423
423
424
424
### Create the To-do Item Model
425
425
426
-
1. Add a new class file named `ToDoModel.cs`.
426
+
1. Add a new class file named *ToDoModel.cs*.
427
427
2. Replace the contents of the file with the following code:
428
428
429
429
```csharp
@@ -454,7 +454,7 @@ To store to-do data on disk, create model classes that represent individual item
454
454
455
455
### Create the To-do List Model
456
456
457
-
1. Addanotherclassfilenameed`ToDoListModel.cs`.
457
+
1. Addanotherclassfilenamed *ToDoListModel.cs*.
458
458
2. Replace the contents of this file with the following code:
459
459
460
460
```csharp
@@ -480,7 +480,7 @@ With the models in place, create a storage handler that will manage reading and
480
480
481
481
### Add the Storage Handler Class
482
482
483
-
1. Addanewclassfile named `ToDoStorage.cs`.
483
+
1. Addanewclassfile named *ToDoStorage.cs*.
484
484
2. Replace the contents of the file with the following code:
485
485
486
486
```csharp
@@ -616,10 +616,10 @@ Now that the logic is in place, add a user interface that Studio Pro can render
0 commit comments