WPF零碎知识点
2020/3/30
ScaleTransform :控件缩放,ScaleX,ScaleY,两个值都是取(0到1)
BlurEffect :模糊控件 Radius
RenderTransformOrigin :渲染变换的点。例如:一个圆,他的中心点就是(0.5,0.5),两个值都是取(0到1)
<Border.RenderTransform> <ScaleTransform x:Name="FContentScale"/> </Border.RenderTransform> <Border.Effect> <BlurEffect x:Name="FContentBlur" Radius="0"/> </Border.Effect> <Storyboard> <DoubleAnimation Storyboard.TargetName="FContentScale" Storyboard.TargetProperty="ScaleY" To="0"/> <DoubleAnimation Storyboard.TargetName="FContentBlur" Storyboard.TargetProperty="Radius" To="50"/> </Storyboard>