Browse Source
Merge pull request #1388 from AvaloniaUI/fixes/1386-dropdown-datatemplate
Use ItemTemplate in DropDown's ContentControl
pull/1390/head
Jeremy Koritzinsky
9 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
src/Avalonia.Themes.Default/DropDown.xaml
|
|
|
@ -11,6 +11,7 @@ |
|
|
|
BorderThickness="{TemplateBinding BorderThickness}"> |
|
|
|
<Grid ColumnDefinitions="*,Auto"> |
|
|
|
<ContentControl Content="{TemplateBinding SelectionBoxItem}" |
|
|
|
ContentTemplate="{TemplateBinding ItemTemplate}" |
|
|
|
Margin="{TemplateBinding Padding}" |
|
|
|
HorizontalAlignment="Left" |
|
|
|
VerticalAlignment="Center"/> |
|
|
|
|