Share via


DialogOption Class

Definition

An set options for a dialog.

[System.Runtime.Serialization.DataContract]
public class DialogOption : IEquatable<Microsoft.VisualStudio.RpcContracts.Notifications.DialogOption>
[<System.Runtime.Serialization.DataContract>]
type DialogOption = class
    interface IEquatable<DialogOption>
Public Class DialogOption
Implements IEquatable(Of DialogOption)
Inheritance
DialogOption
Attributes
Implements

Constructors

Name Description
DialogOption(DialogButton, DialogResult)

Initializes a new instance of the DialogOption class.

DialogOption(DialogOption)

Properties

Name Description
Buttons

Gets the dialog buttons to display in the dialog.

Close

Gets the option for only having the Close button with it set as the default.

DefaultButton

Gets the dialog button to set as the default.

EqualityContract
OK

Gets the option for only having the OK button with it set as the default.

OKCancel

Gets the option for having OK and Cancel buttons with OK set as the default.

Methods

Name Description
<Clone>$()
Equals(DialogOption)
Equals(Object)
GetHashCode()
PrintMembers(StringBuilder)
ToString()

Operators

Name Description
Equality(DialogOption, DialogOption)
Inequality(DialogOption, DialogOption)

Applies to