共用方式為


LayoutSynchronizedContentControl Class

A ContentControl which will layout synchronously if the content is changed and the LayoutSynchronizer is active. This is used to ensure that critical codepaths which demand a measured and arranged element receive one when the content of the control changes.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'宣告
Public Class LayoutSynchronizedContentControl _
    Inherits ContentControl
'用途
Dim instance As LayoutSynchronizedContentControl
public class LayoutSynchronizedContentControl : ContentControl
public ref class LayoutSynchronizedContentControl : public ContentControl
type LayoutSynchronizedContentControl =  
    class
        inherit ContentControl
    end
public class LayoutSynchronizedContentControl extends ContentControl

Inheritance Hierarchy

System.Object
  System.Windows.Threading.DispatcherObject
    System.Windows.DependencyObject
      System.Windows.Media.Visual
        System.Windows.UIElement
          System.Windows.FrameworkElement
            System.Windows.Controls.Control
              System.Windows.Controls.ContentControl
                Microsoft.VisualStudio.PlatformUI.LayoutSynchronizedContentControl

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

LayoutSynchronizedContentControl Members

Microsoft.VisualStudio.PlatformUI Namespace