# Selection Class

> The Drawing.Selection class represents all selected shapes.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 23.0
- **Namespace:** `TXTextControl.Drawing`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXDrawing.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDrawing.dll` from the setup
- **Implements:** `System.ComponentModel.INotifyPropertyChanged`
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.Drawing > Selection Class
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/selection/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/selection/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/selection/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/selection/#description)
- [Syntax](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/selection/#syntax)
- [Examples](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/selection/#examples)
- [Members](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/selection/#members)

---

## In This Section

- [Selection.BringForward Method](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/selection/bringforward-method/llms.txt): Increases the selected shapes' levels by one. The method has no effect if the CanBringForward property returns false.
- [Selection.BringToFront Method](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/selection/bringtofront-method/llms.txt): Displays the selected shape as the uppermost shape of all shapes. The method has no effect if the CanBringToFront property returns false.
- [Selection.CanBringForward Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/selection/canbringforward-property/llms.txt): Gets value that indicates whether the selected shapes' levels can be increased by one. The property returns false if no shape is selected or one of the selected shapes is already the uppermost shape. In all other cases the property returns true.
- [Selection.CanBringToFront Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/selection/canbringtofront-property/llms.txt): Gets value that indicates whether the selected shape can be displayed as the uppermost shape of all shapes. The property returns false if no or more than one shape are selected or one of the selected shape is already the uppermost shape. In all other cases the property returns true.
- [Selection.CanSendBackward Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/selection/cansendbackward-property/llms.txt): Gets value that indicates whether the selected shapes' levels can be decreased by one. The property returns false if no shape is selected or one of the selected shapes is already the lowest shape. In all other cases the property returns true.
- [Selection.CanSendToBack Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/selection/cansendtoback-property/llms.txt): Gets value that indicates whether the selected shape can be displayed as the lowest shape of all shapes. The property returns false if no or more than one shape are selected or one of the selected shape is already the lowest shape. In all other cases the property returns true.
- [Selection.IsCommonValueSelected Method](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/selection/iscommonvalueselected-method/llms.txt): Informs about whether an attribute from the Drawing.Selection.Attribute enumeration has the same value for the complete shapes selection.
- [Selection.SendBackward Method](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/selection/sendbackward-method/llms.txt): Decreases the selected shapes' levels by one. The method has no effect if the CanSendBackward property returns false.
- [Selection.SendToBack Method](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/selection/sendtoback-method/llms.txt): Displays the selected shape as the lowest shape of all shapes. The method has no effect if the CanSendToBack property returns false.
- [Selection.Shapes Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/selection/shapes-property/llms.txt): Gets or set the selected shapes .

---

## Nearby

- **Previous:** [Flip Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/flip/enumeration/llms.txt)
- **Next:** [Selection.Attribute Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-drawing/selection-attribute/enumeration/llms.txt)
