Method DoActionOnProperties
DoActionOnProperties<T>(IEnumerable<IPropertyGridItem>, Action<IPropertyGridItem, T>, T, bool)
Executes specified action for all property items in props collection.
public virtual void DoActionOnProperties<T>(IEnumerable<IPropertyGridItem> props, Action<IPropertyGridItem, T> action, T prmValue, bool suspendUpdate = true)
Parameters
propsIEnumerable<IPropertyGridItem>Collection of the properties.
actionAction<IPropertyGridItem, T>Action to execute.
prmValueTValue of the first parameter.
suspendUpdateboolif
true, updates will be suspended.
Type Parameters
TType of the action parameter.
DoActionOnProperties<T1, T2>(IEnumerable<IPropertyGridItem>, Action<IPropertyGridItem, T1, T2>, T1, T2, bool)
Executes specified action for all property items in props collection.
public virtual void DoActionOnProperties<T1, T2>(IEnumerable<IPropertyGridItem> props, Action<IPropertyGridItem, T1, T2> action, T1 prmValue1, T2 prmValue2, bool suspendUpdate = true)
Parameters
propsIEnumerable<IPropertyGridItem>Collection of the properties.
actionAction<IPropertyGridItem, T1, T2>Action to execute.
prmValue1T1Value of the first parameter.
prmValue2T2Value of the second parameter.
suspendUpdateboolif
true, updates will be suspended.
Type Parameters
T1Type of the first action parameter.
T2Type of the second action parameter.