Hi,
I'm trying to create a custom column that inherits from GridViewBoundColumnBase but I want to style it entirely in XAML.
I need to know how to do the binding between the column's DataMemberBinding and the editor.
Here is a simple example (the GridViewColumnTextBox is empty and inherit's GridViewBoundColumnBase):
So, is there any way to do the binding to DataMemberBinding ?
I'm trying to create a custom column that inherits from GridViewBoundColumnBase but I want to style it entirely in XAML.
I need to know how to do the binding between the column's DataMemberBinding and the editor.
Here is a simple example (the GridViewColumnTextBox is empty and inherit's GridViewBoundColumnBase):
<Style TargetType="{x:Type Controles:GridViewColumnTextBox}"> <Setter Property="CellEditTemplate"> <Setter.Value> <DataTemplate> <TextBox Text="BINDING?"/> </DataTemplate> </Setter.Value> </Setter> </Style>
So, is there any way to do the binding to DataMemberBinding ?