Skip to main content

SpreadsheetControl.SetSpreadsheet(DependencyObject, SpreadsheetControl) Method

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

Namespace: DevExpress.Xpf.Spreadsheet

Assembly: DevExpress.Xpf.Spreadsheet.v24.1.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