We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<Button Width="100" Margin="10,0" wd:Badge.FontSize="12" wd:Badge.IsShow="{Binding ElementName=MyBadgeToggleButton, Path=IsChecked}" wd:Badge.Text="{Binding Text,RelativeSource={RelativeSource AncestorType=UserControl}}" Content="Success" Click="myButton_Click" Style="{DynamicResource WD.SuccessDefaultButton}" />
public string Text { get { return (string)GetValue(TextProperty); } set { SetValue(TextProperty, value); } } public static readonly DependencyProperty TextProperty = DependencyProperty.Register("Text", typeof(string), typeof(BadgeExample), new PropertyMetadata("3")); private void myButton_Click(object sender, System.Windows.RoutedEventArgs e) { Text = "10"; }
The text was updated successfully, but these errors were encountered:
#71 Text change does not refresh issue
2869db4
Text change does not refresh issue
yanjinhuagood
No branches or pull requests
前台代码如下
逻辑代码如下
The text was updated successfully, but these errors were encountered: