C# Class Dev2.CustomControls.Panels.LogicalPanel

This panel extends ConceptualPanel by ensuring that its conceptual children are also "logical" children. Because certain things like property inheritance and resource resolution work through the logical tree, this allows the disconnected visuals to be connected to the panel's ancestor tree in a logical manner without being part of it's visual tree.
Inheritance: WPF.JoshSmith.Panels.ConceptualPanel
显示文件 Open project: Warewolf-ESB/Warewolf

Protected Methods

Method Description
OnChildAdded ( UIElement child ) : void

Adds the child element to the logical tree.

OnChildRemoved ( UIElement child ) : void

Removes the child element from the logical tree.

OnLogicalChildrenChanged ( UIElement childAdded, UIElement childRemoved ) : void

This class uses the OnLogicalChildrenChanged method to provide notification to descendants when its logical children change. Note that this is intentionally similar to the OnVisualChildrenChanged approach supported by all visuals.

Method Details

OnChildAdded() protected final method

Adds the child element to the logical tree.
protected final OnChildAdded ( UIElement child ) : void
child System.Windows.UIElement
return void

OnChildRemoved() protected final method

Removes the child element from the logical tree.
protected final OnChildRemoved ( UIElement child ) : void
child System.Windows.UIElement
return void

OnLogicalChildrenChanged() protected method

This class uses the OnLogicalChildrenChanged method to provide notification to descendants when its logical children change. Note that this is intentionally similar to the OnVisualChildrenChanged approach supported by all visuals.
protected OnLogicalChildrenChanged ( UIElement childAdded, UIElement childRemoved ) : void
childAdded System.Windows.UIElement
childRemoved System.Windows.UIElement
return void