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


void SetProperties(
    ] properties
Sub SetProperties(
    properties As Object(,)


Name Type Description
properties Object[,]

A two-dimesional array that identifies property names and values to set.


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.


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