LayoutControlItem.ViewInfo Property

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

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.1.dll

Declaration

[Browsable(false)]
public LayoutControlItemViewInfo ViewInfo { get; }
<Browsable(False)>
Public ReadOnly Property ViewInfo As LayoutControlItemViewInfo

Property Value

Type Description
DevExpress.XtraLayout.ViewInfo.LayoutControlItemViewInfo

A DevExpress.XtraLayout.ViewInfo.LayoutControlItemViewInfo object.

Remarks

The ViewInfo object contains information on drawing the layout item. For instance, it allows retrieving 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