ITransformProvider.CanResize 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會取得一個值,指定 使用者介面自動化 元素是否可以調整大小。
public:
property bool CanResize { bool get(); };
public bool CanResize { get; }
member this.CanResize : bool
Public ReadOnly Property CanResize As 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