RepositoryItemTokenEdit.UseAdvancedMode Property
Gets or sets whether Advanced Mode is enabled. This mode supports new caret and selection animations.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v25.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Appearance")]
public DefaultBoolean UseAdvancedMode { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DefaultBoolean | Default |
|
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 TokenEdit
control supports the following Advanced Mode features:
- Caret Animation (
AllowCaretAnimation
) - Selection Animation (
AllowSelectionAnimation
) - Selection Color Customization (
SelectionColor
)
Use the TokenEdit.Properties.AdvancedModeOptions property to access Advanced Mode settings:
// Enable Advanced Mode
tokenEdit1.Properties.UseAdvancedMode = DefaultBoolean.True;
// Enable caret animation
tokenEdit1.Properties.AdvancedModeOptions.AllowCaretAnimation = DefaultBoolean.True;
// Animate selection
tokenEdit1.Properties.AdvancedModeOptions.AllowSelectionAnimation = DefaultBoolean.True;
// Set the selection color
tokenEdit1.Properties.AdvancedModeOptions.SelectionColor = Color.Yellow;
See Also