调整颜色按钮背景色固定白色
This commit is contained in:
@@ -114,14 +114,15 @@
|
|||||||
<hc:ColorPicker Confirmed="ColorPicker_Confirmed" Canceled="ColorPicker_Canceled"/>
|
<hc:ColorPicker Confirmed="ColorPicker_Confirmed" Canceled="ColorPicker_Canceled"/>
|
||||||
</Popup>
|
</Popup>
|
||||||
</Border>
|
</Border>
|
||||||
<Button DockPanel.Dock="Right"
|
<Border DockPanel.Dock="Right" Background="White" CornerRadius="{DynamicResource DefaultCornerRadius}">
|
||||||
Content="..."
|
<Button Content="..."
|
||||||
Foreground="{Binding BackgroundColor, Converter={StaticResource Bg2FgCvter}}"
|
Foreground="{Binding BackgroundColor, Converter={StaticResource Bg2FgCvter}}"
|
||||||
Click="ButtonPickColor_Click">
|
Click="ButtonPickColor_Click">
|
||||||
<Button.Background>
|
<Button.Background>
|
||||||
<SolidColorBrush Color="{Binding BackgroundColor}"/>
|
<SolidColorBrush Color="{Binding BackgroundColor}"/>
|
||||||
</Button.Background>
|
</Button.Background>
|
||||||
</Button>
|
</Button>
|
||||||
|
</Border>
|
||||||
<TextBox Text="{Binding BackgroundColor}" ToolTip="#AARRGGBB"/>
|
<TextBox Text="{Binding BackgroundColor}" ToolTip="#AARRGGBB"/>
|
||||||
</DockPanel>
|
</DockPanel>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|||||||
@@ -114,14 +114,15 @@
|
|||||||
<hc:ColorPicker Confirmed="ColorPicker_Confirmed" Canceled="ColorPicker_Canceled"/>
|
<hc:ColorPicker Confirmed="ColorPicker_Confirmed" Canceled="ColorPicker_Canceled"/>
|
||||||
</Popup>
|
</Popup>
|
||||||
</Border>
|
</Border>
|
||||||
<Button DockPanel.Dock="Right"
|
<Border DockPanel.Dock="Right" Background="White" CornerRadius="{DynamicResource DefaultCornerRadius}">
|
||||||
Content="..."
|
<Button Content="..."
|
||||||
Foreground="{Binding BackgroundColor, Converter={StaticResource Bg2FgCvter}}"
|
Foreground="{Binding BackgroundColor, Converter={StaticResource Bg2FgCvter}}"
|
||||||
Click="ButtonPickColor_Click">
|
Click="ButtonPickColor_Click">
|
||||||
<Button.Background>
|
<Button.Background>
|
||||||
<SolidColorBrush Color="{Binding BackgroundColor}"/>
|
<SolidColorBrush Color="{Binding BackgroundColor}"/>
|
||||||
</Button.Background>
|
</Button.Background>
|
||||||
</Button>
|
</Button>
|
||||||
|
</Border>
|
||||||
<TextBox Text="{Binding BackgroundColor}" ToolTip="#AARRGGBB"/>
|
<TextBox Text="{Binding BackgroundColor}" ToolTip="#AARRGGBB"/>
|
||||||
</DockPanel>
|
</DockPanel>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|||||||
@@ -114,14 +114,15 @@
|
|||||||
<hc:ColorPicker Confirmed="ColorPicker_Confirmed" Canceled="ColorPicker_Canceled"/>
|
<hc:ColorPicker Confirmed="ColorPicker_Confirmed" Canceled="ColorPicker_Canceled"/>
|
||||||
</Popup>
|
</Popup>
|
||||||
</Border>
|
</Border>
|
||||||
<Button DockPanel.Dock="Right"
|
<Border DockPanel.Dock="Right" Background="White" CornerRadius="{DynamicResource DefaultCornerRadius}">
|
||||||
Content="..."
|
<Button Content="..."
|
||||||
Foreground="{Binding BackgroundColor, Converter={StaticResource Bg2FgCvter}}"
|
Foreground="{Binding BackgroundColor, Converter={StaticResource Bg2FgCvter}}"
|
||||||
Click="ButtonPickColor_Click">
|
Click="ButtonPickColor_Click">
|
||||||
<Button.Background>
|
<Button.Background>
|
||||||
<SolidColorBrush Color="{Binding BackgroundColor}"/>
|
<SolidColorBrush Color="{Binding BackgroundColor}"/>
|
||||||
</Button.Background>
|
</Button.Background>
|
||||||
</Button>
|
</Button>
|
||||||
|
</Border>
|
||||||
<TextBox Text="{Binding BackgroundColor}" ToolTip="#AARRGGBB"/>
|
<TextBox Text="{Binding BackgroundColor}" ToolTip="#AARRGGBB"/>
|
||||||
</DockPanel>
|
</DockPanel>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|||||||
@@ -114,14 +114,15 @@
|
|||||||
<hc:ColorPicker Confirmed="ColorPicker_Confirmed" Canceled="ColorPicker_Canceled"/>
|
<hc:ColorPicker Confirmed="ColorPicker_Confirmed" Canceled="ColorPicker_Canceled"/>
|
||||||
</Popup>
|
</Popup>
|
||||||
</Border>
|
</Border>
|
||||||
<Button DockPanel.Dock="Right"
|
<Border DockPanel.Dock="Right" Background="White" CornerRadius="{DynamicResource DefaultCornerRadius}">
|
||||||
Content="..."
|
<Button Content="..."
|
||||||
Foreground="{Binding BackgroundColor, Converter={StaticResource Bg2FgCvter}}"
|
Foreground="{Binding BackgroundColor, Converter={StaticResource Bg2FgCvter}}"
|
||||||
Click="ButtonPickColor_Click">
|
Click="ButtonPickColor_Click">
|
||||||
<Button.Background>
|
<Button.Background>
|
||||||
<SolidColorBrush Color="{Binding BackgroundColor}"/>
|
<SolidColorBrush Color="{Binding BackgroundColor}"/>
|
||||||
</Button.Background>
|
</Button.Background>
|
||||||
</Button>
|
</Button>
|
||||||
|
</Border>
|
||||||
<TextBox Text="{Binding BackgroundColor}" ToolTip="#AARRGGBB"/>
|
<TextBox Text="{Binding BackgroundColor}" ToolTip="#AARRGGBB"/>
|
||||||
</DockPanel>
|
</DockPanel>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|||||||
@@ -956,8 +956,8 @@
|
|||||||
</Border>
|
</Border>
|
||||||
<Border DockPanel.Dock="Right" Background="White" CornerRadius="{DynamicResource DefaultCornerRadius}">
|
<Border DockPanel.Dock="Right" Background="White" CornerRadius="{DynamicResource DefaultCornerRadius}">
|
||||||
<Button Content="..."
|
<Button Content="..."
|
||||||
Foreground="{Binding BackgroundColor, Converter={StaticResource Bg2FgCvter}}"
|
Foreground="{Binding BackgroundColor, Converter={StaticResource Bg2FgCvter}}"
|
||||||
Click="ButtonPickColor_Click">
|
Click="ButtonPickColor_Click">
|
||||||
<Button.Background>
|
<Button.Background>
|
||||||
<SolidColorBrush Color="{Binding BackgroundColor}"/>
|
<SolidColorBrush Color="{Binding BackgroundColor}"/>
|
||||||
</Button.Background>
|
</Button.Background>
|
||||||
|
|||||||
Reference in New Issue
Block a user