G
Guest
Is there any way to determine the bounds (or at least the width) of the image
margin region of a Windows.Forms.ToolStripDropDownMenu? I know that the
bounds are specified in
Windows.Forms.ToolStripProfessionalRenderer.OnRenderImageMargin via the
Windows.Forms.ToolStripRenderEventArgs.AffectedBounds property. But, there
are other times when the width of the image margin is required, such as when
drawing images or checks within the region (especially when ShowCheckMargin
and ShowImageMargin are both true) or when custom drawing separators.
Thanks for any help!
Lance
margin region of a Windows.Forms.ToolStripDropDownMenu? I know that the
bounds are specified in
Windows.Forms.ToolStripProfessionalRenderer.OnRenderImageMargin via the
Windows.Forms.ToolStripRenderEventArgs.AffectedBounds property. But, there
are other times when the width of the image margin is required, such as when
drawing images or checks within the region (especially when ShowCheckMargin
and ShowImageMargin are both true) or when custom drawing separators.
Thanks for any help!
Lance