Skip to main content

LayoutControlItem.ViewInfo Property

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

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

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