Skip to main content
All docs
V25.2
  • HtmlContentControl.GetContentSize() Method

    Returns the rectangle that the control’s contents occupy.

    Namespace: DevExpress.XtraEditors

    Assembly: DevExpress.XtraEditors.v25.2.dll

    NuGet Package: DevExpress.Win.Navigation

    Declaration

    public Size GetContentSize()

    Returns

    Type Description
    Size

    The bounds of the control’s contents.

    The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetContentSize() method.

    Note

    The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

    See Also