1 Star 5 Fork 1

末叶 / DOC_WPFTOOLS

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
progressring.md 1.38 KB
一键复制 编辑 原始数据 按行查看 历史
末叶 提交于 2016-12-28 16:21 . Track 73 files into repository.

ProgressRing

例子

<StackPanel>
    <TextBlock Text="ProgressRing Style:" VerticalAlignment="Center" />
    <ComboBox x:Name="CmbRingStyle" Margin="8,0,0,0">
        <ComboBoxItem Content="Chasing Dots" Tag="{StaticResource ChasingDotsProgressRingStyle}" />
        <ComboBoxItem Content="Circle (default style)" IsSelected="True" Tag="{StaticResource CircleProgressRingStyle}" />
        <ComboBoxItem Content="Double Bounce" Tag="{StaticResource DoubleBounceProgressRingStyle}" />
        <ComboBoxItem Content="Pulse" Tag="{StaticResource PulseProgressRingStyle}" />
        <ComboBoxItem Content="Rotating Plane" Tag="{StaticResource RotatingPlaneProgressRingStyle}" />
        <ComboBoxItem Content="Three Bounce" Tag="{StaticResource ThreeBounceProgressRingStyle}" />
        <ComboBoxItem Content="Wandering Cubes" Tag="{StaticResource WanderingCubesProgressRingStyle}" />
        <ComboBoxItem Content="Wave" Tag="{StaticResource WaveProgressRingStyle}" />
    </ComboBox>
    <CheckBox Name="chkProgressRing">Active</CheckBox>
    <WPFTools:ProgressRing  HorizontalAlignment="Center" Width="200" Height="200" VerticalAlignment="Center" IsActive="{Binding ElementName=chkProgressRing,Path=IsChecked}"   Style="{Binding SelectedItem.Tag, ElementName=CmbRingStyle}"/>
</StackPanel>

样式

1
https://gitee.com/chenhome/DOC_WPFTOOLS.git
git@gitee.com:chenhome/DOC_WPFTOOLS.git
chenhome
DOC_WPFTOOLS
DOC_WPFTOOLS
master

搜索帮助