Skip to main content
.NET 8.0+

DevExpress v25.1 Update — Your Feedback Matters

Our What's New in v25.1 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

IModelAction.PaintStyle Property

Specifies the Action‘s paint style.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v25.1.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

[DefaultValue(ActionItemPaintStyle.Default)]
ActionItemPaintStyle PaintStyle { get; set; }

#Property Value

Type Default Description
ActionItemPaintStyle Default

An ActionItemPaintStyle enumeration value that specifies the Action’s paint style.

Available values:

Name Description Image
Default

The default value is Image for WinForms and ASP.NET Web Forms applications, and CaptionAndImage for ASP.NET Core Blazor applications.

Caption

An Action is displayed in the UI as a caption.

ActionBasePaintStyleCaption

CaptionAndImage

An Action is displayed in the UI as an image and a caption.

ActionBasePaintStyleCaptionImage

Image

An Action is displayed in the UI as an image.

ActionBasePaintStyleImage

#Remarks

To specify this property, invoke the Model Editor and navigate to an ActionDesign | Actions | <Action> node:

PlainStyle property in Model Editor

You can also specify this property in code. For more information, refer to the ActionBase.PaintStyle property description.

See Also