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

IButtonProperties.EndUpdate() Method

Unlocks an IButton causing immediate visual update of the object and all its elements.

Namespace: DevExpress.XtraEditors.ButtonPanel

Assembly: DevExpress.Utils.v19.2.dll

Declaration

void EndUpdate()

Remarks

The IButtonProperties.BeginUpdate and EndUpdate methods allow you to avoid flickering while performing batch modifications to the IButton‘s settings. Once the IButtonProperties.BeginUpdate method has been called, modifying settings of the IButton and its elements does not cause an immediate visual update. So, multiple modifications can be made to the object and its elements without a major impact on performance or screen flickering. After all the desired operations have been finished, call the EndUpdate method. To unlock an IButton without immediate visual update use the IButtonProperties.CancelUpdate method.

See Also