# GH_PanelAttributes class

Namespace: [Grasshopper.Kernel.Special](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.kernel.special.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_PanelAttributes : GH_ResizableAttributes<GH_Panel>
```

## Constructors

- [GH_PanelAttributes](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-panelattributes/ctor.md)

## Properties

- [ContentBounds](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-panelattributes/contentbounds.md): Gets the bounds of the panel content. The content is basically the PanelBounds minus the TitleBounds and margins.
- [IndexBounds](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-panelattributes/indexbounds.md): Gets the bounds of the panel index column. These bounds will have a width of zero if the indices are not displayed.
- [ItemBounds](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-panelattributes/itembounds.md): Gets the bounds of the panel item column.
- [MarginLeft](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-panelattributes/marginleft.md): Gets or sets the value for the left margin. Use MarginLeftActual to get the adjusted margin for the current layout.
- [MarginLeftActual](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-panelattributes/marginleftactual.md): Gets the actual current value for the left margin.
- [MarginRight](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-panelattributes/marginright.md): Gets or sets the value for the right margin. Use MarginRightActual to get the adjusted margin for the current layout.
- [MarginRightActual](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-panelattributes/marginrightactual.md): Gets the actual current value for the right margin.
- [MarginTop](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-panelattributes/margintop.md): Gets or sets the value for the top margin. Use MarginTopActual to get the adjusted margin for the current layout.
- [MarginTopActual](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-panelattributes/margintopactual.md): Gets the actual current value for the top margin.
- [MinimumSize](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-panelattributes/minimumsize.md)
- [PanelBounds](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-panelattributes/panelbounds.md): Gets the bounds (in integer accuracy) of the entire panel.
- [PathName](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-panelattributes/pathname.md)
- [ScrollerBounds](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-panelattributes/scrollerbounds.md): Gets the bounds of the panel scrollbar track. These bounds may have a width of zero if the scrollbar is not active.
- [ScrollGripBounds](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-panelattributes/scrollgripbounds.md): Gets the bounds of the panel scrollbar grip. These bounds may have be empty if the scrollbar is not active.
- [ScrollGripControlBounds](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-panelattributes/scrollgripcontrolbounds.md): Gets the bounds of the panel scrollbar grip in control coordinates rather than canvas coordinates.
- [SizingBorders](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-panelattributes/sizingborders.md)
- [TitleBounds](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-panelattributes/titlebounds.md): Gets the bounds of the panel title. If there is no title the height of this box will be 0.

## Methods

- [ExpireLayout](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-panelattributes/expirelayout.md)
- [GetContentAsString](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-panelattributes/getcontentasstring.md)
- [Layout](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-panelattributes/layout.md)
- [Read](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-panelattributes/read.md)
- [Render](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-panelattributes/render.md)
- [RespondToMouseDoubleClick](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-panelattributes/respondtomousedoubleclick.md)
- [RespondToMouseDown](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-panelattributes/respondtomousedown.md)
- [RespondToMouseMove](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-panelattributes/respondtomousemove.md)
- [RespondToMouseUp](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-panelattributes/respondtomouseup.md)
- [SetupTooltip](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-panelattributes/setuptooltip.md)
- [Write](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-panelattributes/write.md)

## Inherited Members

- From [GH_ResizableAttributes<T>](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.attributes.gh-resizableattributes-1.md): [MaximumSize](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.attributes.gh-resizableattributes-1/maximumsize.md)
- From [GH_Attributes<T>](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1.md): [AllowMessageBalloon](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/allowmessageballoon.md), [Bounds](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/bounds.md), [DocObject](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/docobject.md), [GetTopLevel](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/gettoplevel.md), [HasInputGrip](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/hasinputgrip.md), [HasOutputGrip](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/hasoutputgrip.md), [InputGrip](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/inputgrip.md), [InstanceGuid](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/instanceguid.md), [IsTopLevel](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/istoplevel.md), [OutputGrip](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/outputgrip.md), [Owner](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/owner.md), [Parent](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/parent.md), [Pivot](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/pivot.md), [Selected](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/selected.md), [TooltipEnabled](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/tooltipenabled.md), [AppendToAttributeTree](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/appendtoattributetree.md), [InvalidateCanvas](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/invalidatecanvas.md), [IsMenuRegion](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/ismenuregion.md), [IsPickRegion](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/ispickregion.md), [IsTooltipRegion](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/istooltipregion.md), [NewInstanceGuid](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/newinstanceguid.md), [PerformLayout](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/performlayout.md), [PrepareForRender](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/prepareforrender.md), [RenderIncomingWires](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/renderincomingwires.md), [RenderToCanvas](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/rendertocanvas.md), [RespondToKeyDown](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/respondtokeydown.md), [RespondToKeyUp](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/respondtokeyup.md)
