Table of Contents

Class PmpGroupCheckable

Namespace
Hymma.Solidworks.Addins
Assembly
Hymma.Solidworks.Addins.dll

a checkable group in property manager page

public class PmpGroupCheckable : PmpGroup, IWrapSolidworksObject<IPropertyManagerPageGroup>, IReleaseSolidworksObject
Inheritance
PmpGroupCheckable
Implements
IWrapSolidworksObject<IPropertyManagerPageGroup>
Derived
Inherited Members

Constructors

PmpGroupCheckable(string, bool, bool, bool)

construct a property manage page group to host numerous IPmpControl

public PmpGroupCheckable(string caption, bool visible = true, bool isChecked = true, bool expanded = true)

Parameters

caption string

text that appears next to a group box

visible bool

if set to false group will be hidden by default

isChecked bool

if set to true group will appear checked by default

expanded bool

if set to true group will appear expanded by default

PmpGroupCheckable(string, List<IPmpControl>, bool, bool, bool)

construct a property manager page group to host numerous IPmpControl

public PmpGroupCheckable(string caption, List<IPmpControl> controls, bool visible = true, bool isChecked = true, bool expanded = true)

Parameters

caption string

text that appears next to a group box

controls List<IPmpControl>

list of controls to add to this group

visible bool

if set to false group will be hidden by default

isChecked bool

if set to true group will appear checked by default

expanded bool

if set to true group will appear expanded by default

Properties

IsChecked

Gets or sets if this property manager page group is checked

public bool IsChecked { get; set; }

Property Value

bool

Methods

UnsubscribeFromEvents()

unsubscribe from all events

public override void UnsubscribeFromEvents()

Events

Checked

method to invoke when user checks a group
this delegate requires a boolean variable to indicate the IsChecked status of the group

public event EventHandler<bool> Checked

Event Type

EventHandler<bool>