Skip to main content

BaseLeafPrimitive.EndTransform() Method

Unlocks the BaseLeafPrimitive object after the BeginUpdate method call and performs object transformation.

Namespace: DevExpress.XtraGauges.Core.Primitive

Assembly: DevExpress.XtraGauges.v23.2.Core.dll

NuGet Package: DevExpress.Gauges.Core

Declaration

public void EndTransform()

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