File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
demo/Semi.Avalonia.Demo/Pages
src/Semi.Avalonia/Controls Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 2727 <ComboBox Classes =" Small" />
2828 <ComboBox Classes =" Bordered" />
2929 <ComboBox Classes =" Bordered" IsEnabled =" False" />
30+ <ComboBox >
31+ <ComboBox .SelectionBoxItemTemplate>
32+ <DataTemplate DataType =" x:String" >
33+ <ContentControl BorderThickness =" 1"
34+ BorderBrush =" Gold"
35+ Content =" {Binding}" />
36+ </DataTemplate >
37+ </ComboBox .SelectionBoxItemTemplate>
38+ </ComboBox >
3039
3140 <StackPanel Orientation =" Horizontal" >
3241 <ComboBox Width =" 100" Classes =" Large" PlaceholderText =" Large" />
Original file line number Diff line number Diff line change 7676 HorizontalContentAlignment =" {TemplateBinding HorizontalContentAlignment}"
7777 VerticalContentAlignment =" {TemplateBinding VerticalContentAlignment}"
7878 Content =" {TemplateBinding SelectionBoxItem}"
79- ContentTemplate =" {TemplateBinding ItemTemplate }" />
79+ ContentTemplate =" {TemplateBinding SelectionBoxItemTemplate }" />
8080 <Button
8181 Name =" ClearButton"
8282 Grid.Column=" 1"
You can’t perform that action at this time.
0 commit comments