Class PmpBitmapButtonCheckable
- Namespace
- Hymma.Solidworks.Addins
- Assembly
- Hymma.Solidworks.Addins.dll
a checkable bitmap button
public class PmpBitmapButtonCheckable : PmpBitmapButton, IWrapSolidworksObject<PropertyManagerPageBitmapButton>, IReleaseSolidworksObject
- Inheritance
-
PmpControl<PropertyManagerPageBitmapButton>PmpButtonBase<PropertyManagerPageBitmapButton>PmpBitmapButtonCheckable
- Implements
-
IWrapSolidworksObject<PropertyManagerPageBitmapButton>
- Inherited Members
Constructors
PmpBitmapButtonCheckable(BitmapButtons, string)
define a checkable bitmap button using a standard bitmap icon
public PmpBitmapButtonCheckable(BitmapButtons standardBitmap, string tip)
Parameters
standardBitmapBitmapButtonstipstring
PmpBitmapButtonCheckable(Bitmap, string, BtnSize, byte)
define a checkable bitmap button using a custom bitmap icon
public PmpBitmapButtonCheckable(Bitmap bitmap, string tip, BtnSize iconSizes, byte opacity)
Parameters
bitmapBitmapbitmap to edit and set in the property manager page
tipstringiconSizesBtnSizepossible sizes for this checkable button
opacitybytedefine opacity of the bitmap on the button, less values result in more transparent pictures
Properties
Checked
gets or sets if this button is checked
public bool Checked { get; set; }