Skip to content

markdoccore IDialogViewModel

Denis Akopyan edited this page Mar 6, 2022 · 1 revision

IDialogViewModel interface

Description

Interface for dialog view models

Diagram

  flowchart LR
    classDef interfaceStyle stroke-dasharray: 5 5;
    classDef abstractStyle stroke-width:4px
    subgraph MarkDoc.Core
      MarkDoc.Core.IDialogViewModel[[IDialogViewModel]]
      class MarkDoc.Core.IDialogViewModel interfaceStyle;
      MarkDoc.Core.IViewModel[[IViewModel]]
      class MarkDoc.Core.IViewModel interfaceStyle;
    end
    subgraph System
      System.IDisposable[[IDisposable]]
    end
    MarkDoc.Core.IViewModel --> MarkDoc.Core.IDialogViewModel
    System.IDisposable --> MarkDoc.Core.IDialogViewModel
Loading

Members

Properties

Public properties

Type Name Methods
bool CanClickCancel
Determines whether the cancel button can be clicked
get
bool CanClickNegative
Determines whether the negative button can be clicked
get
bool CanClickPositive
Determines whether the positive button can be clicked
get
string Title
Dialog title
get

Methods

Public methods

Returns Name
void OnCancelButtonClicked()
Invoked when the parent dialog window cancel button is pressed
void OnNegativeButtonClicked()
Invoked when the parent dialog window negative button is pressed
void OnPositiveButtonClicked()
Invoked when the parent dialog window positive button is pressed

Details

Summary

Interface for dialog view models

Inheritance

Methods

OnPositiveButtonClicked

public abstract void OnPositiveButtonClicked()
Summary

Invoked when the parent dialog window positive button is pressed

OnNegativeButtonClicked

public abstract void OnNegativeButtonClicked()
Summary

Invoked when the parent dialog window negative button is pressed

OnCancelButtonClicked

public abstract void OnCancelButtonClicked()
Summary

Invoked when the parent dialog window cancel button is pressed

Properties

Title

public abstract string Title { get }
Summary

Dialog title

CanClickPositive

public abstract bool CanClickPositive { get }
Summary

Determines whether the positive button can be clicked

CanClickNegative

public abstract bool CanClickNegative { get }
Summary

Determines whether the negative button can be clicked

CanClickCancel

public abstract bool CanClickCancel { get }
Summary

Determines whether the cancel button can be clicked

Events

CloseRequested

public event EventHandler CloseRequested
Summary

Invoked when the dialog is to be closed

Generated with MarkDoc

Clone this wiki locally