# GH_ComponentAttributes class

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

```cs
public class GH_ComponentAttributes : GH_Attributes<IGH_Component>
```

These Attributes are the default for GH_Components.

**Derived types:** [GH_ClusterAttributes](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-clusterattributes.md), [GH_ClusterAttributes_OBSOLETE](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-clusterattributes-obsolete.md), [GH_DataDamAttributes](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.components.gh-datadamattributes.md), [GH_ReadFileComponentAttributes](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.components.gh-readfilecomponentattributes.md)

## Constructors

- [GH_ComponentAttributes](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.attributes.gh-componentattributes/ctor.md)

## Fields

- [m_innerBounds](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.attributes.gh-componentattributes/m-innerbounds.md): Represents the Rectangle that contains the component black box.

## Properties

- [ContentBox](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.attributes.gh-componentattributes/contentbox.md): Gets the bounds of the component area of the attributes.
- [HasInputGrip](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.attributes.gh-componentattributes/hasinputgrip.md)
- [HasOutputGrip](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.attributes.gh-componentattributes/hasoutputgrip.md)
- [PathName](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.attributes.gh-componentattributes/pathname.md)

## Methods

- [AppendToAttributeTree](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.attributes.gh-componentattributes/appendtoattributetree.md)
- [ExpireLayout](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.attributes.gh-componentattributes/expirelayout.md)
- [InvalidateCanvas](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.attributes.gh-componentattributes/invalidatecanvas.md): The canvas must be invalidated when the mouse is near enough and this component has variable parameters.
- [IsPickRegion](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.attributes.gh-componentattributes/ispickregion.md)
- [Layout](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.attributes.gh-componentattributes/layout.md)
- [LayoutBounds](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.attributes.gh-componentattributes/layoutbounds.md): (static)
- [LayoutComponentBox](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.attributes.gh-componentattributes/layoutcomponentbox.md): (static) Utility layout method for GH_Component style UI.
- [LayoutInputParams](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.attributes.gh-componentattributes/layoutinputparams.md): (static)
- [LayoutOutputParams](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.attributes.gh-componentattributes/layoutoutputparams.md): (static)
- [Render](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.attributes.gh-componentattributes/render.md)
- [RenderComponentCapsule](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.attributes.gh-componentattributes/rendercomponentcapsule.md): (2 overloads) Utility function, draws the component capsule including all specified elements.
- [RenderComponentParameters](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.attributes.gh-componentattributes/rendercomponentparameters.md): (static) Utility method for rendering all component parameters.
- [RenderVariableParameterUI](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.attributes.gh-componentattributes/rendervariableparameterui.md)
- [RespondToMouseDown](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.attributes.gh-componentattributes/respondtomousedown.md)
- [SetupTooltip](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.attributes.gh-componentattributes/setuptooltip.md)

## Inherited Members

- 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), [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), [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), [Read](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/read.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), [RespondToMouseDoubleClick](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/respondtomousedoubleclick.md), [RespondToMouseMove](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/respondtomousemove.md), [RespondToMouseUp](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/respondtomouseup.md), [Write](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-attributes-1/write.md)
