IBrick.SetProperties(Object[,]) Method
Sets property values for the class which implements the IBrick interface based on the specified properties array.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Data.v18.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
properties | Object[,] | A two-dimesional array that identifies property names and values to set. |
Remarks
A properties object represents an array of properties to set to the class which implements the IBrick interface. The first dimension identifies the property name, the second identifies the property value.
Example
The following code demonstrates how to use the IBrick.SetProperties method. It sets three properties (Image, Sides, BackColor) to the appropriate values.
brick.SetProperties(new object[,] { {"Image", imageList.Images[0]}, {"Sides", _
BorderSide.None}, {"BackColor", Color.Transparent} });
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SetProperties(Object[,]) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.