Skip to main content
A newer version of this page is available. .

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.v19.1.Core.dll

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