How do I expose properties of the RadGridView?
I want to add features to a reusable version of the gridview that can be used in many places in my app in various ways, but allways exposing the additional features to provide a consistent look and feel. I wrapped a user control around a working version of the grid and went to replace the grid in the app with the wrapped grid.
The challenge at this time is I want to set the properties of the inner grid from xaml similarily to what I did when the gridview was directly embeddedm but I need to do so via the outer user control which is all the page knows about now.
Do I need to create a dependency property to allow the Xaml to access the properties of the Inner Grid via the wrappers grid property?
I want to turn:
into something like:
but I get that the attachable property is not found, and research on that seems to indicate I need to set up the RadGrid as an attachable property, which leads me to dependency properties, but I want to be sure I am headed in the right direction.