ITransformProvider.CanRotate Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that specifies whether the control can be rotated.
public:
property bool CanRotate { bool get(); };
public bool CanRotate { get; }
member this.CanRotate : bool
Public ReadOnly Property CanRotate As Boolean
Property Value
true
if the element can be rotated; otherwise false
.
Examples
The following example shows an implementation of this method for a control that cannot be rotated.
/// <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
Applies to
See also
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.