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.SetSpreadsheet(DependencyObject, SpreadsheetControl) Method

In This Article

Sets the value of the SpreadsheetControl.Spreadsheet attached property for the specified object.

Namespace: DevExpress.Xpf.Spreadsheet

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

NuGet Package: DevExpress.Wpf.Spreadsheet

#Declaration

public static void SetSpreadsheet(
    DependencyObject element,
    SpreadsheetControl value
)

#Parameters

Name Type Description
element DependencyObject

An object for which the SpreadsheetControl.Spreadsheet attached property should be set.

value SpreadsheetControl

A SpreadsheetControl value that specifies the value to be assigned to the SpreadsheetControl.Spreadsheet property.

See Also