Hi,
I am using a radGridView with a RowDetailsTemplate.
This data template contains a UserControl whi has 2 DependencyProperties, whose values I Bind to the Grid ItemsSource
I am using a radGridView with a RowDetailsTemplate.
This data template contains a UserControl whi has 2 DependencyProperties, whose values I Bind to the Grid ItemsSource
<Controls1:HistoryDataList PathMapId="{Binding Id}" History="{Binding History}"/>
Problem:
The properties are never set.
if I use the same control inside on of the Grid's columns then it works fine, so it has nothing to do with the UserControl, but rather with the Bindning value not being called when inside teh RowDetailTemplate
Any Idea?
This is how I devlare my properties:
public static readonly DependencyProperty PathMapIdProperty = DependencyProperty.Register("PathMapId", typeof(Guid), typeof(HistoryDataList), null);
public Guid PathMapId
{
get{return (Guid)this.GetValue(PathMapIdProperty);}
set{this.SetValue(PathMapIdProperty, value);}
}