ControlIteratorPerformActionT(Control, Delegate, String) Method

Perform an operation on all the Controls of the specified Type on the specified Control Container.

Definition

Namespace: DevCase.Core.Application.Forms
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static bool PerformAction<T>(
	Control controlContainer,
	Delegate operation,
	string containsName = ""
)
where T : Control

Parameters

controlContainer  Control
The control container where to find the ctrls.
operation  Delegate
The action to perform on the ctrl.
containsName  String  (Optional)
Indicates that only controls containing name should be collected.

Type Parameters

T
The type of control.

Return Value

Boolean
if the operation succeeds; otherwise, .

See Also