WinFormsCommandBindingsCollectionSupportCrossThreadStateUpdates Property

Gets or sets whether cross-thread state updates are supported. It is relevant when the command source is a Control or a ToolStripItem, and the command states (e.g. Enabled) may change from a different thread than the one the command binding was created on.
Default value: .

Definition

Namespace: KGySoft.ComponentModel
Assembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
C#
public bool SupportCrossThreadStateUpdates { get; set; }

Property Value

Boolean

Remarks

  Note

This property should be set before adding a binding to the collection. Already added bindings will not be affected by this property.

See Also