Share via


ITransformProvider.CanResize プロパティ

定義

UI オートメーション要素のサイズを変更できるかどうかを示す値を取得します。

public:
 property bool CanResize { bool get(); };
public bool CanResize { get; }
member this.CanResize : bool
Public ReadOnly Property CanResize As Boolean

プロパティ値

Boolean

要素のサイズを変更できる場合は true。変更できない場合は false

次の例は、サイズを変更できるコントロールに対するこのメソッドの実装を示しています。

/// <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

適用対象

こちらもご覧ください