× ABOUT DOWNLOADS PROJECTS WORK
    cyberpunk.sh
Profile photo

PREMCHAND CHAKKUNGAL

SENIOR SOFTWARE ENGINEER

    WATERMARK TEXTBOX AND PASSWORDBOX FOR WINDOWS PHONE 8

Often we might need to display placeholder or watermark for the text boxes in our mobile apps. Here is an easy way for you to include it as well!!

Install a Nuget Package:

PM> Install-Package WindowsPhoneControls

Usage:

In declaration part, define namespace


<xmlns:CSControls=”clr-namespace:CS.Windows.Controls;assembly=CS.Windows.Controls”>

Now when ever you want a watermark text or password, write


<CSControls:WatermarkTextBox x:Name=”textbox1″ WatermarkText=” Enter your name”/>