ITransformProvider.CanMove 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 moved.
public:
property bool CanMove { bool get(); };
public bool CanMove { get; }
member this.CanMove : bool
Public ReadOnly Property CanMove As Boolean
Property Value
true
if the element can be moved; otherwise false
.
Examples
The following example shows an implementation of this method for a control that can be moved.
/// <summary>
/// Specifies whether moving is supported.
/// </summary>
bool ITransformProvider.CanMove
{
get
{
return true;
}
}
''' <summary>
''' Specifies whether moving is supported.
''' </summary>
Private ReadOnly Property CanMove() As Boolean Implements ITransformProvider.CanMove
Get
Return True
End Get
End Property
Applies to
See also
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.