BarItem.ItemClickFireMode Property
Gets or sets when the Click events for the bar item fire, immediately or asynchronously, after all events in the system event queue are processed.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
[DefaultValue(BarItemEventFireMode.Default)]
[DXCategory("Behavior")]
public BarItemEventFireMode ItemClickFireMode { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Bar |
Default | A Bar |
Available values:
Name | Description |
---|---|
Default | This option is equivalent to the Bar |
Immediate | The Click events for a specific bar item fire immediately. |
Postponed | The Click events for a specific bar item are postponed. They fire after all events in the event queue have been processed. |
#Remarks
The ItemClickFireMode property controls when the Click events for the current bar item fire, immediately or postponed, after processing the current event queue.