Nov 15, 2010 at 4:33 PM


I think you should add DataGridTemplateColumn support.

Maybe an extension for DataGridTemplateColumn would be nice where you can set the Binding.

Nov 16, 2010 at 9:28 AM

this is at Feature list:


but now i do not now how to implement that, because i do not now how to get Parent from DataGridTemplateColumn or DataGridColumn.


i think mechanism must work like:

DataGridColumn attached property => * (here we have DataGridColumn, get his Parent => means get DataGrid) => * get ItemsSource and parse needed property.

* problem part of code

* implemented part

Nov 16, 2010 at 1:08 PM

you already know how to get metadata from a binding path.

Now, if there's another extension for each column like you did for the datagrid but now column oriented or better "object" oriented.  By doing that we can specify the path to get the field and its associated metadata.

I think this is a simple way to use metadata where you want...




<TextBox.metadataExtension get="path to the field" set="Text"/>


Nov 16, 2010 at 2:37 PM

not so easy as you think.
I did not just write about the parent class.

data are taken from ItemsSourсe parent, but in order to get to the parent class need to know how, I do not yet know how to do it.

See details above.

Nov 21, 2010 at 9:03 PM

so, i found simple solution, soon i upload changes.


Nov 22, 2010 at 9:26 PM

You can add the "displayname" as a parameter. By doing this you allow to put the description or any other attribute...

Nov 22, 2010 at 11:01 PM

yes, you right, thanks for idea.

i think about that.