Skip to main content

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.v24.2.dll

Declaration

void SetProperties(
    object[,
    ] properties
)

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} });
See Also