Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SpreadsheetControl.SelectedPicture Property

Gets or sets a picture selected in the active worksheet. This is a dependency property.

Namespace: DevExpress.Xpf.Spreadsheet

Assembly: DevExpress.Xpf.Spreadsheet.v24.2.dll

NuGet Package: DevExpress.Wpf.Spreadsheet

#Declaration

[Browsable(false)]
public Picture SelectedPicture { get; set; }

#Property Value

Type Description
Picture

A Picture object. If you assign a picture located in a worksheet that is not active, an exception is raised.

#Remarks

If multiple pictures are selected, you can get a list of selected pictures as Shape objects using the SpreadsheetControl.GetSelectedShapes method.

See Also