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.v20.1.dll


public static void SetSpreadsheet(
    DependencyObject element,
    SpreadsheetControl value
Public Shared Sub SetSpreadsheet(
    element As DependencyObject,
    value As SpreadsheetControl


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