The PromptDecorator type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | PromptDecorator |
Initializes a new instance of the PromptDecorator class.
|
Methods
Name | Description | |
---|---|---|
![]() | OnContentChanged |
Called by the framework when the Content property changes.
(Overrides ContentControl..::.OnContentChanged(Object, Object).) |
Fields
Name | Description | |
---|---|---|
![]() ![]() | ChildContentPropertyNameProperty |
Identifies the ChildContentPropertyName property.
|
![]() ![]() | IsPromptVisibleProperty |
Identifies the IsPromptVisible property.
|
![]() ![]() | PromptProperty |
Identifies the Prompt property.
|
![]() ![]() | PromptTemplateProperty |
Identifies the PromptTemplate property.
|
![]() ![]() | ShowIfFocusedProperty |
Identifies the ShowIfFocused property.
|
Properties
Name | Description | |
---|---|---|
![]() | ChildContentPropertyName |
Gets or sets the property of the contained element which is used to determine
if the contained element is empty (for purposes of displaying the prompt).
If this is not specified, and the contained element has a Text property, then
the Text property is used.
This is a dependency property.
|
![]() | IsPromptVisible |
Gets whether the prompt is currently displayed.
This is a dependency property.
|
![]() | Prompt |
Gets or sets the prompt to be displayed.
This is a dependency property.
|
![]() | PromptTemplate |
Gets or sets a DataTemplate to format the prompt or display additional
prompt content such as a graphic.
This is a dependency property.
|
![]() | ShowIfFocused |
Gets or sets whether the prompt remain shown when the contained element
has focus. By default, the prompt is hidden when the user gives focus to
the contained element.
This is a dependency property.
|