Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
password
SUBMITTED BY:
Guest
DATE:
Dec. 11, 2013, 6:23 a.m.
FORMAT:
Text only
SIZE:
970 Bytes
Raw
Download
Tweet
HITS:
851
Go to comments
Report
<Grid>
<Grid.Resources>
<l:MatchedPairConverter x:Key="_PasswordMatchConverter" />
<Style TargetType="{x:Type TextBox}" BasedOn="{StaticResource {x:Type TextBox}}" x:Key="MatchedPairBound">
<Setter Property="Background">
<Setter.Value>
<MultiBinding Converter="{StaticResource _PasswordMatchConverter}">
<Binding Path="Text" ElementName="FIRST" />
<Binding Path="Text" ElementName="SECOND" />
</MultiBinding>
</Setter.Value>
</Setter>
</Style>
</Grid.Resources>
<TextBox Grid.Row="0" Grid.Column="0" Name="Password1" Text="P"
Style="{StaticResource MatchedPairBound, ElementNames=Password1, Password2}" />
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus