SaaCustomTextBox

SaaCustomTextBox as the name tells is a customized TextBox that gives you the ability to customize the way it fits you.

1. Colors

SaaCustomTextBox has these color properties:

ActiveTextColor is the text color when the textbox is focused

InActiveTextColor is the text color when the textbox losses focus.

LineActiveColor is the color for the line when the textbox is focused.

LineInActiveColor is the color for the line when the textbox is not focused.

WatermarkActiveColor is the color for the watermark when the textbox is focused.

WatermarkColor is the color for the watermark when the textbox is not focused.

BackColor is the overall background color for the control.

2. Text & Watermark

To set text for the control use Value property and WatermarkText property to set watermark displayed when Value or text is empty.

TextAlign tells the location of the text on the control e.g Left, Right, Center.

WordWrap tells whether word-wrapping is allowed for text and watermark.

WatermarkFont is the font for the watermark and Font property for the text.

Password tells whether textbox is for password and PasswordChar what character is displayed instead of the real value.

Cursor tells the mouse cursor when pointer is over the text.

3. Image

ActiveImage and InActiveImage properties tell images of the control when active and inactive respectively.

Image property tells whether the image is visible.

ImageCursor tells the mouse cursor when the pointer is over the image.

ImagePosition tells the location of the image e.g. Right or Left.

ImageSizeMode tells the resizing mode of the image.

4. Line

Line property tells whether line is drawn the bottom of the control.

LineImage tells whether the line is also drawn below the image.

LineSize tells the thickness of the line.

5. Events

ImageClick fires when the image is clicked.

TextChanged fires when text(Value) is changed

Last updated