Skip to main content
All docs
V25.1
  • 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

    DefaultBoolean.True to enable Advanced Mode; otherwise, DefaultBoolean.Default or DefaultBoolean.False.

    Available values:

    Name Description Return Value
    True

    The value is true.

    0

    False

    The value is false.

    1

    Default

    The value is specified by a global option or a higher-level object.

    2

    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