Skip to content

Commit 790d359

Browse files
authored
Remove unused code from change document view example
Updated the example to remove unused code for the document editor container.
1 parent efed387 commit 790d359

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Document-Processing/Word/Word-Processor/blazor/how-to/change-document-view.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ The layout type can be set during component initialization. The following exampl
2626
<SfDocumentEditorContainer @ref="Container" EnableToolbar="true" Height="590px" LayoutType="LayoutType.Continuous">
2727
</SfDocumentEditorContainer>
2828
29-
@code {
30-
SfDocumentEditorContainer Container;
31-
}
3229
```
3330

3431
N> By default, the `LayoutType` is set to `LayoutType.Pages`, which provides a print layout view. To switch to a web layout, set the property to `LayoutType.Continuous`.

0 commit comments

Comments
 (0)