or
Color kdcol = ITA_CRM.Klassen.helper.HexColor("#FF008062");
// kdcol = "#FF008062"
this.KundenColorRCE.SelectedColor = kdcol;
this.KundenColorRCE.InitialColor = kdcol;
<
telerik:RadDocumentPane
x:Class
=
"RadControlsWpfApp1.RadControlsScenario1"
<br> xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"<
br
> xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"<
br
><
span
class
=
"Apple-tab-span"
style
=
"white-space:pre"
> </
span
>xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"<
br
> xmlns:d="http://schemas.microsoft.com/expression/blend/2008"<
br
> xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"<
br
> Header="RadControlsScenario1" mc:Ignorable="d" d:DesignHeight="288" d:DesignWidth="290"><
br
> <
Grid
><
br
> <
TextBlock
Text
=
"Blah blah blah"
/><
br
> </
Grid
><
br
></
telerik:RadDocumentPane
>
How does one grab the binding in order to force an update on a RadComboBox control?
MyRadComboBox.ItemsSource = MyObservableCollectionOfACustomClass;
MyRadComboBox.DisplayMemberPath = "Description";
Then, I try to grab the binding in a different control's event.
var binding = BindingOperations.GetBindingExpression(MyRadComboBox, RadComboBox.ItemsSourceProperty);
if (binding == null) return; // This is always null
binding.UpdateTarget();