LayoutControlItem.ViewInfo Property
Gets the object which contains information used to render the layout item.
Namespace: DevExpress.XtraLayout
Assembly: DevExpress.XtraLayout.v22.2.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
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:
To return the bounds relative to the top left corner of the LayoutControl use the BoundsRelativeToControl, TextAreaRelativeToControl and ClientAreaRelativeToControl properties instead.