Table of Contents

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

caption string
expanded bool

Methods

And()

add extra context to this PmpGroup

public IPmpTabGroupFluent And()

Returns

IPmpTabGroupFluent

Color(SysColor)

background color of this group

public IPmpTabGroupFluent Color(SysColor sysColor)

Parameters

sysColor SysColor

Returns

IPmpTabGroupFluent

HasTheseControls(IEnumerable<IPmpControl>)

add these controls to the PmpGroup

public IPmpTabGroupFluent HasTheseControls(IEnumerable<IPmpControl> controls)

Parameters

controls IEnumerable<IPmpControl>

an IEnumerable<T> where T : IPmpControl

Returns

IPmpTabGroupFluent

HasTheseControls(Func<IEnumerable<IPmpControl>>)

add these controls to the PmpGroup

public IPmpTabGroupFluent HasTheseControls(Func<IEnumerable<IPmpControl>> controlMaker)

Parameters

controlMaker Func<IEnumerable<IPmpControl>>

function that returns an IEnumerable<T> where T : IPmpControl

Returns

IPmpTabGroupFluent

IsHidden(bool)

hides this group

public IPmpTabGroupFluent IsHidden(bool isHidden = true)

Parameters

isHidden bool

Returns

IPmpTabGroupFluent

OnExpansionChange(Action<PmpGroup, bool>)

event handler for when user expands the group

public IPmpTabGroupFluent OnExpansionChange(Action<PmpGroup, bool> doThis)

Parameters

doThis Action<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

IPmpTabGroupFluent

SaveGroup()

saves this group into the PmpTab

public IPmpTabFluent SaveGroup()

Returns

IPmpTabFluent

SetExpansion(bool)

determines if this PmpGroup is expanded or not

public IPmpTabGroupFluent SetExpansion(bool isExpanded = true)

Parameters

isExpanded bool

Returns

IPmpTabGroupFluent

That()

add extra context to this PmpGroup

public IPmpTabGroupFluent That()

Returns

IPmpTabGroupFluent