RepositoryItemTextEdit.AllowContextImageChangeAnimation Property
Gets or sets whether the context image is changed using animation. This property is not in effect for in-place editors.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
[Browsable(false)]
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Appearance")]
[EditorBrowsable(EditorBrowsableState.Never)]
public DefaultBoolean AllowContextImageChangeAnimation { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DefaultBoolean | Default | True if the context image is changed using animation; False if not; Default uses the WindowsFormsSettings.AnimationMode global setting. |
Available values:
Name | Description | Return Value |
---|---|---|
True | The value is true. |
|
False | The value is false. |
|
Default | The value is specified by a global option or a higher-level object. |
|
Remarks
The TextEdit control can display a custom image at its edge. You can set or change the image in code using the RepositoryItemTextEdit.ContextImage property. The image can be changed using fade animation. If the AllowContextImageChangeAnimation property is set to Default, the behavior is controlled by the WindowsFormsSettings.AnimationMode global setting. If the global setting is set to EnableAll, the image is changed using animation. Otherwise, the animation is disabled. Use the AllowContextImageChangeAnimation property to override the global setting for the current TextEdit control, and explicitly specify whether the context image changed using animation.
For in-place editors (in Grid Control or Bars), animation effects are always disabled, regardless of the animation settings.