Skip to main content
.NET Framework 4.6.2+

IModelAction.PaintStyle Property

Specifies the Action‘s paint style.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v24.2.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.

Remarks

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

The following table shows the available paint styles:

Enumeration Value

Illustration

Caption

ActionBasePaintStyleCaption

CaptionAndImage

ActionBasePaintStyleCaptionImage

Image

ActionBasePaintStyleImage

Default

in WinForms applications: Image
in ASP.NET Web Forms applications: Image
in ASP.NET Core Blazor applications: CaptionAndImage

Note

WinForms applications with the Ribbon FormStyle ignore this property. In these applications, Actions always show both image and caption.

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

See Also