Skip to content

Commit f8937bd

Browse files
925962 - Update review correction.
1 parent 9696438 commit f8937bd

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

wpf/Image-Editor/Text.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Upon selecting the Text icon in the toolbar, a sub toolbar will be generated bel
3737
3838
### Background
3939

40-
You can customize the text background color by clicking the fill icon, selecting color from the color picker, and applying it as the background.
40+
You can customize the text background color by clicking on the fill icon, choosing a color from the color picker, and applying it to the background.
4141

4242
### Font family
4343

@@ -71,9 +71,12 @@ You can add text to an image using the AddText method programmatically. This met
7171

7272
<editor:SfImageEditor x:Name="editor"
7373
Loaded="OnImageEditorLoaded">
74+
</editor:SfImageEditor>
7475

7576
{% endhighlight %}
76-
{% highlight C# hl_lines="3" %}
77+
{% highlight C# hl_lines="5" %}
78+
79+
this.editor.Loaded += this.OnImageEditorLoaded;
7780

7881
private void OnImageEditorLoaded(object sender, RoutedEventArgs e)
7982
{
@@ -104,11 +107,12 @@ Using the following properties in TextSettings, text can be customized.
104107

105108
<editor:SfImageEditor x:Name="editor"
106109
Loaded="OnImageEditorLoaded">
110+
</editor:SfImageEditor>
107111

108112
{% endhighlight %}
109113
{% highlight C# %}
110114

111-
this.editor.Loaded += OnImageEditorLoaded;
115+
this.editor.Loaded += this.OnImageEditorLoaded;
112116

113117
private void OnImageEditorLoaded(object sender, RoutedEventArgs e)
114118
{

0 commit comments

Comments
 (0)