共用方式為


WatermarkedTextBox Class

Definition

Represents a TextBox that can display watermark text when empty.

public ref class WatermarkedTextBox : System::Windows::Controls::TextBox
public class WatermarkedTextBox : System.Windows.Controls.TextBox
type WatermarkedTextBox = class
    inherit TextBox
Public Class WatermarkedTextBox
Inherits TextBox
Inheritance
WatermarkedTextBox

Constructors

WatermarkedTextBox()

Fields

WatermarkForegroundProperty
WatermarkProperty

Identifies the Watermark dependency property.

Properties

Watermark

Gets or sets the watermark text to be display when the text box is empty.

WatermarkForeground

Applies to