File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
blazor/image-editor/how-to Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ Rendering the Image Editor in a dialog involves displaying the image editor comp
2727 <DialogTemplates>
2828 <Content>
2929 <div class="dialog-content">
30- @if (IsImageEditorVisible )
30+ @if (IsImageEditorOpened )
3131 {
3232 <SfImageEditor @ref="ImageEditor" Height="400px">
3333 <ImageEditorEvents Created="OnImageEditorCreated"></ImageEditorEvents>
@@ -41,7 +41,7 @@ Rendering the Image Editor in a dialog involves displaying the image editor comp
4141
4242@code {
4343 private bool IsDialogVisible { get; set; } = false;
44- private bool IsImageEditorVisible { get; set; } = false;
44+ private bool IsImageEditorOpened { get; set; } = false;
4545 private SfImageEditor ImageEditor;
4646
4747 private void OpenDialog()
@@ -51,12 +51,12 @@ Rendering the Image Editor in a dialog involves displaying the image editor comp
5151
5252 private void OnDialogOpened()
5353 {
54- IsImageEditorVisible = true;
54+ IsImageEditorOpened = true;
5555 }
5656
5757 private void OnDialogClosed()
5858 {
59- IsImageEditorVisible = false;
59+ IsImageEditorOpened = false;
6060 }
6161
6262 private async void OnImageEditorCreated()
You can’t perform that action at this time.
0 commit comments