Condividi tramite


ITransformProvider.CanResize Proprietà

Definizione

Ottiene un valore che specifica se l'elemento Automazione interfaccia utente può essere ridimensionato.

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

Valore della proprietà

Boolean

true se l'elemento può essere ridimensionato. In caso contrario, false.

Esempio

Nell'esempio seguente viene illustrata un'implementazione di questo metodo per un controllo che può essere ridimensionato.

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

Si applica a

Vedi anche