Table of Contents

Method PushChildrenProperties

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

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.

public static void PushChildrenProperties(AbstractControl control, PropertyInfo? propInfo, object? newValue, ref ConcurrentStack<PropInstanceAndValue>? oldValues)

Parameters

control AbstractControl

The container control which childs are processed.

propInfo PropertyInfo

Property information.

newValue object

New value for the property.

oldValues ConcurrentStack<PropInstanceAndValue>

The stack to save old property values.

Remarks

You can use PopProperties(ConcurrentStack<PropInstanceAndValue>?) for restoring property values after saved them using this method.