Hi,
i have a RadDropDownList programmatically filled as
this are the images of the initial state and after the the popup opened.
i have searched the entire properties in the design options and can't figure what's is wrong.
what i am missing here ?
i have a RadDropDownList programmatically filled as
radDropDownListTempo.AutoSizeItems =
true
;
radDropDownListTempo.Items.Add(
new
RadListDataItem() { Text =
"Item 1"
, Tag =
"1"
, Selected =
true
, TextAlignment = ContentAlignment.MiddleCenter, Image = global::.....Resources.Clock32, ImageAlignment =ContentAlignment.MiddleLeft});
radDropDownListTempo.Items.Add(
new
RadListDataItem() { Text =
"Item 2"
, Tag =
"7"
, Selected =
false
, TextAlignment = ContentAlignment.MiddleCenter, Image = global::.....ResourcesClock32, ImageAlignment = ContentAlignment.MiddleLeft});
radDropDownListTempo.Items.Add(
new
RadListDataItem() { Text =
"Item 3"
, Tag =
"-1"
, Selected =
false
, TextAlignment = ContentAlignment.MiddleCenter, Image = global::.....Resources.Clock32, ImageAlignment =ContentAlignment.MiddleLeft});
radDropDownListTempo.Items.Add(
new
RadListDataItem() { Text =
"Item 4"
, Tag =
"-2"
, Selected =
false
, TextAlignment = ContentAlignment.MiddleCenter, Image = global::.....Resources.Clock32, ImageAlignment =ContentAlignment.MiddleLeft});
radDropDownListTempo.Items.Add(
new
RadListDataItem() { Text =
"Item 5"
, Tag =
"-3"
, Selected =
false
, TextAlignment = ContentAlignment.MiddleCenter, Image = global::....Resources.Clock32, ImageAlignment = ContentAlignment.MiddleLeft});
radDropDownListTempo.DropDownMinSize =
new
Size(0, (
this
.radDropDownListTempo.Items.Count * 32) + 2);
radDropDownListTempo.Enabled =
true
;
this are the images of the initial state and after the the popup opened.
i have searched the entire properties in the design options and can't figure what's is wrong.
what i am missing here ?