回复 2楼paulcat0928的帖子
paulcat0928 你好,你可以尝试更改 Background、BorderBrush、Foreground 属性来改变当前显示效果。测试代码:
- <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0" Background="#FFE5FCE5">
- <my:C1ToggleSwitch Content="CheckBox" Height="371" HorizontalAlignment="Left" Margin="64,78,0,0" Name="c1ToggleSwitch1" VerticalAlignment="Top" Width="348" Foreground="#FF9D0000" Background="#FF8E0600" BorderBrush="#FFC70000" />
- </Grid>
复制代码
|