|
55 | 55 | </Border.Effect>
|
56 | 56 | </Border>
|
57 | 57 | <Border Margin="1"
|
58 |
| - CornerRadius="{Binding Path=CornerRadius, RelativeSource={RelativeSource AncestorType=wpf:ComboBoxPopup}}" |
59 |
| - Background="{Binding ElementName=PART_Popup, Path=Background}"> |
| 58 | + CornerRadius="{Binding Path=CornerRadius, RelativeSource={RelativeSource AncestorType=wpf:ComboBoxPopup}}" > |
60 | 59 | <Grid SnapsToDevicePixels="True">
|
61 | 60 | <Grid.RowDefinitions>
|
62 | 61 | <RowDefinition Height="Auto"/>
|
|
65 | 64 | <RowDefinition Height="Auto"/>
|
66 | 65 | <RowDefinition Height="Auto"/>
|
67 | 66 | </Grid.RowDefinitions>
|
68 |
| - <Border Grid.Row="0" Height="{StaticResource PopupTopBottomMargin}"/> |
| 67 | + <Border Grid.Row="0" Height="{StaticResource PopupTopBottomMargin}" Background="{Binding ElementName=PART_Popup, Path=Background}"/> |
69 | 68 | <ContentPresenter Grid.Row="1"/>
|
70 |
| - <Border Grid.Row="2" Height="{StaticResource PopupContentPresenterExtend}"/> |
| 69 | + <Border Grid.Row="2" Height="{StaticResource PopupContentPresenterExtend}" Background="{Binding ElementName=PART_Popup, Path=Background}"/> |
71 | 70 |
|
72 | 71 | <Grid Grid.Row="3">
|
73 | 72 | <Grid.ColumnDefinitions>
|
74 | 73 | <ColumnDefinition Width="Auto"/>
|
75 | 74 | <ColumnDefinition Width="Auto"/>
|
76 | 75 | <ColumnDefinition Width="*"/>
|
77 | 76 | </Grid.ColumnDefinitions>
|
78 |
| - <Border Grid.Column="0" Width="{StaticResource PopupLeftRightMargin}"/> |
| 77 | + <Border Grid.Column="0" Width="{StaticResource PopupLeftRightMargin}" Background="{Binding ElementName=PART_Popup, Path=Background}"/> |
79 | 78 | <Grid Grid.Column="1"
|
80 | 79 | Width="{Binding RelativeSource={RelativeSource AncestorType={x:Type wpf:ComboBoxPopup}}, Path=VisiblePlacementWidth}"
|
81 | 80 | Height="{Binding ElementName=templateRoot, Path=ActualHeight}"/>
|
82 |
| - <Border Grid.Column="2" MinWidth="{StaticResource PopupLeftRightMargin}"/> |
| 81 | + <Border Grid.Column="2" MinWidth="{StaticResource PopupLeftRightMargin}" Background="{Binding ElementName=PART_Popup, Path=Background}"/> |
83 | 82 | </Grid>
|
84 | 83 | <Border Grid.Row="4" Height="{StaticResource PopupTopBottomMargin}"/>
|
85 | 84 | </Grid>
|
|
102 | 101 | </Border.Effect>
|
103 | 102 | </Border>
|
104 | 103 | <Border Margin="1"
|
105 |
| - CornerRadius="{Binding Path=CornerRadius, RelativeSource={RelativeSource AncestorType=wpf:ComboBoxPopup}}" |
106 |
| - Background="{Binding ElementName=PART_Popup, Path=Background}"> |
| 104 | + CornerRadius="{Binding Path=CornerRadius, RelativeSource={RelativeSource AncestorType=wpf:ComboBoxPopup}}"> |
107 | 105 | <Grid SnapsToDevicePixels="True">
|
108 | 106 | <Grid.RowDefinitions>
|
109 | 107 | <RowDefinition Height="Auto"/>
|
|
113 | 111 | <RowDefinition Height="Auto"/>
|
114 | 112 | </Grid.RowDefinitions>
|
115 | 113 | <Border Grid.Row="0"
|
116 |
| - Height="{StaticResource PopupTopBottomMargin}"/> |
| 114 | + Height="{StaticResource PopupTopBottomMargin}" |
| 115 | + Background="{Binding ElementName=PART_Popup, Path=Background}"/> |
117 | 116 | <Grid Grid.Row="1">
|
118 | 117 | <Grid.ColumnDefinitions>
|
119 | 118 | <ColumnDefinition Width="Auto"/>
|
120 | 119 | <ColumnDefinition Width="Auto"/>
|
121 | 120 | <ColumnDefinition Width="*"/>
|
122 | 121 | </Grid.ColumnDefinitions>
|
123 |
| - <Border Grid.Column="0" |
| 122 | + <Border Grid.Column="0" |
| 123 | + Background="{Binding ElementName=PART_Popup, Path=Background}" |
124 | 124 | Width="{StaticResource PopupLeftRightMargin}"/>
|
125 | 125 | <Grid Grid.Column="1"
|
126 | 126 | Width="{Binding RelativeSource={RelativeSource AncestorType={x:Type wpf:ComboBoxPopup}}, Path=VisiblePlacementWidth}"
|
127 | 127 | Height="{Binding ElementName=templateRoot, Path=ActualHeight}"/>
|
128 | 128 | <Border Grid.Column="2"
|
| 129 | + Background="{Binding ElementName=PART_Popup, Path=Background}" |
129 | 130 | MinWidth="{StaticResource PopupLeftRightMargin}"/>
|
130 | 131 | </Grid>
|
131 | 132 |
|
132 | 133 | <Border Grid.Row="2"
|
| 134 | + Background="{Binding ElementName=PART_Popup, Path=Background}" |
133 | 135 | Height="{StaticResource PopupContentPresenterExtend}"/>
|
134 | 136 |
|
135 | 137 | <ContentPresenter Grid.Row="3"/>
|
136 | 138 |
|
137 | 139 | <Border Grid.Row="4"
|
| 140 | + Background="{Binding ElementName=PART_Popup, Path=Background}" |
138 | 141 | Height="{StaticResource PopupTopBottomMargin}" />
|
139 | 142 | </Grid>
|
140 | 143 | </Border>
|
|
164 | 167 | <RowDefinition Height="*"/>
|
165 | 168 | <RowDefinition Height="Auto"/>
|
166 | 169 | </Grid.RowDefinitions>
|
167 |
| - <Border Grid.Row="0" Height="{StaticResource PopupTopBottomMargin}"/> |
| 170 | + <Border Grid.Row="0" |
| 171 | + Height="{StaticResource PopupTopBottomMargin}" |
| 172 | + Background="{Binding ElementName=PART_Popup, Path=Background}" /> |
168 | 173 | <ContentPresenter Grid.Row="1"/>
|
169 |
| - <Border Grid.Row="2" Height="{StaticResource PopupTopBottomMargin}" /> |
| 174 | + <Border Grid.Row="2" |
| 175 | + Height="{StaticResource PopupTopBottomMargin}" |
| 176 | + Background="{Binding ElementName=PART_Popup, Path=Background}" /> |
170 | 177 | </Grid>
|
171 | 178 | </Border>
|
172 | 179 | </Grid>
|
|
0 commit comments