Skip to main content
All docs
V25.1
  • RepositoryItemTokenEdit.AdvancedModeOptions Property

    Gets Advanced Mode options.

    Namespace: DevExpress.XtraEditors.Repository

    Assembly: DevExpress.XtraEditors.v25.1.dll

    NuGet Package: DevExpress.Win.Navigation

    Declaration

    [DXCategory("Appearance")]
    public TokenEditAdvancedModeOptions AdvancedModeOptions { get; }

    Property Value

    Type Description
    DevExpress.XtraEditors.TokenEditAdvancedModeOptions

    Advanced Mode options.

    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