Share via


TextInputDialog Class

Definition

Represents a text input dialog

public ref class TextInputDialog : Microsoft::VisualStudio::PlatformUI::DialogWindow, System::Windows::Markup::IComponentConnector
public class TextInputDialog : Microsoft.VisualStudio.PlatformUI.DialogWindow, System.Windows.Markup.IComponentConnector
type TextInputDialog = class
    inherit DialogWindow
    interface IComponentConnector
Public Class TextInputDialog
Inherits DialogWindow
Implements IComponentConnector
Inheritance
Implements

Properties

HasDialogFrame

Determines whether the window has a frame.

(Inherited from DialogWindowBase)
HasHelpButton

Determines whether the window has a help button.

(Inherited from DialogWindowBase)
HasMaximizeButton

Determines whether the window has a maximize button.

(Inherited from DialogWindowBase)
HasMinimizeButton

Determines whether the window has a minimize button.

(Inherited from DialogWindowBase)
IsCloseButtonEnabled

Gets or sets a value indicating whether the close title bar button should be enabled.

(Inherited from DialogWindowBase)

Methods

InitializeComponent()

InitializeComponent

InvokeDialogHelp()

Invokes the Help for the dialog window.

(Inherited from DialogWindow)
OnClosed(EventArgs)

Handles the text box Closed event.

OnDialogThemeChanged()

When overridden in a derived class, handles the event raised when the dialog window theme has changed.

(Inherited from DialogWindowBase)
OnInitialized(EventArgs)

Handles initialization. In this case everything in the text box is selected after data binding is complete.

OnSourceInitialized(EventArgs)

Handles the event raised when the window source has been initialized.

(Inherited from DialogWindowBase)
Show(String, String, Int32, String, Predicate<String>, String)

Shows a text input dialog.

Show(String, String, String, Predicate<String>, String)

Shows a text input dialog.

Show(String, String, String, String)

Shows a text input dialog.

ShowModal()

Finds the parent/owner of the dialog from the Visual Studio shell and display the dialog Sets the shell in modal state while the dialog is shown, and centers correctly the dialog in the parent window.

Note: If the dialog is parented to a WPF window, ShowDialog() can also be used to display it, but before doing so one will have to initialize correctly the dialog Owner and WindowStartupLocation.

(Inherited from DialogWindow)

Applies to