D
D
Dmitry Afonchenko2016-01-26 13:33:59
.NET
Dmitry Afonchenko, 2016-01-26 13:33:59

How to create an Attached Property for a standard control?

Good afternoon, comrades, the question arose, how to create a new property for system control, the source code of which is not available? That is, for example, as in the line below, it became possible to change the new NewProperty property of the DataGridTextColumn control:

<DataGridTextColumn NewProperty = "111"  Header="Main"/>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
tex0, 2016-01-26
@Indermove

Inherit from system control, add your own property.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question