ControlIteratorPerformActionT(ControlControlCollection, Delegate, String) Method

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

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>(
	ControlControlCollection controlCollection,
	Delegate operation,
	string containsName = ""
)
where T : Control

Parameters

controlCollection  ControlControlCollection
The control collection 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