Table of Contents

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

sysColor SysColor

Returns

T

HasTheseControls(IEnumerable<IPmpControl>)

add these controls to the PmpGroup

T HasTheseControls(IEnumerable<IPmpControl> controls)

Parameters

controls IEnumerable<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

controlMaker Func<IEnumerable<IPmpControl>>

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

Returns

T

IsHidden(bool)

hides this group

T IsHidden(bool isHidden = true)

Parameters

isHidden bool

Returns

T

OnExpansionChange(Action<PmpGroup, bool>)

event handler for when user expands the group

T 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

T

SetExpansion(bool)

determines if this PmpGroup is expanded or not

T SetExpansion(bool isExpanded = true)

Parameters

isExpanded bool

Returns

T

That()

add extra context to this PmpGroup

T That()

Returns

T