From 69f606af9219316bd313e90fb799ae3db1b2f361 Mon Sep 17 00:00:00 2001 From: DianeXceed Date: Tue, 20 Jun 2017 12:36:38 -0400 Subject: [PATCH] Updated WatermarkTextBox (markdown) --- WatermarkTextBox.md | 58 ++++++++++++++++++++++++++------------------- 1 file changed, 33 insertions(+), 25 deletions(-) diff --git a/WatermarkTextBox.md b/WatermarkTextBox.md index 2ed6b41..7634339 100644 --- a/WatermarkTextBox.md +++ b/WatermarkTextBox.md @@ -3,18 +3,23 @@ Derives from Xceed.Wpf.Toolkit.AutoSelectTextBox The WatermarkTextBox is simply a TextBox that allows you to specify an object, usually a String, to represent null or missing text. -## Using Text -![](WatermarkTextBox_watermarktextbox.jpg) +### Using Text -![](WatermarkTextBox_watermarktextbox_withtext.jpg) -{{ +[[WatermarkTextBox_watermarktextbox.jpg]] + +[[WatermarkTextBox_watermarktextbox_withtext.jpg]] + +``` -}} +``` + +### Using an Image with Text + +[[WatermarkTextBox_watermarktextbox_image.jpg]] + +[[WatermarkTextBox_watermarktextbox_imagename.jpg]] -## Using an Image with Text -![](WatermarkTextBox_watermarktextbox_image.jpg) -![](WatermarkTextBox_watermarktextbox_imagename.jpg) -{{ +``` @@ -23,11 +28,13 @@ The WatermarkTextBox is simply a TextBox that allows you to specify an object, u -}} +``` -## Custom WatermarkTemplate -![](WatermarkTextBox_watermarktextbox_template.jpg) -{{ +### Custom WatermarkTemplate + +[[WatermarkTextBox_watermarktextbox_template.jpg]] + +``` @@ -37,15 +44,16 @@ The WatermarkTextBox is simply a TextBox that allows you to specify an object, u -}} - -## Properties -|| Property || Description -| AutoMoveFocus | Gets or sets a value indicating if the focus can navigate in the appropriate flow direction (e.g., from one cell to another when a cell is being edited) when the cursor is at the beginning or end of the auto-select text box. (Inherited from AutoSelectTextBox) -| AutoSelectBehavior | Gets or sets a value indicating how the content of the auto-select text box is selected (Never or OnFocus). By default, Never. (Inherited from AutoSelectTextBox) -| KeepWatermarkOnGotFocus | Gets or sets if the **Watermark** will be displayed when the focus is set on the watermarkTextBox, when text is empty. Default is False. -| Watermark | Gets or sets the object to use in place of null or missing Text. -| WatermarkTemplate | Gets or sets the DataTemplate to use to display the **Watermark**. - -**Support this project, check out the [Plus Edition](https://xceed.com/xceed-toolkit-plus-for-wpf/).** ---- \ No newline at end of file +``` + +### Properties +| Property | Description | +| --- | --- | +| AutoMoveFocus | Gets or sets a value indicating if the focus can navigate in the appropriate flow direction (e.g., from one cell to another when a cell is being edited) when the cursor is at the beginning or end of the auto-select text box. (Inherited from AutoSelectTextBox) | +| AutoSelectBehavior | Gets or sets a value indicating how the content of the auto-select text box is selected (Never or OnFocus). By default, Never. (Inherited from AutoSelectTextBox) | +| KeepWatermarkOnGotFocus | Gets or sets if the **Watermark** will be displayed when the focus is set on the watermarkTextBox, when text is empty. Default is False. | +| Watermark | Gets or sets the object to use in place of null or missing Text. | +| WatermarkTemplate | Gets or sets the DataTemplate to use to display the **Watermark**. | + +--- +**Support this project, check out the [Plus Edition](https://xceed.com/xceed-toolkit-plus-for-wpf/).** \ No newline at end of file