Struct PropInstanceAndValue
Contains object instance, property information and property value.
public readonly struct PropInstanceAndValue
Constructors
- PropInstanceAndValue(object?, PropertyInfo, object?)
Initializes a new instance of the PropInstanceAndValue struct with the specified information.
Fields
- PropInfo
The property information.
- Value
The property value.
Methods
- DisableAllFormsChildrenExcept(Window?)
Disables children controls for all windows in the application except the specified window.
- PopProperties(ConcurrentStack<PropInstanceAndValue>?)
Restores property values which were previously saved using PushProperties(IEnumerable, PropertyInfo?, object?, ref ConcurrentStack<PropInstanceAndValue>?).
- PopPropertiesMultiple(ConcurrentStack<SavedPropertiesItem>?, bool)
Restores property values which were previously saved using PushChildrenEnabledMultiple(IEnumerable<AbstractControl>, bool, bool) or similar methods.
- PushChildrenEnabled(AbstractControl, bool, ref ConcurrentStack<PropInstanceAndValue>?)
Iterates children controls and changes 'Enabled' property value for the each child. Old property values are pushed to the
oldValues
stack.
- PushChildrenEnabledMultiple(IEnumerable<AbstractControl>, bool, bool)
Iterates collection of the container controls and changes 'Enabled' property value of their childs. Old property values are returned.
- PushChildrenProperties(AbstractControl, PropertyInfo?, object?, ref ConcurrentStack<PropInstanceAndValue>?)
Iterates children controls and changes the specified property value for the each child. Old property values are pushed to the
oldValues
stack.
- PushChildrenVisible(AbstractControl, bool, ref ConcurrentStack<PropInstanceAndValue>?)
Iterates children controls and changes 'Visible' property value for the each child. Old property values are pushed to the
oldValues
stack.
- PushProperties(IEnumerable, PropertyInfo?, object?, ref ConcurrentStack<PropInstanceAndValue>?)
Iterates collection of the objects and changes the specified property value for the each item. Old property values are pushed to the
oldValues
stack.