ITransformProvider.CanResize Property
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.
Gets a value that specifies whether the UI Automation element can be resized.
public:
property bool CanResize { bool get(); };
public bool CanResize { get; }
member this.CanResize : bool
Public ReadOnly Property CanResize As Boolean
Property Value
true
if the element can be resized; otherwise false
.
Examples
The following example shows an implementation of this method for a control that can be resized.
/// <summary>
/// Specifies whether resizing is supported.
/// </summary>
bool ITransformProvider.CanResize
{
get
{
return true;
}
}
''' <summary>
''' Specifies whether resizing is supported.
''' </summary>
Private ReadOnly Property CanResize() As Boolean Implements ITransformProvider.CanResize
Get
Return True
End Get
End Property
Applies to
See also
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.