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

Arranges child elements in a flexible grid area that consists of columns and rows.
상속: Layout
파일 보기 프로젝트 열기: ComponentFactory/Quicksilver 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ColumnProperty System.Windows.DependencyProperty
ColumnSpanProperty System.Windows.DependencyProperty
RowProperty System.Windows.DependencyProperty
RowSpanProperty System.Windows.DependencyProperty

Private Properties

프로퍼티 타입 설명
BuildProxyColumns void
BuildProxyRows void
CalculateDesiredSize System.Windows.Size
CalculateOffsetsAndTotals void
CalculateOffsetsAndTotals void
GetColumn int
GetColumnSpan int
GetRow int
GetRowSpan int
MeasureElements void
OnAttachedPropertyChanged void
PreMeasure double
PreMeasure void
PreTarget void
PreTargetStarDefinitions void
TargetArrangeSize System.Windows.Rect
UpdateDefinitions void

공개 메소드들

메소드 설명
AddToLogicalTree ( ILogicalParent parent ) : void

Add this element into the logical tree.

GridLayout ( ) : System

Initialize a new instance of the GridLayout class.

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

Measure the layout size required to arrange all elements.

RemoveFromLogicalTree ( ILogicalParent parent ) : void

Add this element from the logial tree.

SetColumn ( UIElement element, int column ) : void

Sets the value of the Column attached property to a specified element.

SetColumnSpan ( UIElement element, int columnSpan ) : void

Sets the value of the ColumnSpan attached property to a specified element.

SetRow ( UIElement element, int row ) : void

Sets the value of the Row attached property to a specified element.

SetRowSpan ( UIElement element, int rowSpan ) : void

Sets the value of the RowSpan attached property to a specified element.

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

Calculate target state for each element based on layout algorithm.

비공개 메소드들

메소드 설명
BuildProxyColumns ( ) : void
BuildProxyRows ( ) : void
CalculateDesiredSize ( MetaElementStateDict stateDict, ICollection elements, Size availableSize ) : Size
CalculateOffsetsAndTotals ( ) : void
CalculateOffsetsAndTotals ( DefinitionProxy proxies ) : void
GetColumn ( UIElement element ) : int
GetColumnSpan ( UIElement element ) : int
GetRow ( UIElement element ) : int
GetRowSpan ( UIElement element ) : int
MeasureElements ( MetaElementStateDict stateDict, ICollection elements ) : void
OnAttachedPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
PreMeasure ( double size, DefinitionProxy proxies ) : double
PreMeasure ( Size availableSize ) : void
PreTarget ( Size availableSize ) : void
PreTargetStarDefinitions ( double size, DefinitionProxy proxies, double stars ) : void
TargetArrangeSize ( UIElement element ) : Rect
UpdateDefinitions ( MetaElementStateDict stateDict, ICollection elements, bool spanning ) : void

메소드 상세

AddToLogicalTree() 공개 메소드

Add this element into the logical tree.
public AddToLogicalTree ( ILogicalParent parent ) : void
parent ILogicalParent Interface of logical parent.
리턴 void

GridLayout() 공개 메소드

Initialize a new instance of the GridLayout class.
public GridLayout ( ) : System
리턴 System

MeasureChildren() 공개 메소드

Measure the layout size required to arrange all elements.
public 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

RemoveFromLogicalTree() 공개 메소드

Add this element from the logial tree.
public RemoveFromLogicalTree ( ILogicalParent parent ) : void
parent ILogicalParent Interface of logical parent.
리턴 void

SetColumn() 공개 정적인 메소드

Sets the value of the Column attached property to a specified element.
public static SetColumn ( UIElement element, int column ) : void
element UIElement The element to which the attached property is written.
column int The new column value.
리턴 void

SetColumnSpan() 공개 정적인 메소드

Sets the value of the ColumnSpan attached property to a specified element.
public static SetColumnSpan ( UIElement element, int columnSpan ) : void
element UIElement The element to which the attached property is written.
columnSpan int The new ColumnSpan value.
리턴 void

SetRow() 공개 정적인 메소드

Sets the value of the Row attached property to a specified element.
public static SetRow ( UIElement element, int row ) : void
element UIElement The element to which the attached property is written.
row int The new row value.
리턴 void

SetRowSpan() 공개 정적인 메소드

Sets the value of the RowSpan attached property to a specified element.
public static SetRowSpan ( UIElement element, int rowSpan ) : void
element UIElement The element to which the attached property is written.
rowSpan int The new RowSpan value.
리턴 void

TargetChildren() 공개 메소드

Calculate target state for each element based on layout algorithm.
public 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

프로퍼티 상세

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

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

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

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

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

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

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

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