Table of Contents

Class PmpListboxDisplayingEventArgs

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

on display event arguments for PmpListBox

public class PmpListboxDisplayingEventArgs : EventArgs
Inheritance
PmpListboxDisplayingEventArgs
Inherited Members

Constructors

PmpListboxDisplayingEventArgs(PmpListBox, short)

default constructor

public PmpListboxDisplayingEventArgs(PmpListBox listBox, short height)

Parameters

listBox PmpListBox

the controller that has fired the event

height short

height of the control in dialogue units

Properties

Height

gets and sets the attached drop down list in this list box

public short Height { get; set; }

Property Value

short

0 Default height with no scrolling
1 < 30 Specified height and no scrolling

30 Specified height and scrolling, but no auto sizing

Remarks

The height is in dialog-box units. You can convert these values to screen units (pixels) by using the Windows MapDialogRect function.
You can only use this method to set properties on the PropertyManager page before it is displayed or while it is closed