對 AdornerPanel 執行配置排列。
命名空間: Microsoft.Windows.Design.Interaction
組件: Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)
語法
'宣告
Public Overridable Function ArrangeChildren ( _
parent As FrameworkElement, _
internalChildren As UIElementCollection, _
finalSize As Size _
) As Size
public virtual Size ArrangeChildren(
FrameworkElement parent,
UIElementCollection internalChildren,
Size finalSize
)
public:
virtual Size ArrangeChildren(
FrameworkElement^ parent,
UIElementCollection^ internalChildren,
Size finalSize
)
abstract ArrangeChildren :
parent:FrameworkElement *
internalChildren:UIElementCollection *
finalSize:Size -> Size
override ArrangeChildren :
parent:FrameworkElement *
internalChildren:UIElementCollection *
finalSize:Size -> Size
public function ArrangeChildren(
parent : FrameworkElement,
internalChildren : UIElementCollection,
finalSize : Size
) : Size
參數
- parent
型別:System.Windows.FrameworkElement
父代 AdornerPanel。
- internalChildren
型別:System.Windows.Controls.UIElementCollection
父代中的 UIElementCollection。
- finalSize
型別:System.Windows.Size
parent 希望 AdornerPanel 採用的最終大小。
傳回值
型別:System.Windows.Size
配置排列後的 AdornerPanel 大小。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.Windows.Design.Interaction 命名空間
PrimarySelectionAdornerProvider