Class Visual.PopupWidth
The custom width settings of one popup.
public record Visual.PopupWidth : IEquatable<Visual.PopupWidth>
- Inheritance
-
Visual.PopupWidth
- Implements
- Inherited Members
Constructors
PopupWidth(BasicPopupLegacy, float, float)
The custom width settings of one popup.
public PopupWidth(BasicPopupLegacy popup, float share, float maximum)
Parameters
popupBasicPopupLegacyThe popup that uses the custom width.
sharefloatThe share of the usable screen width, from 0 to 1. A value of 0 or less gives a fixed width.
maximumfloatThe maximum width in canvas units. With a fixed width, this is the width of the popup.
Properties
maximum
The maximum width in canvas units. With a fixed width, this is the width of the popup.
public float maximum { get; init; }
Property Value
popup
The popup that uses the custom width.
public BasicPopupLegacy popup { get; init; }
Property Value
- BasicPopupLegacy
share
The share of the usable screen width, from 0 to 1. A value of 0 or less gives a fixed width.
public float share { get; init; }