共用方式為


ITransformProvider.CanResize 屬性

定義

取得值,指定是否可以調整消費者介面自動化專案的大小。

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

適用於

另請參閱