Hi, I try to customize Window Header and add some textblock (see atach).
But it works when TextBlock FontSize is 20 or more for instance. When I set FontSize to 16, triggers or doubleanimation don't work.
Why?
How to solve this problem?
Thanks.
<t:RadWindow.HeaderTemplate> <DataTemplate> <Grid Margin="10,0"> <ContentPresenter Content="{Binding}" HorizontalAlignment="Left"/> <TextBlock x:Name="txtblk" Text="XAML" Opacity="0.4" FontSize="16" HorizontalAlignment="Right"> <TextBlock.Triggers> <EventTrigger RoutedEvent="TextBlock.MouseEnter"> <BeginStoryboard> <Storyboard> <DoubleAnimation Storyboard.TargetName="txtblk" Storyboard.TargetProperty="(TextBlock.Opacity)" From="0.4" To="1" Duration="0:0:0.5"/> </Storyboard> </BeginStoryboard> </EventTrigger> </TextBlock.Triggers> </TextBlock> </Grid> </DataTemplate></t:RadWindow.HeaderTemplate>But it works when TextBlock FontSize is 20 or more for instance. When I set FontSize to 16, triggers or doubleanimation don't work.
Why?
How to solve this problem?
Thanks.
