Show / Hide Table of Contents

Method wpfBuilder.AlsoAll


Overload

Sets callback function to be called by AddX functions for each element added afterwards. Not called by StartX functions for panels.

public wpfBuilder AlsoAll(Action<wpfBuilder, WBAlsoAllArgs> action)
Parameters
action  (Action<wpfBuilder, WBAlsoAllArgs>)

Callback function or null.

Returns
wpfBuilder

Examples

b.AlsoAll((b, e) => {
	if(b.Last is CheckBox c) { c.IsChecked = true; b.Margin("t1 b1"); }
});