Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AppearanceAttribute(String, String) Constructor

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

Namespace: DevExpress.ExpressApp.ConditionalAppearance

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

#Declaration

public AppearanceAttribute(
    string id,
    string criteria
)

#Parameters

Name Type Description
id String

A string that is the unique identifier for the appearance rule 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