Skip to main content
A newer version of this page is available. .

DiagramEffect Class

Provides access to effects that you can use to customize the appearance of diagram items.

Namespace: DevExpress.Diagram.Core.Themes

Assembly: DevExpress.Diagram.v20.2.Core.dll

NuGet Packages: DevExpress.Diagram.Core, DevExpress.WindowsDesktop.Diagram.Core

Declaration

public class DiagramEffect

Remarks

The DiagramTheme.EffectCollection property provides access to the collection of effects that defines how colors are used in the theme. It returns an object of the DiagramEffectCollection type that has the following properties:

  • DiagramEffectCollection.ThemeEffects - Provides access to the collection of effects that can be applied to shapes and are displayed in the “Theme Styles” ribbon group. This collection contains exactly 6 elements.
  • DiagramEffectCollection.VariantEffects - Provides access to the collection of effects that can be applied to shapes and are displayed in the “Variant Styles” ribbon group. This collection contains exactly 4 elements.
  • DiagramEffectCollection.ConnectorEffects - Provides access to the collection of effects that can be applied to connectors. This collection contains exactly 3 elements.

Refer to the following topics for more information:

Inheritance

Object
DiagramEffect
See Also