WatermarkedTextBox Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public ref class WatermarkedTextBox : System::Windows::Controls::TextBox
[System.Windows.TemplatePart(Name="ContentElement", Type=typeof(System.Windows.Controls.ContentControl))]
[System.Windows.TemplatePart(Name="Watermark", Type=typeof(System.Windows.Controls.ContentControl))]
[System.Windows.TemplatePart(Name="PART_ContentHost", Type=typeof(System.Windows.Controls.ContentControl))]
[System.Windows.TemplateVisualState(GroupName="WatermarkStates", Name="Unwatermarked")]
[System.Windows.TemplateVisualState(GroupName="CommonStates", Name="MouseOver")]
[System.Windows.TemplateVisualState(GroupName="CommonStates", Name="Normal")]
[System.Windows.TemplateVisualState(GroupName="FocusStates", Name="Unfocused")]
[System.Windows.TemplateVisualState(GroupName="CommonStates", Name="Disabled")]
[System.Windows.TemplateVisualState(GroupName="FocusStates", Name="Focused")]
[System.Windows.TemplateVisualState(GroupName="WatermarkStates", Name="Watermarked")]
public class WatermarkedTextBox : System.Windows.Controls.TextBox
type WatermarkedTextBox = class
inherit TextBox
Public Class WatermarkedTextBox
Inherits TextBox
- Inheritance
-
WatermarkedTextBox
- Attributes
Constructors
WatermarkedTextBox() |
Fields
WatermarkProperty |
Properties
Watermark |
Methods
OnApplyTemplate() |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for