Struct BindingOptions
- Namespace
- Dynamic
Data .Binding
- Assembly
- DynamicData.dll
System wide default values for binding operators.
- Implements
- Extension Methods
Constructors
BindingOptions(int, bool, bool)
System wide default values for binding operators.
public BindingOptions(int ResetThreshold, bool UseReplaceForUpdates = true, bool ResetOnFirstTimeLoad = true)
Parameters
ResetThreshold
intThe reset threshold ie the number of changes before a reset is fired.
UseReplaceForUpdates
boolWhen possible, should replace be used instead of remove and add.
ResetOnFirstTimeLoad
boolShould a reset be fired for a first time load.This option is due to historic reasons where a reset would be fired for the first time load regardless of the number of changes.
Fields
DefaultResetOnFirstTimeLoad
The system wide factory settings default ResetOnFirstTimeLoad value.
Field Value
DefaultResetThreshold
The system wide factory settings default ResetThreshold.
Field Value
DefaultUseReplaceForUpdates
The system wide factory settings default UseReplaceForUpdates value.
Field Value
Properties
ResetOnFirstTimeLoad
Should a reset be fired for a first time load.This option is due to historic reasons where a reset would be fired for the first time load regardless of the number of changes.
Property Value
ResetThreshold
The reset threshold ie the number of changes before a reset is fired.
Property Value
UseReplaceForUpdates
When possible, should replace be used instead of remove and add.
Property Value
Methods
Deconstruct(out int, out bool, out bool)
public readonly void Deconstruct(out int ResetThreshold, out bool UseReplaceForUpdates, out bool ResetOnFirstTimeLoad)
Parameters
Equals(BindingOptions)
Parameters
other
BindingOptions
Returns
Equals(object)
Parameters
obj
object
Returns
GetHashCode()
Returns
NeverFireReset(bool)
Creates binding options to never fire a reset event.
Parameters
useReplaceForUpdates
boolWhen possible, should replace be used instead of remove and add.
Returns
- Binding
Options The binding options.
ToString()
Returns
Operators
operator ==(BindingOptions, BindingOptions)
Parameters
left
BindingOptions right
BindingOptions
Returns
operator !=(BindingOptions, BindingOptions)
Parameters
left
BindingOptions right
BindingOptions