Where is the IsEmpty reference/member in this XAML code?
问题 I cannot understand where the IsEmpty comes from in this snippet of code ( Path=Text.IsEmpty ) (about a watermark TextBox): <Grid Grid.Row="0" Background="{StaticResource brushWatermarkBackground}" Style="{StaticResource EntryFieldStyle}" > <TextBlock Margin="5,2" Text="Type to search ..." Foreground="Gray" Visibility="{Binding ElementName=entry, Path=Text.IsEmpty, Converter={StaticResource BooleanToVisibilityConverter}}"/> <TextBox Name="entry" Background="Transparent"/> </Grid> You can see