This project is read-only.

Shows a watermark with text when TextBox is empty.

<TextBox Height="72" Name="textBox1" VerticalAlignment="Top" HorizontalAlignment="Stretch">
      <interactivity:Interaction.Behaviors>
            <mspBehaviors:TextBoxWatermarkBehavior WatermarkText="Watermark"/>
      </interactivity:Interaction.Behaviors>
</TextBox>

You can edit foreground, background and border brush colors. Remember, all this properties are not dependency properties.

Last edited Jul 25, 2012 at 10:23 AM by kazarindn, version 3

Comments

No comments yet.