Dalamud/docs/api/Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.html
2022-04-03 04:09:45 +02:00

512 lines
28 KiB
HTML

<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Class ContextMenuOpenedArgs
</title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class ContextMenuOpenedArgs
">
<meta name="generator" content="docfx 2.59.1.0">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" href="../styles/docfx.vendor.css">
<link rel="stylesheet" href="../styles/docfx.css">
<link rel="stylesheet" href="../styles/main.css">
<meta property="docfx:navrel" content="">
<meta property="docfx:tocrel" content="toc.html">
</head>
<body data-spy="scroll" data-target="#affix" data-offset="120">
<div id="wrapper">
<header>
<nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">
<img id="logo" class="svg" src="../logo.svg" alt="">
</a>
</div>
<div class="collapse navbar-collapse" id="navbar">
<form class="navbar-form navbar-right" role="search" id="search">
<div class="form-group">
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
</div>
</form>
</div>
</div>
</nav>
<div class="subnav navbar navbar-default">
<div class="container hide-when-search" id="breadcrumb">
<ul class="breadcrumb">
<li></li>
</ul>
</div>
</div>
</header>
<div role="main" class="container body-content hide-when-search">
<div class="sidenav hide-when-search">
<a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
<div class="sidetoggle collapse" id="sidetoggle">
<div id="sidetoc"></div>
</div>
</div>
<div class="article row grid-right">
<div class="col-md-10">
<article class="content wrap" id="_content" data-uid="Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs">
<h1 id="Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs" data-uid="Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs" class="text-break">Class ContextMenuOpenedArgs
</h1>
<div class="markdown level0 summary"><p>Provides data for <a class="xref" href="Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedDelegate.html">ContextMenuOpenedDelegate</a> methods.</p>
</div>
<div class="markdown level0 conceptual"></div>
<div class="inheritance">
<h5>Inheritance</h5>
<div class="level0"><span class="xref">System.Object</span></div>
<div class="level1"><span class="xref">ContextMenuOpenedArgs</span></div>
</div>
<div class="inheritedMembers">
<h5>Inherited Members</h5>
<div>
<span class="xref">System.Object.Equals(System.Object)</span>
</div>
<div>
<span class="xref">System.Object.Equals(System.Object, System.Object)</span>
</div>
<div>
<span class="xref">System.Object.GetHashCode()</span>
</div>
<div>
<span class="xref">System.Object.GetType()</span>
</div>
<div>
<span class="xref">System.Object.MemberwiseClone()</span>
</div>
<div>
<span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
</div>
<div>
<span class="xref">System.Object.ToString()</span>
</div>
</div>
<h6><strong>Namespace</strong>: <a class="xref" href="Dalamud.Game.Gui.ContextMenus.html">Dalamud.Game.Gui.ContextMenus</a></h6>
<h6><strong>Assembly</strong>: Dalamud.dll</h6>
<h5 id="Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public sealed class ContextMenuOpenedArgs</code></pre>
</div>
<h3 id="constructors">Constructors
</h3>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/goatcorp/Dalamud/new/master/apiSpec/new?filename=Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs__ctor_FFXIVClientStructs_FFXIV_Client_UI_AddonContextMenu__FFXIVClientStructs_FFXIV_Client_UI_Agent_AgentContextInterface__System_String_System_Collections_Generic_IEnumerable_Dalamud_Game_Gui_ContextMenus_ContextMenuItem__.md&amp;value=---%0Auid%3A%20Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.%23ctor(FFXIVClientStructs.FFXIV.Client.UI.AddonContextMenu*%2CFFXIVClientStructs.FFXIV.Client.UI.Agent.AgentContextInterface*%2CSystem.String%2CSystem.Collections.Generic.IEnumerable%7BDalamud.Game.Gui.ContextMenus.ContextMenuItem%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/goatcorp/Dalamud/blob/master/Dalamud/Game/Gui/ContextMenus/ContextMenuOpenedArgs.cs/#L21">View Source</a>
</span>
<a id="Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs__ctor_" data-uid="Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.#ctor*"></a>
<h4 id="Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs__ctor_FFXIVClientStructs_FFXIV_Client_UI_AddonContextMenu__FFXIVClientStructs_FFXIV_Client_UI_Agent_AgentContextInterface__System_String_System_Collections_Generic_IEnumerable_Dalamud_Game_Gui_ContextMenus_ContextMenuItem__" data-uid="Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.#ctor(FFXIVClientStructs.FFXIV.Client.UI.AddonContextMenu*,FFXIVClientStructs.FFXIV.Client.UI.Agent.AgentContextInterface*,System.String,System.Collections.Generic.IEnumerable{Dalamud.Game.Gui.ContextMenus.ContextMenuItem})">ContextMenuOpenedArgs(AddonContextMenu*, AgentContextInterface*, String, IEnumerable&lt;ContextMenuItem&gt;)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.html">ContextMenuOpenedArgs</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public ContextMenuOpenedArgs(AddonContextMenu*addon, AgentContextInterface*agent, string parentAddonName, IEnumerable&lt;ContextMenuItem&gt; items)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="FFXIVClientStructs.FFXIV.Client.UI.AddonContextMenu.html">AddonContextMenu</a>*</td>
<td><span class="parametername">addon</span></td>
<td><p>The addon associated with the context menu.</p>
</td>
</tr>
<tr>
<td><a class="xref" href="FFXIVClientStructs.FFXIV.Client.UI.Agent.AgentContextInterface.html">AgentContextInterface</a>*</td>
<td><span class="parametername">agent</span></td>
<td><p>The agent associated with the context menu.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">parentAddonName</span></td>
<td><p>The the name of the parent addon associated with the context menu.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<a class="xref" href="Dalamud.Game.Gui.ContextMenus.ContextMenuItem.html">ContextMenuItem</a>&gt;</td>
<td><span class="parametername">items</span></td>
<td><p>The items in the context menu.</p>
</td>
</tr>
</tbody>
</table>
<h3 id="properties">Properties
</h3>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/goatcorp/Dalamud/new/master/apiSpec/new?filename=Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs_Addon.md&amp;value=---%0Auid%3A%20Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.Addon%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/goatcorp/Dalamud/blob/master/Dalamud/Game/Gui/ContextMenus/ContextMenuOpenedArgs.cs/#L32">View Source</a>
</span>
<a id="Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs_Addon_" data-uid="Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.Addon*"></a>
<h4 id="Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs_Addon" data-uid="Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.Addon">Addon</h4>
<div class="markdown level1 summary"><p>Gets the addon associated with the context menu.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public AddonContextMenu*Addon { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="FFXIVClientStructs.FFXIV.Client.UI.AddonContextMenu.html">AddonContextMenu</a>*</td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/goatcorp/Dalamud/new/master/apiSpec/new?filename=Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs_Agent.md&amp;value=---%0Auid%3A%20Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.Agent%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/goatcorp/Dalamud/blob/master/Dalamud/Game/Gui/ContextMenus/ContextMenuOpenedArgs.cs/#L37">View Source</a>
</span>
<a id="Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs_Agent_" data-uid="Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.Agent*"></a>
<h4 id="Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs_Agent" data-uid="Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.Agent">Agent</h4>
<div class="markdown level1 summary"><p>Gets the agent associated with the context menu.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public AgentContextInterface*Agent { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="FFXIVClientStructs.FFXIV.Client.UI.Agent.AgentContextInterface.html">AgentContextInterface</a>*</td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/goatcorp/Dalamud/new/master/apiSpec/new?filename=Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs_GameObjectContext.md&amp;value=---%0Auid%3A%20Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.GameObjectContext%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/goatcorp/Dalamud/blob/master/Dalamud/Game/Gui/ContextMenus/ContextMenuOpenedArgs.cs/#L57">View Source</a>
</span>
<a id="Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs_GameObjectContext_" data-uid="Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.GameObjectContext*"></a>
<h4 id="Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs_GameObjectContext" data-uid="Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.GameObjectContext">GameObjectContext</h4>
<div class="markdown level1 summary"><p>Gets the game object context associated with the context menu.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public GameObjectContext GameObjectContext { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Dalamud.Game.Gui.ContextMenus.GameObjectContext.html">GameObjectContext</a></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/goatcorp/Dalamud/new/master/apiSpec/new?filename=Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs_InventoryItemContext.md&amp;value=---%0Auid%3A%20Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.InventoryItemContext%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/goatcorp/Dalamud/blob/master/Dalamud/Game/Gui/ContextMenus/ContextMenuOpenedArgs.cs/#L62">View Source</a>
</span>
<a id="Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs_InventoryItemContext_" data-uid="Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.InventoryItemContext*"></a>
<h4 id="Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs_InventoryItemContext" data-uid="Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.InventoryItemContext">InventoryItemContext</h4>
<div class="markdown level1 summary"><p>Gets the item context associated with the context menu.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public InventoryItemContext InventoryItemContext { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Dalamud.Game.Gui.ContextMenus.InventoryItemContext.html">InventoryItemContext</a></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/goatcorp/Dalamud/new/master/apiSpec/new?filename=Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs_Items.md&amp;value=---%0Auid%3A%20Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.Items%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/goatcorp/Dalamud/blob/master/Dalamud/Game/Gui/ContextMenus/ContextMenuOpenedArgs.cs/#L52">View Source</a>
</span>
<a id="Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs_Items_" data-uid="Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.Items*"></a>
<h4 id="Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs_Items" data-uid="Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.Items">Items</h4>
<div class="markdown level1 summary"><p>Gets the items in the context menu.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public List&lt;ContextMenuItem&gt; Items { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Collections.Generic.List</span>&lt;<a class="xref" href="Dalamud.Game.Gui.ContextMenus.ContextMenuItem.html">ContextMenuItem</a>&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/goatcorp/Dalamud/new/master/apiSpec/new?filename=Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs_ParentAddonName.md&amp;value=---%0Auid%3A%20Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.ParentAddonName%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/goatcorp/Dalamud/blob/master/Dalamud/Game/Gui/ContextMenus/ContextMenuOpenedArgs.cs/#L42">View Source</a>
</span>
<a id="Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs_ParentAddonName_" data-uid="Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.ParentAddonName*"></a>
<h4 id="Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs_ParentAddonName" data-uid="Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.ParentAddonName">ParentAddonName</h4>
<div class="markdown level1 summary"><p>Gets the name of the parent addon associated with the context menu.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public string ParentAddonName { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/goatcorp/Dalamud/new/master/apiSpec/new?filename=Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs_Title.md&amp;value=---%0Auid%3A%20Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.Title%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/goatcorp/Dalamud/blob/master/Dalamud/Game/Gui/ContextMenus/ContextMenuOpenedArgs.cs/#L47">View Source</a>
</span>
<a id="Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs_Title_" data-uid="Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.Title*"></a>
<h4 id="Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs_Title" data-uid="Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.Title">Title</h4>
<div class="markdown level1 summary"><p>Gets the title of the context menu.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public string Title { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="methods">Methods
</h3>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/goatcorp/Dalamud/new/master/apiSpec/new?filename=Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs_AddCustomItem_Dalamud_Game_Text_SeStringHandling_SeString_Dalamud_Game_Gui_ContextMenus_CustomContextMenuItemSelectedDelegate_.md&amp;value=---%0Auid%3A%20Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.AddCustomItem(Dalamud.Game.Text.SeStringHandling.SeString%2CDalamud.Game.Gui.ContextMenus.CustomContextMenuItemSelectedDelegate)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/goatcorp/Dalamud/blob/master/Dalamud/Game/Gui/ContextMenus/ContextMenuOpenedArgs.cs/#L69">View Source</a>
</span>
<a id="Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs_AddCustomItem_" data-uid="Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.AddCustomItem*"></a>
<h4 id="Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs_AddCustomItem_Dalamud_Game_Text_SeStringHandling_SeString_Dalamud_Game_Gui_ContextMenus_CustomContextMenuItemSelectedDelegate_" data-uid="Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.AddCustomItem(Dalamud.Game.Text.SeStringHandling.SeString,Dalamud.Game.Gui.ContextMenus.CustomContextMenuItemSelectedDelegate)">AddCustomItem(SeString, CustomContextMenuItemSelectedDelegate)</h4>
<div class="markdown level1 summary"><p>Append a custom context menu item to this context menu.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void AddCustomItem(SeString name, CustomContextMenuItemSelectedDelegate selected)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Dalamud.Game.Text.SeStringHandling.SeString.html">SeString</a></td>
<td><span class="parametername">name</span></td>
<td><p>The name of the item.</p>
</td>
</tr>
<tr>
<td><a class="xref" href="Dalamud.Game.Gui.ContextMenus.CustomContextMenuItemSelectedDelegate.html">CustomContextMenuItemSelectedDelegate</a></td>
<td><span class="parametername">selected</span></td>
<td><p>The action to be executed once selected.</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/goatcorp/Dalamud/new/master/apiSpec/new?filename=Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs_AddCustomSubMenu_Dalamud_Game_Text_SeStringHandling_SeString_Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedDelegate_.md&amp;value=---%0Auid%3A%20Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.AddCustomSubMenu(Dalamud.Game.Text.SeStringHandling.SeString%2CDalamud.Game.Gui.ContextMenus.ContextMenuOpenedDelegate)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/goatcorp/Dalamud/blob/master/Dalamud/Game/Gui/ContextMenus/ContextMenuOpenedArgs.cs/#L78">View Source</a>
</span>
<a id="Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs_AddCustomSubMenu_" data-uid="Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.AddCustomSubMenu*"></a>
<h4 id="Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs_AddCustomSubMenu_Dalamud_Game_Text_SeStringHandling_SeString_Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedDelegate_" data-uid="Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs.AddCustomSubMenu(Dalamud.Game.Text.SeStringHandling.SeString,Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedDelegate)">AddCustomSubMenu(SeString, ContextMenuOpenedDelegate)</h4>
<div class="markdown level1 summary"><p>Append a custom submenu to this context menu.
Note that these cannot be nested, and will be ignored if they are.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void AddCustomSubMenu(SeString name, ContextMenuOpenedDelegate opened)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Dalamud.Game.Text.SeStringHandling.SeString.html">SeString</a></td>
<td><span class="parametername">name</span></td>
<td><p>The name of the submenu.</p>
</td>
</tr>
<tr>
<td><a class="xref" href="Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedDelegate.html">ContextMenuOpenedDelegate</a></td>
<td><span class="parametername">opened</span></td>
<td><p>The action to be executed once opened.</p>
</td>
</tr>
</tbody>
</table>
</article>
</div>
<div class="hidden-sm col-md-2" role="complementary">
<div class="sideaffix">
<div class="contribution">
<ul class="nav">
<li>
<a href="https://github.com/goatcorp/Dalamud/new/master/apiSpec/new?filename=Dalamud_Game_Gui_ContextMenus_ContextMenuOpenedArgs.md&amp;value=---%0Auid%3A%20Dalamud.Game.Gui.ContextMenus.ContextMenuOpenedArgs%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
</li>
<li>
<a href="https://github.com/goatcorp/Dalamud/blob/master/Dalamud/Game/Gui/ContextMenus/ContextMenuOpenedArgs.cs/#L12" class="contribution-link">View Source</a>
</li>
</ul>
</div>
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
<h5>In This Article</h5>
<div></div>
</nav>
</div>
</div>
</div>
</div>
<footer>
<div class="grad-bottom"></div>
<div class="footer">
<div class="container">
<span class="pull-right">
<a href="#top">Back to top</a>
</span>
<span>Generated by <strong>DocFX</strong></span>
</div>
</div>
</footer>
</div>
<script type="text/javascript" src="../styles/docfx.vendor.js"></script>
<script type="text/javascript" src="../styles/docfx.js"></script>
<script type="text/javascript" src="../styles/main.js"></script>
</body>
</html>