ControlUpdateMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines when changes to a data source value get propagated to the corresponding data-bound control property.
public enum class ControlUpdateMode
public enum ControlUpdateMode
type ControlUpdateMode =
Public Enum ControlUpdateMode
- Inheritance
Fields
Never | 1 | The bound control is never updated when a data source value changes. The data source is write-only. |
OnPropertyChanged | 0 | The bound control is updated when the data source value changes, or the data source position changes. |
Remarks
The ControlUpdateMode is used by the ControlUpdateMode property of the Binding class. OnPropertyChanged is the default value. To force a control update when the update mode is Never, use the ReadValue method on the related Binding.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應