Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LayoutControlItem.ViewInfo Property

Gets the object which contains information used to render the layout item.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
public LayoutControlItemViewInfo ViewInfo { get; }

#Property Value

Type Description
DevExpress.XtraLayout.ViewInfo.LayoutControlItemViewInfo

A DevExpress.XtraLayout.ViewInfo.LayoutControlItemViewInfo object.

#Remarks

The ViewInfo object contains render information for the layout item. For instance, it allows you to retrieve the coordinates of the item’s various regions. Use the Bounds, TextArea and ClientArea properties to return the layout item’s bounds, the bounds of the text area and client area respectively. The bounds returned by these properties are relative to the top left corner of the client area of the item’s parent group:

LayoutControlItem_ViewInfo_Bounds

To return the bounds relative to the top left corner of the LayoutControl use the BoundsRelativeToControl, TextAreaRelativeToControl and ClientAreaRelativeToControl properties instead.

See Also