Interface IPmpGroupFluentBase<T>
- Namespace
- Hymma.Solidworks.Addins.Fluent
- Assembly
- Hymma.Solidworks.Addins.Fluent.dll
an interface to add property manager page group to a IPmpUiModelFluent
public interface IPmpGroupFluentBase<T>
Type Parameters
T
Methods
And()
add extra context to this PmpGroup
T And()
Returns
- T
Color(SysColor)
background color of this group
T Color(SysColor sysColor)
Parameters
sysColorSysColor
Returns
- T
HasTheseControls(IEnumerable<IPmpControl>)
add these controls to the PmpGroup
T HasTheseControls(IEnumerable<IPmpControl> controls)
Parameters
controlsIEnumerable<IPmpControl>an IEnumerable<T> where T : IPmpControl
Returns
- T
HasTheseControls(Func<IEnumerable<IPmpControl>>)
add these controls to the PmpGroup
T HasTheseControls(Func<IEnumerable<IPmpControl>> controlMaker)
Parameters
controlMakerFunc<IEnumerable<IPmpControl>>function that returns an IEnumerable<T> where T : IPmpControl
Returns
- T
IsHidden(bool)
hides this group
T IsHidden(bool isHidden = true)
Parameters
isHiddenbool
Returns
- T
OnExpansionChange(Action<PmpGroup, bool>)
event handler for when user expands the group
T OnExpansionChange(Action<PmpGroup, bool> doThis)
Parameters
doThisAction<PmpGroup, bool>delegate that accepts a bool as the parameter and returns void. bool parameter will be assigned by solidworks and indicates the expansion state of the group.
Returns
- T
SetExpansion(bool)
determines if this PmpGroup is expanded or not
T SetExpansion(bool isExpanded = true)
Parameters
isExpandedbool
Returns
- T
That()
add extra context to this PmpGroup
T That()
Returns
- T