# ShapesContextMenuStrip.SelectedShapesMenuItems Property

> Returns an array of System.Windows.Forms.ToolStripItem objects that represents those items which are displayed in the context menu strip when the control is right clicked inside a shape.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 23.0
- **Namespace:** `TXTextControl.Drawing`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXDrawing.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDrawing.Windows.Forms.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.Drawing > ShapesContextMenuStrip.SelectedShapesMenuItems Property
- **581 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shapescontextmenustrip/selectedshapesmenuitems-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shapescontextmenustrip/selectedshapesmenuitems-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shapescontextmenustrip/selectedshapesmenuitems-property/llms-full.txt

---

### Description

Returns an array of `System.Windows.Forms.ToolStripItem` objects that represents those items which are displayed in the [context menu strip](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shapescontextmenustrip/llms-full.txt) when the control is right clicked inside a [shape](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/llms-full.txt).

### Syntax

```csharp
public ToolStripItem[] SelectedShapesMenuItems { get; set; }
```

```vbnet
Public Property SelectedShapesMenuItems As ToolStripItem()
```

### Examples

The following example uses `ShapesContextMenuStrip.SelectedShapesMenuItems` to configure selected shapes menu items as part of the shapes context menu strip workflow. The change is then applied to the active document or user interface.

```csharp
shapesContextMenuStrip.SelectedShapesMenuItems = Array.Empty<System.Windows.Forms.ToolStripItem>();
shapesContextMenuStrip.Update();
```

```vbnet
shapesContextMenuStrip.SelectedShapesMenuItems = Array.Empty(Of System.Windows.Forms.ToolStripItem)()
shapesContextMenuStrip.Update()
```

### Default Values

Index 0: "Cut" ([TXTextControl.Drawing.MenuItem](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/menuitem/llms-full.txt))

Index 1: "Copy" (TXTextControl.Drawing.MenuItem)

Index 2: "Paste" (TXTextControl.Drawing.MenuItem)

Index 3: Separator (System.Windows.Forms.ToolStripSeparator)

Index 4: "Bring to Front" (TXTextControl.Drawing.MenuItem)

Index 5: "Send to Back" (TXTextControl.Drawing.MenuItem)

Index 6: "Flip" (TXTextControl.Drawing.MenuItem)

Index 7: Separator (System.Windows.Forms.ToolStripSeparator)

Index 8: "Movable" (TXTextControl.Drawing.MenuItem)

Index 9: "Sizable" (TXTextControl.Drawing.MenuItem)

Index 10: "Auto size" (TXTextControl.Drawing.MenuItem)

Index 11: "Fit to Canvas" (TXTextControl.Drawing.MenuItem)

Index 12: Separator (System.Windows.Forms.ToolStripSeparator)

Index 13: "Format..." (TXTextControl.Drawing.MenuItem)

---

## Nearby

- **Previous:** [ShapesContextMenuStrip Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shapescontextmenustrip/llms-full.txt)
- **Next:** [ShapesContextMenuStrip.StandardMenuItems Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shapescontextmenustrip/standardmenuitems-property/llms-full.txt)
