DPB2Class · Interface and panels

StashElement

Reads stash element state and exposes the listed interface operations. Check visibility before using panel-specific values or actions.

Namespace: DreamPoeBot.Loki.Elements

public class StashElement
Reference: DPB2 0.4.5.103Compare the DPB1 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Use this API

Useful members available through base types — open a member to read its exact contract:

Members and overloads

22 declared here

Search includes inherited members below. 43 matching inherited members →

StashElement

MethodLink ↗
public StashElement.StashElement()

Creates a new StashElement instance.

GetStashInventoryByIndex

MethodLink ↗
public Inventory StashElement.GetStashInventoryByIndex(int index)

Calls GetStashInventoryByIndex on StashElement with index and returns Inventory. Open the return contract below before using the result.

Return type: Inventory
Explore Inventory → members & methods

Represents inventory in the current game state. Obtain the object from its owning API and refresh it after an area change.

Parameters

index
Parameter type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies index.

Returns: The Inventory result.

GetStashInventoryPanel

PropertyLink ↗
public Element StashElement.GetStashInventoryPanel { get; }

Reads get stash inventory panel on StashElement as Element. Open the value type below for its members and accepted values.

Value type: Element
Explore Element → members & methods

A game-interface element. Inspect text, visibility, geometry and child elements; follow the individual members for their signatures and result types. Prefer a named panel wrapper when one is available.

HideRemoveOnlyTabs

PropertyLink ↗
public bool StashElement.HideRemoveOnlyTabs { get; }

Reads hide remove only tabs on StashElement as bool. The exact type and accessors are shown below.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

IndexVisibleStash

PropertyLink ↗
public byte StashElement.IndexVisibleStash { get; }

Reads index visible stash on StashElement as byte. The exact type and accessors are shown below.

Value type: byteNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

IsRightTabsContainerElementVisible

PropertyLink ↗
public bool StashElement.IsRightTabsContainerElementVisible { get; }

Whether this stash element is right tabs container element visible.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

IsTabListButtonVisible

PropertyLink ↗
public bool StashElement.IsTabListButtonVisible { get; }

Whether this stash element is tab list button visible.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

MainControl

PropertyLink ↗
public Element StashElement.MainControl { get; }

Reads main control on StashElement as Element. Open the value type below for its members and accepted values.

Value type: Element
Explore Element → members & methods

A game-interface element. Inspect text, visibility, geometry and child elements; follow the individual members for their signatures and result types. Prefer a named panel wrapper when one is available.

RightButtonContainer

PropertyLink ↗
public List<Element> StashElement.RightButtonContainer { get; }

Gets the right button container collection. Its element types are linked below.

Value type: List<Element>
Explore Element → members & methods

A game-interface element. Inspect text, visibility, geometry and child elements; follow the individual members for their signatures and result types. Prefer a named panel wrapper when one is available.

RightTabsContainerElement

PropertyLink ↗
public Element StashElement.RightTabsContainerElement { get; }

Reads right tabs container element on StashElement as Element. Open the value type below for its members and accepted values.

Value type: Element
Explore Element → members & methods

A game-interface element. Inspect text, visibility, geometry and child elements; follow the individual members for their signatures and result types. Prefer a named panel wrapper when one is available.

RightTabsContainerHeight

PropertyLink ↗
public float StashElement.RightTabsContainerHeight { get; }

Reads right tabs container height on StashElement as float. The exact type and accessors are shown below.

Value type: floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

RightTabsContainerScrollDown

PropertyLink ↗
public Element StashElement.RightTabsContainerScrollDown { get; }

Reads right tabs container scroll down on StashElement as Element. Open the value type below for its members and accepted values.

Value type: Element
Explore Element → members & methods

A game-interface element. Inspect text, visibility, geometry and child elements; follow the individual members for their signatures and result types. Prefer a named panel wrapper when one is available.

RightTabsContainerScrollUp

PropertyLink ↗
public Element StashElement.RightTabsContainerScrollUp { get; }

Reads right tabs container scroll up on StashElement as Element. Open the value type below for its members and accepted values.

Value type: Element
Explore Element → members & methods

A game-interface element. Inspect text, visibility, geometry and child elements; follow the individual members for their signatures and result types. Prefer a named panel wrapper when one is available.

SearchCloseElement

PropertyLink ↗
public Element StashElement.SearchCloseElement { get; }

Reads search close element on StashElement as Element. Open the value type below for its members and accepted values.

Value type: Element
Explore Element → members & methods

A game-interface element. Inspect text, visibility, geometry and child elements; follow the individual members for their signatures and result types. Prefer a named panel wrapper when one is available.

SearchElement

PropertyLink ↗
public Element StashElement.SearchElement { get; }

Reads search element on StashElement as Element. Open the value type below for its members and accepted values.

Value type: Element
Explore Element → members & methods

A game-interface element. Inspect text, visibility, geometry and child elements; follow the individual members for their signatures and result types. Prefer a named panel wrapper when one is available.

SearchElementText

PropertyLink ↗
public string StashElement.SearchElementText { get; }

Reads search element text on StashElement as string. The exact type and accessors are shown below.

Value type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

StashInventoryPanel

PropertyLink ↗
public Element StashElement.StashInventoryPanel { get; }

Reads stash inventory panel on StashElement as Element. Open the value type below for its members and accepted values.

Value type: Element
Explore Element → members & methods

A game-interface element. Inspect text, visibility, geometry and child elements; follow the individual members for their signatures and result types. Prefer a named panel wrapper when one is available.

StashOptionsElement

PropertyLink ↗
public Element StashElement.StashOptionsElement { get; }

Reads stash options element on StashElement as Element. Open the value type below for its members and accepted values.

Value type: Element
Explore Element → members & methods

