Method GetInteriorSize
GetInteriorSize(InteriorSizeFlags)
Calculates the interior size of the control based on the specified flags.
public virtual SizeD GetInteriorSize(PopupWindow<T>.InteriorSizeFlags flags = InteriorSizeFlags.All)
Parameters
flagsPopupWindow<T>.InteriorSizeFlagsA combination of PopupWindow<T>.InteriorSizeFlags values that specify which components (e.g., padding, margin) should be included in the calculation. The default value is All, which includes all components.
Returns
- SizeD
A SizeD structure representing the total interior size based on the specified flags. Returns Empty if
flagsis set to 0.
Remarks
The method calculates the interior size by summing the sizes of the specified
components, such as padding and margin, for both the main control and its panel.
Use the flags parameter to customize which components are included
in the calculation.