Skip to main content

BaseLeafPrimitive.BeginTransform() Method

Prevents the transformation of the BaseLeafPrimitive object from being performed until the EndTransform method is called.

Namespace: DevExpress.XtraGauges.Core.Primitive

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

NuGet Package: DevExpress.Gauges.Core

Declaration

public void BeginTransform()

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/or 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