![]() ![]() HideOnTextEntered - The watermark will be hidden when the the user writes text into the RadWatermarkTextBox.HideOnClick - The watermark will be hidden when the the user clicks on the RadWatermarkTextBox.HiddenWhenFocused - The watermark will be hidden when the RadWatermarkTextBox receives focus.WatermarkBehavior is an enumeration property which specifies when the watermark content of RadWatermarkTextBox will be hidden. In the following example, the user is asked to enter four digits:Įxample 1: Setting the WatermarkContent property In scenarios, where you want to show custom content, when an empty string is entered, you need to use the WatermarkContent property. ![]() ![]() The RadWatermarkTextBox control is part of the assembly. Implemented in R3 2019.ĪdditionalContentTemplate: Gets or sets the used for the AdditionalContent object. SelectAll: The whole text will be selected.ĬaretToBeginning: The caret will be moved at the start of the text.ĬaretToEnd: The caret will be moved at the end of the text.ĪdditionalContent: Gets or sets an object which is rendered in ContentPresenter in the right part of the control. Unchanged: Selection will not be modified. The values for this properties are predefined in the SelectionOnFocus enumeration, which exposes the following fields: SelectionOnFocus: Specifies the modification over the selection when the control receives focus. IsWatermarkVisible: A read-only property indicating whether the Watermark is visible or not. This property is meant to be used for TwoWay binding in order to be updated on each change of the text and not when the focus is lost. WatermarkTemplate: Gets or sets the template for presenting the content, shown when the TextBox is empty and not focused.ĬurrentText: Gets or sets the text of the TextBox. WatermarkContent: Gets or sets the content to be shown when the TextBox is empty and not focused. The most important properties of the RadWatermarkTextBox control are: ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |