Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

dxSpreadSheetMovingContainerAlpha Constant

Specifies the minimum transparency level applied to the floating container object during the move operation.

#Declaration

Delphi
const dxSpreadSheetMovingContainerAlpha: Integer = MAXBYTE;

#Returns

Type
Integer

#Remarks

The dxSpreadSheetMovingContainerAlpha, dxSpreadSheetMovingClonedContainerAlpha, dxSpreadSheetResizingContainerAlpha, and dxSpreadSheetRotationContainerAlpha global constants specify the maximum alpha values applied to the selected floating container during moving, cloning, resizing, and rotating operations, respectively. If the selected container object is more transparent than specified by the respective global constant, then the container retains its current transparency level during the respective operation. Otherwise, the constant-determined alpha value is applied. As soon as the operation is complete, the container’s old alpha value is restored.

The dxSpreadSheetMovingContainerAlpha global constant specifies the maximum alpha value applied to the floating container during simple drag-and-drop operations. By default, the dragged container always retains its current transparency, i.e., its maximum alpha value is 255 or MaxByte:

To make the dragged container transparent, modify the dxSpreadSheetMovingContainerAlpha global constant value and recompile your project:

See Also