MessageWindow.Text Property

Gets or sets the text for a MessageWindow.

Namespace: Microsoft.WindowsCE.Forms
Assembly: Microsoft.WindowsCE.Forms (in microsoft.windowsce.forms.dll)

public string Text { get; set; }
/** @property */
public String get_Text ()

/** @property */
public void set_Text (String value)

public function get Text () : String

public function set Text (value : String)

Property Value

The title bar text of a MessageWindow.

Exception typeCondition


The MessageWindow has been disposed.

This property uses the native Windows CE GetWindowText and SetNativeText functions to set and get the text. Setting this property to a null reference (Nothing in Visual Basic)results in an empty string.

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Compact Framework

Supported in: 2.0