EN
Данное содержимое не доступно на вашем языке, используйте версию на английском языке.

UIElement.InvalidateArrange Method

Invalidates the arrange state (layout) for the element. After the invalidation, the element will have its layout updated, which will occur asynchronously unless subsequently forced by UpdateLayout.

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

public void InvalidateArrange ()
public void InvalidateArrange ()
public function InvalidateArrange ()
You cannot use methods in XAML.

Frequent calls to InvalidateArrange or in particular to UpdateLayout have significant performance consequences. Therefore, avoid calling this method unless you absolutely require precise layout state for subsequent calls to other APIs in your code. An advanced scenario where you might call InvalidateArrange is if you are creating a PropertyChangedCallback for a dependency property that is not on a Freezable or FrameworkElement derived class that still influences the arrange pass of layout when it changes.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Добавления сообщества

Показ:
© 2014 Microsoft