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
captionstringtext that appears next to a group box
visibleboolif set to false group will be hidden by default
isCheckedboolif set to true group will appear checked by default
expandedboolif 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
captionstringtext that appears next to a group box
controlsList<IPmpControl>list of controls to add to this group
visibleboolif set to false group will be hidden by default
isCheckedboolif set to true group will appear checked by default
expandedboolif 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
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