I can easily assign a value to member in XAML :
But what if I want to bind a value to the member property As per the documentation , member is a CLR propertey and I can not use the binding as :
What the other way around? Custom control looks like a solution but telerik is already a custom control. Deriving from it and adding a dependency property seems redundant.
<
telerik:RadGridView.GroupDescriptors
>
<
telerikData:GroupDescriptor
Member
=
"FirstName"
/>
</
telerik:RadGridView.GroupDescriptors
>
But what if I want to bind a value to the member property As per the documentation , member is a CLR propertey and I can not use the binding as :
<
telerik:RadGridView.GroupDescriptors
>
<
telerikData:GroupDescriptor
Member
=
"{Binding FilterType}"
/>
</
telerik:RadGridView.GroupDescriptors
>.
private string filterType = "FirstName";
public string FilterType
{
get { return filterType; }
set { filterType = value; }
}
What the other way around? Custom control looks like a solution but telerik is already a custom control. Deriving from it and adding a dependency property seems redundant.