VisualElement.OnSizeAllocated(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 when the size of the element is set during a layout cycle. Implement this method to add class handling for this event.
protected:
virtual void OnSizeAllocated(double width, double height);
protected virtual void OnSizeAllocated (double width, double height);
abstract member OnSizeAllocated : double * double -> unit
override this.OnSizeAllocated : double * double -> unit
Protected Overridable Sub OnSizeAllocated (width As Double, height As Double)
Parameters
- width
- Double
The new width of the element.
- height
- Double
The new height of the element.
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.