The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

AppearanceAttribute(String, AppearanceItemType, String) Constructor

Creates a new instance of the AppearanceAttribute using the specified parameters.

Namespace: DevExpress.ExpressApp.ConditionalAppearance

Assembly: DevExpress.Persistent.Base.v19.2.dll

Declaration

public AppearanceAttribute(
    string id,
    AppearanceItemType appearanceItemType,
    string criteria
)
Public Sub New(
    id As String,
    appearanceItemType As AppearanceItemType,
    criteria As String
)
public AppearanceAttribute(
    string id,
    AppearanceItemType appearanceItemType,
    string criteria
)
Public Sub New(
    id As String,
    appearanceItemType As AppearanceItemType,
    criteria As String
)
public AppearanceAttribute(
    string id,
    AppearanceItemType appearanceItemType,
    string criteria
)
Public Sub New(
    id As String,
    appearanceItemType As AppearanceItemType,
    criteria As String
)

Parameters

Name Type Description
id String

A string that is the unique identifier for the appearance rule created using the current attribute instance.

appearanceItemType AppearanceItemType

An AppearanceItemType enumeration value specifying the type of UI elements affected by the conditional appearance rule that is created using the current attribute instance.

criteria String

A string that is the criterion for activation of the rule created using the current attribute instance.

Parameters

Name Type Description
id String

A string that is the unique identifier for the appearance rule created using the current attribute instance.

appearanceItemType AppearanceItemType

An AppearanceItemType enumeration value specifying the type of UI elements affected by the conditional appearance rule that is created using the current attribute instance.

criteria String

A string that is the criterion for activation of the rule created using the current attribute instance.

Parameters

Name Type Description
id String

A string that is the unique identifier for the appearance rule created using the current attribute instance.

appearanceItemType AppearanceItemType

An AppearanceItemType enumeration value specifying the type of UI elements affected by the conditional appearance rule that is created using the current attribute instance.

criteria String

A string that is the criterion for activation of the rule created using the current attribute instance.

Remarks

This constructor sets the following attribute properties:

The remaining properties can be specified using the constructor's named parameters.

To learn how to define a rule using the Appearance attribute, refer to the Declare Conditional Appearance Rules in Code topic.

See Also