0
我有一个从ContentControl派生的Silverlight控件。 我用它在下列方式Silverlight自定义控件在scrollviewer中的内容
<local:CustomControl>
<local:AnotherControl>
</local:CustomControl>
我想有一个ScrollViewer中的内容(即AnotherControl)。 在不更改上述XAML用法的情况下,如何在scrollviewer中获取内容?我需要在CustomControl的模板中进行哪些修改?
感谢