|
67 | 67 | </controls:DrawingIcon> |
68 | 68 | </controls:StatusToggle.UnCheckedContent> |
69 | 69 | </controls:StatusToggle> |
70 | | - <ToggleButton Grid.Column="2" Width="35" ToolTip="Data Source" |
| 70 | + <ToggleButton Grid.Column="2" Width="35" |
71 | 71 | IsChecked="{Binding IsOpenDataSource,Mode=TwoWay}" |
72 | 72 | Style="{StaticResource {x:Static themes:ResourceKeys.NormalToggleButtonStyleKey}}"> |
73 | | - <Path Fill="{Binding Foreground, RelativeSource={RelativeSource AncestorType=ToggleButton}}" |
74 | | - Data="M1,9 L1,10 5,10 5,9 z M0,8 L11,8 11,11 0,11 z M1,5 L1,6 5,6 5,5 z M0,4 L11,4 11,7 0,7 z M1,1 L1,2 5,2 5,1 z M0,0 L11,0 11,3 0,3 z"/> |
| 73 | + <ToggleButton.ToolTip> |
| 74 | + <StackPanel Orientation="Horizontal"> |
| 75 | + <TextBlock Grid.Row="0" Grid.Column="0" Text="Data Source"/> |
| 76 | + <TextBlock Grid.Row="0" Grid.Column="1" Text=" [Binding]" HorizontalAlignment="Left" |
| 77 | + Visibility="{Binding IsSyncDataSource,Converter={StaticResource boolToVisibilityConverter}}"/> |
| 78 | + </StackPanel> |
| 79 | + </ToggleButton.ToolTip> |
| 80 | + <Grid HorizontalAlignment="Center" VerticalAlignment="Center"> |
| 81 | + <Path Fill="{Binding Foreground, RelativeSource={RelativeSource AncestorType=ToggleButton}}" |
| 82 | + Data="M1,9 L1,10 5,10 5,9 z M0,8 L11,8 11,11 0,11 z M1,5 L1,6 5,6 5,5 z M0,4 L11,4 11,7 0,7 z M1,1 L1,2 5,2 5,1 z M0,0 L11,0 11,3 0,3 z"/> |
| 83 | + <Ellipse Height="7" Width="7" StrokeThickness="1" Stroke="#EFEFF2" Fill="#FF02D002" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,-2,-2,0" |
| 84 | + Visibility="{Binding IsSyncDataSource,Converter={StaticResource boolToVisibilityConverter}}"/> |
| 85 | + </Grid> |
75 | 86 | </ToggleButton> |
76 | 87 | <Path Grid.ColumnSpan="3" Stretch="Fill" Height="2" Stroke="#007ACC" StrokeThickness="2" Data="M0,0 1,0" VerticalAlignment="Bottom"/> |
77 | 88 | <Popup Placement="Bottom" StaysOpen="False" AllowsTransparency="True" |
|
0 commit comments