ITransformProvider.CanRotate プロパティ

定義

コントロールが回転可能かどうかを指定する値を取得します。

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

プロパティ値

要素を回転できる場合は true、それ以外の場合は false

次の例は、回転できないコントロールに対するこのメソッドの実装を示しています。

/// <summary>
/// Specifies whether rotating is supported.
/// </summary>
bool ITransformProvider.CanRotate
{
    get
    {
        return false;
    }
}
''' <summary>
''' Specifies whether rotating is supported.
''' </summary>
Private ReadOnly Property CanRotate() As Boolean Implements ITransformProvider.CanRotate
    Get
        Return False
    End Get
End Property

適用対象

こちらもご覧ください