Hi,
i am working with RadDiagram and customizing the Style Tab of setting Pane using this code :-
But using this code, when change the selection of Border combo box, drop down is open , and select item then drop down does not colse
and selected item is not show in combo box.
Please suggest me something.
Thanks in advanced.
i am working with RadDiagram and customizing the Style Tab of setting Pane using this code :-
<
telerik:RadComboBox
telerik:SettingsPaneView.EditorItemType
=
"Shapes, Connections"
telerik:SettingsPaneView.EditorPropertyName
=
"StrokeDashArray"
telerik:SettingsPaneView.EditorValue="{Binding SelectedItem,
Mode
=
TwoWay
,
RelativeSource={RelativeSource Self}}">
<
telerik:RadComboBox.ItemTemplate
>
<
DataTemplate
>
<
Grid
Width
=
"140"
Height
=
"20"
>
<
Path
Margin
=
"5"
VerticalAlignment
=
"Center"
Data
=
"M0,0L215,0"
Fill="{Binding Foreground,
RelativeSource={RelativeSource FindAncestor,
AncestorLevel
=
1
,
AncestorType
=
ContentControl
}}"
Stroke="{Binding Foreground,
RelativeSource={RelativeSource FindAncestor,
AncestorLevel
=
1
,
AncestorType
=
ContentControl
}}"
StrokeDashArray
=
"{Binding}"
/>
</
Grid
>
</
DataTemplate
>
</
telerik:RadComboBox.ItemTemplate
>
<
telerik:RadComboBox.SelectionBoxTemplate
>
<
DataTemplate
>
<
Grid
Width
=
"140"
Height
=
"20"
>
<
Path
Margin
=
"5"
VerticalAlignment
=
"Center"
Data
=
"M0,0L215,0"
Fill="{Binding Foreground,
RelativeSource={RelativeSource FindAncestor,
AncestorLevel
=
1
,
AncestorType
=
ContentControl
}}"
Stroke="{Binding Foreground,
RelativeSource={RelativeSource FindAncestor,
AncestorLevel
=
1
,
AncestorType
=
ContentControl
}}"
StrokeDashArray
=
"{Binding}"
/>
</
Grid
>
</
DataTemplate
>
</
telerik:RadComboBox.SelectionBoxTemplate
>
But using this code, when change the selection of Border combo box, drop down is open , and select item then drop down does not colse
and selected item is not show in combo box.
Please suggest me something.
Thanks in advanced.