C# 클래스 ComponentFactory.Quicksilver.Layout.MetaPanelBase

Base class of panel that has polymorphic layout/animate strategy.
상속: System.Windows.Controls.Panel
파일 보기 프로젝트 열기: ComponentFactory/Quicksilver 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AnimateIdProperty System.Windows.DependencyProperty
ClipToBoundsProperty System.Windows.DependencyProperty
DisableOnElementCountProperty System.Windows.DependencyProperty
IsAnimatingProperty System.Windows.DependencyProperty
LayoutIdProperty System.Windows.DependencyProperty

Private Properties

프로퍼티 타입 설명
AnimateChildren bool
ImplementClipToBounds void
MetaPanelBase System
MonitorExtendElement void
OnIsAnimatingChanged void
OnNeedMeasure void
OnRendering void
OnUIElementsAdded void
OnUIElementsRemove void
PlatformConstructor void
RemoveChildElement void
ResyncStateDictionary void
UnmonitorExtendElement void

공개 메소드들

메소드 설명
ClearChildren ( ) : void

Perform remove animation for all the child elements and then remove from children.

LogicalChildAdd ( object child ) : void

Adds the provided object to the logical tree of this element.

LogicalChildRemove ( object child ) : void

Removes the provided object from the logical tree of this element.

RemoveChild ( UIElement element ) : void

Perform remove animation for the child and then remove from the children.

보호된 메소드들

메소드 설명
ArrangeOverride ( Size finalSize ) : Size

Position child elements according to already provided size.

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

Create the collection used to hold child elements.

GetVisualChild ( int index ) : Visual

Return child at the specified index from a collection of child elements.

MeasureOverride ( Size availableSize ) : Size

Measure the layout size required to arrange all elements.

OnIsItemsHostChanged ( bool oldIsItemsHost, bool newIsItemsHost ) : void

Indicates that the IsItemsHost property value has changed.

OnNeedMeasureOnChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Invoked when a property change requires a measure to occur.

OnVisualChildrenChanged ( DependencyObject visualAdded, DependencyObject visualRemoved ) : void

Invoked when the VisualCollection of a visual object is modified.

비공개 메소드들

메소드 설명
AnimateChildren ( MetaElementStateDict stateDict, ICollection elements ) : bool
ImplementClipToBounds ( Size finalSize ) : void
MetaPanelBase ( ) : System
MonitorExtendElement ( object element ) : void
OnIsAnimatingChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnNeedMeasure ( object sender, EventArgs e ) : void
OnRendering ( object sender, EventArgs e ) : void
OnUIElementsAdded ( object sender, UIElementsEventArgs e ) : void
OnUIElementsRemove ( object sender, UIElementsEventArgs e ) : void
PlatformConstructor ( ) : void
RemoveChildElement ( UIElement element ) : void
ResyncStateDictionary ( ) : void
UnmonitorExtendElement ( object element ) : void

메소드 상세

ArrangeOverride() 보호된 메소드

Position child elements according to already provided size.
protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size Size that layout should use to arrange child elements.
리턴 System.Windows.Size

ClearChildren() 공개 메소드

Perform remove animation for all the child elements and then remove from children.
public ClearChildren ( ) : void
리턴 void

CreateUIElementCollection() 보호된 메소드

Create the collection used to hold child elements.
protected CreateUIElementCollection ( FrameworkElement logicalParent ) : System.Windows.Controls.UIElementCollection
logicalParent System.Windows.FrameworkElement The logical parent element of the collection to be created.
리턴 System.Windows.Controls.UIElementCollection

GetVisualChild() 보호된 메소드

Return child at the specified index from a collection of child elements.
protected GetVisualChild ( int index ) : Visual
index int Zero-based index of the requested child element.
리턴 Visual

LogicalChildAdd() 공개 메소드

Adds the provided object to the logical tree of this element.
public LogicalChildAdd ( object child ) : void
child object Child element to be added.
리턴 void

LogicalChildRemove() 공개 메소드

Removes the provided object from the logical tree of this element.
public LogicalChildRemove ( object child ) : void
child object Child element to be removed.
리턴 void

MeasureOverride() 보호된 메소드

Measure the layout size required to arrange all elements.
protected MeasureOverride ( Size availableSize ) : Size
availableSize System.Windows.Size Available size that can be given to elements.
리턴 System.Windows.Size

OnIsItemsHostChanged() 보호된 메소드

Indicates that the IsItemsHost property value has changed.
protected OnIsItemsHostChanged ( bool oldIsItemsHost, bool newIsItemsHost ) : void
oldIsItemsHost bool The old property value.
newIsItemsHost bool The new property value.
리턴 void

OnNeedMeasureOnChanged() 보호된 정적인 메소드

Invoked when a property change requires a measure to occur.
protected static OnNeedMeasureOnChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject Owning object.
e System.Windows.DependencyPropertyChangedEventArgs Details of property that has changed.
리턴 void

OnVisualChildrenChanged() 보호된 메소드

Invoked when the VisualCollection of a visual object is modified.
protected OnVisualChildrenChanged ( DependencyObject visualAdded, DependencyObject visualRemoved ) : void
visualAdded System.Windows.DependencyObject The Visual that was added to the collection.
visualRemoved System.Windows.DependencyObject The Visual that was removed from the collection.
리턴 void

RemoveChild() 공개 메소드

Perform remove animation for the child and then remove from the children.
public RemoveChild ( UIElement element ) : void
element UIElement Element to be removed.
리턴 void

프로퍼티 상세

AnimateIdProperty 공개적으로 정적으로 프로퍼티

Identifies the AnimateId dependency property.
public static DependencyProperty,System.Windows AnimateIdProperty
리턴 System.Windows.DependencyProperty

ClipToBoundsProperty 공개적으로 정적으로 프로퍼티

Identifies the ClipToBounds dependency property.
public static DependencyProperty,System.Windows ClipToBoundsProperty
리턴 System.Windows.DependencyProperty

DisableOnElementCountProperty 공개적으로 정적으로 프로퍼티

Identifies the DisableOnElementCount dependency property.
public static DependencyProperty,System.Windows DisableOnElementCountProperty
리턴 System.Windows.DependencyProperty

IsAnimatingProperty 공개적으로 정적으로 프로퍼티

Identifies the IsAnimatingProperty dependency property.
public static DependencyProperty,System.Windows IsAnimatingProperty
리턴 System.Windows.DependencyProperty

LayoutIdProperty 공개적으로 정적으로 프로퍼티

Identifies the LayoutId dependency property.
public static DependencyProperty,System.Windows LayoutIdProperty
리턴 System.Windows.DependencyProperty