A game-interface element. Inspect text, visibility, geometry and child elements; follow the individual members for their signatures and result types. Prefer a named panel wrapper when one is available.

TabListButton

PropertyLink ↗
public Element StashElement.TabListButton { get; }

Reads tab list button on StashElement as Element. Open the value type below for its members and accepted values.

Value type: Element
Explore Element → members & methods

A game-interface element. Inspect text, visibility, geometry and child elements; follow the individual members for their signatures and result types. Prefer a named panel wrapper when one is available.

TotalStashes

PropertyLink ↗
public long StashElement.TotalStashes { get; }

Reads total stashes on StashElement as long. The exact type and accessors are shown below.

Value type: longNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

UpperTabsContainer

PropertyLink ↗
public List<Element> StashElement.UpperTabsContainer { get; }

Gets the upper tabs container collection. Its element types are linked below.

Value type: List<Element>
Explore Element → members & methods

A game-interface element. Inspect text, visibility, geometry and child elements; follow the individual members for their signatures and result types. Prefer a named panel wrapper when one is available.

Inherited members and contracts

43 public members from documented base types and interfaces. Links open the original declaration; overrides are shown only once. Search using the member field above.

public Vector2i Element.CenterClickLocation() Declared by Element

Calculates a randomized point within this element using its geometry. Despite the name, this method does not send a click. Check the current UI state before passing a coordinate to an input API; consult this overload's parameters for its sampling bounds.

public long Element.ChildCount { get; } Declared by Element

Reads child count on Element as long. The exact type and accessors are shown below.

public List<Element> Element.Children { get; } Declared by Element

Reads the child elements directly below this element. Each child is another Element with its own text, visibility and children. Use a text-search helper when you need to search descendants rather than only this level.

public int Element.ControlType { get; } Declared by Element

Reads control type on Element as int. The exact type and accessors are shown below.

public float Element.DeltaX { get; } Declared by Element

Reads delta x on Element as float. The exact type and accessors are shown below.

public float Element.DeltaY { get; } Declared by Element

Reads delta y on Element as float. The exact type and accessors are shown below.

public string Element.Dump() Declared by Element

Calls Dump on Element without arguments and returns string. Open the return contract below before using the result.

public float Element.ElementZoom { get; } Declared by Element

Reads element zoom on Element as float. The exact type and accessors are shown below.

public List<Element> Element.FindElementsWithTextInElementChildrens(string text, ref List<Element> refElementList) Declared by Element

Calls FindElementsWithTextInElementChildrens on Element with text, refElementList and returns List<Element>. Open the return contract below before using the result.

public Element Element.FindElementWithTooltipText(string text, bool ignoreVisibility = false) Declared by Element

Calls FindElementWithTooltipText on Element with text, ignoreVisibility and returns Element. Open the return contract below before using the result.

public Element Element.FindIdLabelInElementChildrens(string text) Declared by Element

Calls FindIdLabelInElementChildrens on Element with text and returns Element. Open the return contract below before using the result.

public Element Element.FindTextInElementChildrens(string text) Declared by Element

Searches this element and its descendants for the first whole-text match, ignoring letter case. Returns the matching Element, or null when no match is found. This reads the existing UI tree; it does not open a panel or click the result.

public Element Element.GetChildAtIndex(int index) Declared by Element

Reads one direct child by index. Use a nonnegative index below ChildCount and check the returned Element before accessing it. This is not a text search and does not traverse all descendants.

public Element Element.GetChildFromIndices(params int[] indices) Declared by Element

Follows a sequence of child indexes: each index selects a child of the previous result. Check the returned Element before use. Index paths describe the current UI layout and can stop matching after the interface changes.

public virtual RectangleF Element.GetClientRect() Declared by Element

Calculates this element's rectangle in game-client coordinates. This reads geometry only; it does not click the element or confirm that it is visible and ready for an action.

public Vector2 Element.GetParentPos() Declared by Element

Returns parent pos.

public GuiControlType Element.GuiControlType { get; } Declared by Element

Reads gui control type on Element as GuiControlType. Open the value type below for its members and accepted values.

public float Element.Height { get; } Declared by Element

Reads height on Element as float. The exact type and accessors are shown below.

public string Element.IdLabel { get; } Declared by Element

Reads id label on Element as string. The exact type and accessors are shown below.

public bool Element.IsEnable { get; } Declared by Element

Whether this element is enable.

public bool Element.IsInFOV(float pct) Declared by Element

Checks whether in fov using the supplied arguments.

public bool Element.IsItemTransparent { get; } Declared by Element

Whether this element is item transparent.

public override bool Element.IsValid { get; } Declared by Element

Whether this element is valid.

public bool Element.IsVisible { get; } Declared by Element

Checks this element's visibility together with its parent chain. Visibility alone does not prove that the control is enabled, ready for input or safe to click.

public bool Element.IsVisibleLocal { get; } Declared by Element

Reads only this element's local visibility flag. A hidden parent can still prevent it from being displayed; use IsVisible for the parent-chain check.

public Element Element.Parent { get; } Declared by Element

Reads parent on Element as Element. Open the value type below for its members and accepted values.

public Element Element.Root { get; } Declared by Element

Reads root on Element as Element. Open the value type below for its members and accepted values.

public float Element.Scale { get; } Declared by Element

Reads scale on Element as float. The exact type and accessors are shown below.

public void Element.SetZoom(float zoom) Declared by Element

Calls SetZoom on Element with zoom. This overload has no return value.

public string Element.Text { get; } Declared by Element

Reads this element's label text. Returns null for empty or whitespace-only text. This is not a concatenation of the text in its children; use the search helper or inspect Children when the label is nested.

DPB2 0.4.5.103 · Reference reviewed 2026-10-30. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.