ContextItemCollectionOptions.AnimationType Property
In This Article
Gets or sets the ContextItem animation type. The animation is displayed to show or hide context items.
Namespace: DevExpress.Utils
Assembly: DevExpress.Utils.v24.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
#Declaration
[DefaultValue(ContextAnimationType.Default)]
[XtraSerializableProperty]
public ContextAnimationType AnimationType { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
DevExpress. |
Default | A Context |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Animation |
---|---|
Camera |
|
Calendar |
|
Image |
|
Repository |
|
Svg |
|
Tile |
|
Tile |
|
#Remarks
The following animation types are available:
Default
View AnimationOpacityAnimation
View AnimationOutAnimation
View AnimationSequenceAnimation
View AnimationNone
View Animation
The code below demonstrates how to set AnimationType to OpacityAnimation.
using DevExpress.Utils;
// ...
pictureEdit1.Properties.ContextButtonOptions.AnimationType = ContextAnimationType.OpacityAnimation;
Alternatively, you can adjust AnimationType in a control’s Properties window.
You can also adjust AnimationTime.
See Also