ContextItemCollectionOptions.NormalStateOpacity Property
Gets or sets ContextItem opacity.
Namespace: DevExpress.Utils
Assembly: DevExpress.Utils.v24.2.dll
Declaration
[DefaultValue(0.75F)]
[XtraSerializableProperty]
public float NormalStateOpacity { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Single | 0.75 | A value between 0 and 1 that determines opacity; 1 is for “opaque”, 0 is for “transparent”. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to NormalStateOpacity |
---|---|
CameraControl |
|
CalendarControlBase |
|
ImageSlider |
|
RepositoryItemPictureEdit |
|
SvgImageBox |
|
TileControl |
|
TileView |
|
Remarks
The code below demonstrates how to increase opacity for a RatingContextButton.
The image below demonstrates the result.
Alternatively, you can set the NormalStateOpacity value in a control’s Properties window.
See Also