Skip to main content

BaseLeafPrimitive.CancelTransform() Method

Unlocks the object after the BeginTransform method has been called, without performing transformation.

Namespace: DevExpress.XtraGauges.Core.Primitive

Assembly: DevExpress.XtraGauges.v24.1.Core.dll

NuGet Package: DevExpress.Gauges.Core

Declaration

public void CancelTransform()

Remarks

The BeginTransform and EndTransform methods can be used to prevent excessive updates to the BaseLeafPrimitive object, when performing transformation via the BaseLeafPrimitive.Angle, BaseLeafPrimitive.Location and BaseLeafPrimitive.ScaleFactor properties. After the BeginTransform method has been called, the object is locked, and doesn’t reflect any changes made to the transformation settings.

Calling the EndTransform method performs the transformation and unlocks the object. Calling the CancelTransform method instead of the EndTransform method unlocks the object without performing the transformation.

See Also