Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Comment on "CheckComboBox"

$
0
0
Hello, I want skin the checkbox, but the text don't show: <Style TargetType="{x:Type CheckBox}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type CheckBox}"> ... <TextBlock Text="{TemplateBinding ContentPresenter.Content}" TextWrapping="Wrap" HorizontalAlignment="{TemplateBinding HorizontalAlignment}" Margin="{TemplateBinding Padding}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalAlignment}"/> </ControlTemplate> </Setter.Value> </Setter> </Style> But the "{TemplateBinding ContentPresenter.Content}" return empty. What is the property to binding ?

Viewing all articles
Browse latest Browse all 4964

Trending Articles