visual-tree
How do I add an element to the visual tree in Silverlight
Here is my specific problem: Xaml: <local:ShrinkableContentControl x:Name=\"m_ShrinkableContentControl\">[详细]
2023-01-16 22:16 分类:问答ListBoxItem.Parent returns nothing, unable to get it thru VisualTreeHelper.GetParent either
How do I extract the parent container of a ListBoxItem? In the following example I can go till the ListBoxItem, higher than that I get Nothing:[详细]
2022-12-26 13:33 分类:问答How do I check for when my control obtains or changes the visual parent?
开发者_C百科I want to hook my control\'s visual parent\'s events.You can override the OnVisualParentChanged() method to be notified when ever your visual parent changes.[详细]
2022-12-19 18:33 分类:问答WPF: Binding ContextMenu to visual parent
I know ContextMenus aren\'t part of the visual tree, but I\'ve been trying to bind the Visibility property of a ContextMenu t开发者_如何学运维o a property on its parent UserControl. So far I\'ve tried[详细]
2022-12-16 07:53 分类:问答