Hi, I have 1 dropdown put at position right screen. It show outside
After that, how to setting an image click show dropdownbox. Thanks
var imgType = new Image
{
Source = "ic_settings_gray_24dp.png",
HeightRequest = 36,
WidthRequest = 36,
VerticalOptions = LayoutOptions.CenterAndExpand
};
var bsType = new DropDownButtonSettings
{
FontSize = 36,
Height = 36,
Width = 36,
View = imgType
};
var cbType = new SfComboBox
{
HorizontalOptions = LayoutOptions.EndAndExpand,
VerticalOptions = LayoutOptions.CenterAndExpand,
ShowBorder = false,
IsSelectedItemsVisibleInDropDown = false,
//SelectedIndex = 0,
WidthRequest = 36,
DropDownWidth = App.setting.DropdownWidthChart,
SuggestionBoxPlacement = SuggestionBoxPlacement.Bottom,
};
Attachment:
ReportErr_1d73f532.zip