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

ContextItemCollectionOptions.AnimationType Property

Gets or sets the ContextItem animation type. The animation is displayed to show or hide context items.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v20.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.Utils.ContextAnimationType **Default**

A ContextAnimationType value that determines which animation is displayed to show or hide context items.

Property Paths

You can access this nested property as listed below:

Show 49 property paths
Object Type Path to AnimationType
AccordionControl
.ContextButtonsOptions .AnimationType
TileBar
.ContextButtonOptions .AnimationType
BaseCheckedListBoxControl
.ContextButtonOptions .AnimationType
BaseDateControl
.ContextButtonOptions .AnimationType
BaseImageListBoxControl
.ContextButtonOptions .AnimationType
BaseListBoxControl
.ContextButtonOptions .AnimationType
CameraControl
.ContextButtonOptions .AnimationType
CheckedListBoxControl
.ContextButtonOptions .AnimationType
CalendarControl
.ContextButtonOptions .AnimationType
CalendarControlBase
.ContextButtonOptions .AnimationType
ImageSlider
.ContextButtonOptions .AnimationType
DateControl
.ContextButtonOptions .AnimationType
ImageListBoxControl
.ContextButtonOptions .AnimationType
ListBoxControl
.ContextButtonOptions .AnimationType
RepositoryItemBaseSpinEdit
.ContextButtonOptions .AnimationType
RepositoryItemBlobBaseEdit
.ContextButtonOptions .AnimationType
RepositoryItemBreadCrumbEdit
.ContextButtonOptions .AnimationType
RepositoryItemCalcEdit
.ContextButtonOptions .AnimationType
RepositoryItemCheckedComboBoxEdit
.ContextButtonOptions .AnimationType
RepositoryItemColorEdit
.ContextButtonOptions .AnimationType
RepositoryItemColorPickEdit
.ContextButtonOptions .AnimationType
RepositoryItemComboBox
.ContextButtonOptions .AnimationType
RepositoryItemDateEdit
.ContextButtonOptions .AnimationType
RepositoryItemDateTimeOffsetEdit
.ContextButtonOptions .AnimationType
RepositoryItemFontEdit
.ContextButtonOptions .AnimationType
RepositoryItemGridLookUpEdit
.ContextButtonOptions .AnimationType
RepositoryItemGridLookUpEditBase
.ContextButtonOptions .AnimationType
RepositoryItemImageComboBox
.ContextButtonOptions .AnimationType
RepositoryItemImageEdit
.ContextButtonOptions .AnimationType
RepositoryItemLookUpEdit
.ContextButtonOptions .AnimationType
RepositoryItemLookUpEditBase
.ContextButtonOptions .AnimationType
RepositoryItemMemoExEdit
.ContextButtonOptions .AnimationType
RepositoryItemMRUEdit
.ContextButtonOptions .AnimationType
RepositoryItemPictureEdit
.ContextButtonOptions .AnimationType
RepositoryItemPopupBase
.ContextButtonOptions .AnimationType
RepositoryItemPopupBaseAutoSearchEdit
.ContextButtonOptions .AnimationType
RepositoryItemPopupContainerEdit
.ContextButtonOptions .AnimationType
RepositoryItemPopupGalleryEdit
.ContextButtonOptions .AnimationType
RepositoryItemSearchControl
.ContextButtonOptions .AnimationType
RepositoryItemSearchLookUpEdit
.ContextButtonOptions .AnimationType
RepositoryItemSpinEdit
.ContextButtonOptions .AnimationType
RepositoryItemTimeEdit
.ContextButtonOptions .AnimationType
RepositoryItemTimeSpanEdit
.ContextButtonOptions .AnimationType
RepositoryItemTreeListLookUpEdit
.ContextButtonOptions .AnimationType
SvgImageBox
.ContextButtonOptions .AnimationType
TileControl
.ContextButtonOptions .AnimationType
TileViewOptionsKanban
DateNavigator
.ContextButtonOptions .AnimationType
ResourcesCheckedListBoxControl
.ContextButtonOptions .AnimationType

Remarks

The following animation types are available:

  • Default

    View Animation

    DefaultAnimation

  • OpacityAnimation

    View Animation

    OpacityAnimation

  • OutAnimation

    View Animation

    OutAnimation

  • SequenceAnimation

    View Animation

    SequenceAnimation

  • None

    View Animation

    NoneAnimation

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.

PropertiesAnimationType

You can also adjust AnimationTime.

See Also