ClassShading
Configures background shading for document elements, combining a solid background color with an optional patterned foreground overlay.
Definition
Namespace:Telerik.Windows.Documents.Flow.Model.Styles
Assembly:Telerik.Windows.Documents.Flow.dll
Syntax:
public class Shading
Inheritance: objectShading
Constructors
Shading(IPropertiesWithShading)
Initializes a new instance of the Shading class.
Declaration
public Shading(IPropertiesWithShading properties)
Parameters
properties
Properties implementing IPropertiesWithShading interface.
Properties
BackgroundColor
Controls the solid background fill color behind the element's content, supporting theme-aware colors.
Declaration
public ThemableColor BackgroundColor { get; set; }
Property Value
The color of the background.
Pattern
Specifies the fill pattern style overlaid on the background, determining how the pattern color blends with the background; defaults to Clear.
Declaration
public ShadingPattern Pattern { get; set; }
Property Value
The default value is Clear
PatternColor
Controls the foreground color of the shading pattern overlaid on the background, supporting theme-aware colors.
Declaration
public ThemableColor PatternColor { get; set; }
Property Value
The color of the pattern.