共用方式為


ChildWindowAutomationPeer.ITransformProvider.Resize Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

For a description of this member, see ITransformProvider.Resize.

Namespace:  System.Windows.Automation.Peers
Assembly:  System.Windows.Controls (in System.Windows.Controls.dll)

Syntax

'Declaration
Private Sub Resize ( _
    width As Double, _
    height As Double _
) Implements ITransformProvider.Resize
void ITransformProvider.Resize(
    double width,
    double height
)

Parameters

  • width
    Type: System.Double
    The new width of the window, in pixels.
  • height
    Type: System.Double
    The new height of the window, in pixels.

Implements

ITransformProvider.Resize(Double, Double)

Remarks

This member is an explicit interface member implementation. It can be used only when the ChildWindowAutomationPeer instance is cast to an ITransformProvider interface.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.