C# 클래스 WPF.JoshSmith.Panels.ConceptualPanel

This panel maintains a collection of conceptual children that are neither logical children nor visual children of the panel. This allows those visuals to be connected to other parts of the UI, if necessary, or even to remain disconnected.
상속: System.Windows.Controls.Panel
파일 보기 프로젝트 열기: Warewolf-ESB/Warewolf

보호된 메소드들

메소드 설명
ConceptualPanel ( ) : System

Initializes a new instance.

CreateUIElementCollection ( FrameworkElement logicalParent ) : System.Windows.Controls.UIElementCollection

Creates a disconnected UIElement collection.

GetVisualChild ( int index ) : Visual

Gets the visual child at the specified index.

OnChildAdded ( UIElement child ) : void

Subclasses override this to perform an action when a conceptual child is added to the panel.

OnChildRemoved ( UIElement child ) : void

Subclasses override this to perform an action when a conceptual child is removed from the panel.

OnVisualChildrenChanged ( DependencyObject visualAdded, DependencyObject visualRemoved ) : void

Invoked when the panel's children collection is modified.

비공개 메소드들

메소드 설명
OnChildrenCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void

For simplicity, this class will listen to change notifications on the DisconnectedUIElementCollection and provide them to descendants through the OnChildAdded and OnChildRemoved members.

OnLoaded ( object sender, RoutedEventArgs e ) : void

메소드 상세

ConceptualPanel() 보호된 메소드

Initializes a new instance.
protected ConceptualPanel ( ) : System
리턴 System

CreateUIElementCollection() 보호된 최종 메소드

Creates a disconnected UIElement collection.
protected final CreateUIElementCollection ( FrameworkElement logicalParent ) : System.Windows.Controls.UIElementCollection
logicalParent System.Windows.FrameworkElement
리턴 System.Windows.Controls.UIElementCollection

GetVisualChild() 보호된 메소드

Gets the visual child at the specified index.
protected GetVisualChild ( int index ) : Visual
index int
리턴 Visual

OnChildAdded() 보호된 메소드

Subclasses override this to perform an action when a conceptual child is added to the panel.
protected OnChildAdded ( UIElement child ) : void
child UIElement
리턴 void

OnChildRemoved() 보호된 메소드

Subclasses override this to perform an action when a conceptual child is removed from the panel.
protected OnChildRemoved ( UIElement child ) : void
child UIElement
리턴 void

OnVisualChildrenChanged() 보호된 메소드

Invoked when the panel's children collection is modified.
protected OnVisualChildrenChanged ( DependencyObject visualAdded, DependencyObject visualRemoved ) : void
visualAdded System.Windows.DependencyObject
visualRemoved System.Windows.DependencyObject
리턴 void