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

Base class that all layout implementations derive from.
상속: MeasureElement
파일 보기 프로젝트 열기: ComponentFactory/Quicksilver

공개 프로퍼티들

프로퍼티 타입 설명
IdProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
ArrangeChildren ( string layoutId, MetaPanelBase metaPanel, MetaElementStateDict stateDict, ICollection elements, Size finalSize ) : Size

Position child elements according to already calculated target state.

MeasureChildren ( string layoutId, MetaPanelBase metaPanel, MetaElementStateDict stateDict, ICollection elements, Size availableSize ) : Size

Measure the layout size required to arrange all elements.

TargetChildren ( string layoutId, MetaPanelBase metaPanel, MetaElementStateDict stateDict, ICollection elements, Size finalSize ) : void

Calculate target state for each element based on layout algorithm.

비공개 메소드들

메소드 설명
Layout ( ) : System

메소드 상세

ArrangeChildren() 공개 메소드

Position child elements according to already calculated target state.
public ArrangeChildren ( string layoutId, MetaPanelBase metaPanel, MetaElementStateDict stateDict, ICollection elements, Size finalSize ) : Size
layoutId string Identifier of the layout to be used.
metaPanel MetaPanelBase Reference to owning panel instance.
stateDict MetaElementStateDict Dictionary of per-element state.
elements ICollection Collection of elements to be arranged.
finalSize System.Windows.Size Size that layout should use to arrange child elements.
리턴 System.Windows.Size

MeasureChildren() 공개 추상적인 메소드

Measure the layout size required to arrange all elements.
public abstract MeasureChildren ( string layoutId, MetaPanelBase metaPanel, MetaElementStateDict stateDict, ICollection elements, Size availableSize ) : Size
layoutId string Identifier of the layout to be used.
metaPanel MetaPanelBase Reference to owning panel instance.
stateDict MetaElementStateDict Dictionary of per-element state.
elements ICollection Collection of elements to be measured.
availableSize System.Windows.Size Available size that can be given to elements.
리턴 System.Windows.Size

TargetChildren() 공개 추상적인 메소드

Calculate target state for each element based on layout algorithm.
public abstract TargetChildren ( string layoutId, MetaPanelBase metaPanel, MetaElementStateDict stateDict, ICollection elements, Size finalSize ) : void
layoutId string Identifier of the layout to be used.
metaPanel MetaPanelBase Reference to owning panel instance.
stateDict MetaElementStateDict Dictionary of per-element state.
elements ICollection Collection of elements to be arranged.
finalSize System.Windows.Size Size that layout should use to arrange child elements.
리턴 void

프로퍼티 상세

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

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