Movable Property
- Namespace
TXTextControl.Drawing
- Package
TXTextControl.asTextControl. WPF. SDK TXDrawing.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets a value which indicates whether the shape is movable or not. The default value is true.
Syntax
public bool Movable { get; set; }Public Property Movable As BooleanExamples
The following example uses Shape.Movable to configure movable as part of the shape workflow. The configured value is checked before the workflow continues.
shape.Movable = true;
if (shape.Movable)
{
Console.WriteLine("Shape: Movable is enabled.");
}shape.Movable = True
If shape.Movable Then
Console.WriteLine("Shape: Movable is enabled.")
End If