Skip to main content

BaseControl.GetViewInfo() Method

Returns the object which contains the internal information used to render the control.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[EditorBrowsable(EditorBrowsableState.Never)]
public BaseControlViewInfo GetViewInfo()

Returns

Type Description
DevExpress.XtraEditors.ViewInfo.BaseControlViewInfo

A DevExpress.XtraEditors.ViewInfo.BaseControlViewInfo descendant which contains the internal information used to render the control.

Remarks

A ViewInfo object contains all the necessary information to draw the control. Use the GetViewInfo method to get this internal information.

In most cases there is no need to call this method.

The following code snippets (auto-collected from DevExpress Examples) contain references to the GetViewInfo() 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