Fernando Cerqueira Web Site
Consultor,Arquiteto de Aplicações,Especialista Microsoft .NET
Sunday, February 05, 2012
AttachedBehavior Demonstration
Dependency Properties

OnChanged: If true, The validation is performed at key-up. Default value is false;

Onleave: If true, The validation is performed at lostfocus. Default value is true;

MessageTooltip: If true, Show message error at tooptip when validation fail. Default value is true;

BorderIndicator: If true, The border of the control indicates the result of the validation. Default value is true.

InvalidBorder: The border color of control when validation fail. The type of property is Brush and default value is Red.

InvalidBorderThickness: The Thickness border of control when validation is fail. The type of property is Thickness and default value is 1.

TooltipBorder: The border color of tooltip when validation fail. The type of property is Brush and default value is Red.

TooltipBackground: The background color of tooltip when validation fail. The type of property is Brush and default value is Red.

TooltipForeground: The Foreground color of tooltip when validation fail. The type of property is Brush and default value is White.

TooltipBorderThickness: The Thickness border of tooltip when validation is fail. The type of property is Thickness and default value is 1.