Class PmpTabGroupFluent
- Namespace
- Hymma.Solidworks.Addins.Fluent
- Assembly
- Hymma.Solidworks.Addins.Fluent.dll
a group for a tab for property manager pages
public class PmpTabGroupFluent : PmpGroup, IWrapSolidworksObject<IPropertyManagerPageGroup>, IReleaseSolidworksObject, IPmpTabGroupFluent, IPmpGroupFluentBase<IPmpTabGroupFluent>
- Inheritance
-
PmpTabGroupFluent
- Implements
-
IWrapSolidworksObject<IPropertyManagerPageGroup>
- Inherited Members
Constructors
PmpTabGroupFluent(string, bool)
a group inside a tab for a property manager page
public PmpTabGroupFluent(string caption, bool expanded = false)
Parameters
Methods
And()
add extra context to this PmpGroup
public IPmpTabGroupFluent And()
Returns
Color(SysColor)
background color of this group
public IPmpTabGroupFluent Color(SysColor sysColor)
Parameters
sysColorSysColor
Returns
HasTheseControls(IEnumerable<IPmpControl>)
add these controls to the PmpGroup
public IPmpTabGroupFluent HasTheseControls(IEnumerable<IPmpControl> controls)
Parameters
controlsIEnumerable<IPmpControl>an IEnumerable<T> where T : IPmpControl
Returns
HasTheseControls(Func<IEnumerable<IPmpControl>>)
add these controls to the PmpGroup
public IPmpTabGroupFluent HasTheseControls(Func<IEnumerable<IPmpControl>> controlMaker)
Parameters
controlMakerFunc<IEnumerable<IPmpControl>>function that returns an IEnumerable<T> where T : IPmpControl
Returns
IsHidden(bool)
hides this group
public IPmpTabGroupFluent IsHidden(bool isHidden = true)
Parameters
isHiddenbool
Returns
OnExpansionChange(Action<PmpGroup, bool>)
event handler for when user expands the group
public IPmpTabGroupFluent 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
SaveGroup()
saves this group into the PmpTab
public IPmpTabFluent SaveGroup()
Returns
SetExpansion(bool)
determines if this PmpGroup is expanded or not
public IPmpTabGroupFluent SetExpansion(bool isExpanded = true)
Parameters
isExpandedbool
Returns
That()
add extra context to this PmpGroup
public IPmpTabGroupFluent That()