Class Shading
Configures background shading for document elements, combining a solid background color with an optional patterned foreground overlay.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Styles
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public class Shading
Constructors
Shading(IPropertiesWithShading)
Initializes a new instance of the Shading class.
Declaration
public Shading(IPropertiesWithShading properties)
Parameters
|
IPropertiesWithShading
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
|
ThemableColor
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
|
ShadingPattern
The default value is |
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
|
ThemableColor
The color of the pattern. |