VisualElement.SizeAllocated(Double, Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Method that is called during a layout cycle to signal the start of a sub-tree layout.
protected:
void SizeAllocated(double width, double height);
protected void SizeAllocated (double width, double height);
member this.SizeAllocated : double * double -> unit
Protected Sub SizeAllocated (width As Double, height As Double)
Parameters
- width
- Double
The newly allocated width.
- height
- Double
The newly allocated height.
Remarks
Calling SizeAllocated(Double, Double) will start a new layout cycle on the children of the element. Excessive calls to this method may cause performance problems.
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.