RibbonMiniToolbarOpacityOptions(Int32, Int32, Int32) Constructor

Initializes a new RibbonMiniToolbarOpacityOptions class instance with the specified opacity and transparency distances.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v21.2.dll

Declaration

public RibbonMiniToolbarOpacityOptions(
    int opacityDistance,
    int transparencyDistance,
    int transparencyDistanceWhenBarHovered
)

Parameters

Name Type Description
opacityDistance Int32

An integer value that specifies an opacity distance. The parameter initializes the RibbonMiniToolbarOpacityOptions.OpacityDistance property.

transparencyDistance Int32

An integer value that specifies a transparency distance. The parameter initializes the RibbonMiniToolbarOpacityOptions.TransparencyDistance property.

transparencyDistanceWhenBarHovered Int32

An integer value that specifies a transparency distance after a bar has been hovered. The parameter initializes the RibbonMiniToolbarOpacityOptions.TransparencyDistanceWhenBarHovered property.

Remarks

The constructor also sets the RibbonMiniToolbarOpacityOptions.AllowTransparency property to true.

See Also