Windows Dev Center

EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

UIElement.UpdateLayout Method

Ensures that all positions of child objects of a UIElement are properly updated for layout.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

public void UpdateLayout()

Frequent calls to InvalidateArrange, or in particular to UpdateLayout, have significant performance consequences if large numbers of elements exist in the UI. Avoid calling this method unless you absolutely require precise layout state for subsequent calls to other APIs in your code.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Mostrar:
© 2015 Microsoft