Method GetAutoWidth
GetAutoWidth()
Gets the natural (auto-size) width of the view as calculated by Auto(DimAutoStyle, Dim?, Dim?).
public int GetAutoWidth()
Returns
Remarks
The returned width is the full auto-calculated width for the view, including adornment thickness. Unlike GetWidthRequiredForSubViews(), this value is not content-only. The calculation may also respect minimum and maximum content constraints applied by the auto dimension logic before adornments are added.