-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enable ClearTypeHint for ComboBox popup (items)
- Loading branch information
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -290,7 +290,7 @@ | |
Opacity="0" /> | ||
<!-- AllowsTransparency="true" fixes the redraw problem under windows vista/7 with a selected non aero theme --> | ||
<Popup x:Name="PART_Popup" | ||
AllowsTransparency="true" | ||
AllowsTransparency="True" | ||
Focusable="False" | ||
IsOpen="{Binding IsDropDownOpen, RelativeSource={RelativeSource TemplatedParent}}" | ||
PopupAnimation="{DynamicResource {x:Static SystemParameters.ComboBoxPopupAnimationKey}}" | ||
|
@@ -383,8 +383,10 @@ | |
Value="Left" /> | ||
<Setter Property="VerticalContentAlignment" | ||
Value="Top" /> | ||
<Setter Property="RenderOptions.ClearTypeHint" | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
mahara
|
||
Value="Enabled" /> | ||
<Setter Property="Background" | ||
Value="{DynamicResource TransparentWhiteBrush}" /> | ||
Value="{DynamicResource WhiteBrush}" /> | ||
<Setter Property="BorderThickness" | ||
Value="1" /> | ||
<Setter Property="Template"> | ||
|
Should
RenderOptions.ClearTypeHint
be explicitly specified, or left it to inherit from its parent (e.g.: Window)?